idcos / cloudboot Goto Github PK
View Code? Open in Web Editor NEWDocument
Home Page: http://idcos.github.io/osinstall-doc
License: Other
Document
Home Page: http://idcos.github.io/osinstall-doc
License: Other
登录web页面的时候,提示报错信息: 登录失败: securecookie: expired timestamp
服务器时间检查过没有问题,也检查过服务的状态。
http://www.idcos.com/opensource/cloudboot-open-source
turn 500
I can't get the update package, is it not maintained?
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
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' }
请问命令行 做 查询、部署、删除等操作的文档在哪可以看
请问什么时候能支持uefi启动?现在大部分新机器默认都是uefi启动,这样装机的话,都需要去更改,
在设备列表中,新增一个状态,默认情况下添加好新设备,不直接进入等待安装状态,仅仅是添加进来后查看。根据实际情况的需要,才改变该设备的状态为等待安装状态。
当前浏览器只支持Chrome,建议在文档中说明
由于无法访问外网,请看看如何在内网安装gb,另外os-install-server是否可以提供已经编译好的可执行文件?
你好。。可以支持Windows吗?
是不是可以修改下,API重装时候可以指定模板参数例如:分盘参数,系统密码,远程端口。
还有支持下Windows2003 需求还是很大的。
参考部署文档,BootOS驱动更新时需要将rpm包离线安装到BootOS里面。
我使用chroot rpm时提示 / 空间不足,无法安装。
可以提供下具体的离线安装方法吗?非常感谢!
我们现在的机房里有很多非支持厂商的服务器,如果想自行做适配要如何在下拉菜单里新增其他厂商能?
[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]#
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
v1.1及以下的版本中,Server端生成的PXE配置文件权限不对,没有读的权限,导致装机过程会终端掉
现已在develop分支中解决该问题,v1.2的master会合并进来
Big companies laughing to death with Alibaba Cloud
2.Deploy Server
Install Go
wget https://storage.googleapis.com/golang/go1.5.2.src.tar.gz
cp go1.5.2.src.tar.gz /home//
tar xf go1.5.2.src.tar.gz
cd go/src/ && ./make.bash
执行Compile时提示:
[root@mq1 src]# ./make.bash
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
请求指导。。。。
服务器一般都会有多张网卡,每张网卡都会有不同的需求:业务、跳板机、大数据等,CloudBoot是否考虑支持多网卡配置功能
查看日志,
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
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!
是不是可以考虑简化组件,我的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
如题,
服务器型号: Dell T640
网卡型号:BCM57416
报错:
不清楚是否是Bootos网卡驱动导致,搜索Dell论坛发现有相关补丁修复BCM57416 pxe引导失败的补丁
https://www.dell.com/support/home/zh-cn/drivers/driversdetails?driverid=gcc9r
盼回复 thanks.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.