Commit Graph

51 Commits

Author SHA1 Message Date
Qiu Jian
bea0dca0c5 fix: allow multi-guest-dhcp 2019-10-24 00:46:47 +08:00
Qiu Jian
3c9c3ad164 feature: support fetch baremetal uuid and use uuid to identify baremetal 2019-10-22 10:33:15 +08:00
Qiu Jian
42ed1f7961 feature: baremetal support iso operation 2019-10-21 01:07:49 +08:00
Qiu Jian
7e02839d67 add doc and copyright 2019-10-16 14:08:57 +08:00
Qiu Jian
bdcfabb722 fix: baremetal prepare updates nic_info incrementally 2019-09-16 23:57:31 +08:00
TangBin
d2fa217cab mcclient module base 2019-09-07 22:56:47 +08:00
wanyaoqi
a45773f1e5 fix baremetal attach network 2019-07-23 18:16:30 +08:00
wanyaoqi
f6a82d5046 bugfix: baremetal import , guest panic notify
- reset baremetal access ip on baremetal rebuild
- add guest panic notify template
2019-07-23 16:13:07 +08:00
wanyaoqi
acf15b6a1d baremetal listen dhcp port 2019-06-27 16:38:47 +08:00
wanyaoqi
d399ca8d71 make dhcp server port optional 2019-06-24 20:56:07 +08:00
wanyaoqi
7371f1ca55 dhcp use raw socket
vendor update
update golang/x/sys
2019-06-21 13:42:37 +08:00
Jian Qiu
d685bd2f15 fix: baremetal support options for tftp timeout retry times and block (#344)
size
2019-04-11 20:47:10 +08:00
Jian Qiu
d8d29390bd fix: limit baremetal tftp MaxBlockSize to 512 (#322) 2019-04-10 17:41:09 +08:00
Jian Qiu
53570fd78a fix: 1. baremetal always boot from pxe 2. baremetal prepare retry (#307)
multiple local ipmi address
2019-04-10 11:45:10 +08:00
Zexi Li
4e47cf332e baremetal-agent: fix host undo convert duplicate access_mac error (#300) 2019-04-09 21:07:11 +08:00
Qiu Jian
004d9b6f95 update copyright headers of all source 2019-03-29 14:47:48 +08:00
Zexi Li
ab0d45a24f 修复 baremetal 创建的一系列问题:
1. dhcp 并发请求冲突
2. 调度 storage 不适配
3. 获取 login info 字段不正确
2019-03-26 16:08:06 +08:00
Zexi Li
076ad985cc move consts to apis 2019-03-20 12:08:15 +08:00
邱剑
68f4e5e425 Automatic merge from release/2.7.0 -> release/2.8.0
* commit '4922d3a8769c9a0c878046f9ac25db39b643dcfc':
  fix: baremetal tftp use local IP send response
2019-03-19 19:53:25 +08:00
邱剑
4922d3a876 Automatic merge from release/2.6.0 -> release/2.7.0
* commit '3ebe726100146b764598dbde96c546703e44d719':
  fix: baremetal tftp use local IP send response
2019-03-19 19:53:25 +08:00
Zexi Li
a92f781a2e fix: baremetal tftp use local IP send response 2019-03-19 19:44:08 +08:00
wanyaoqi
53ece34f3b merge const pkg from cloudcommon to compute 2019-03-17 11:21:17 +08:00
wanyaoqi
e0ee2b8c59 fix package dependence 2019-03-15 11:45:56 +08:00
邱剑
1042edc5ac Automatic merge from release/2.7.0 -> release/2.8.0
* commit '8ffa110034e7bb680a6bba83c89dee1a355903e7':
  treewide: group imports with goimports
  fix disk resize
2019-03-13 21:36:22 +08:00
Yousong Zhou
4c82dae39b Merge remote-tracking branch 'origin/release/2.6.0' into bugfix/yousong-goimports-270 2019-03-13 13:33:51 +00:00
Yousong Zhou
8fe4f2ec98 treewide: group imports with goimports
./goimports -w -local yunion.io/x/onecloud/ -corp yunion.io/x/ $GOPATH/src/yunion.io/x/onecloud/{cmd,pkg}
2019-03-13 10:46:12 +00:00
wanyaoqi
3f8e3988da fix dhcp server 2019-03-11 17:51:51 +08:00
周有松
33c98697f5 Automatic merge from release/2.6.0 -> release/2.7.0
* commit '641db5ae2d6cfef4ef24279f6b548706a93ab24b':
  fix: baremetal pxeboot fail to find record of preregistered baremetal
2019-03-10 13:52:16 +08:00
Qiu Jian
6646ec8936 fix: baremetal pxeboot fail to find record of preregistered baremetal 2019-03-08 21:36:46 +08:00
周有松
7a1acc9f01 Automatic merge from release/2.6.0 -> release/2.7.0
* commit '5f42063e04d8b23fbae8e995cc691a079d8b8f1c':
  minor fixes
  fix: 1. host start works for baremetal server with guest 2. fix host-syncstatus  3. baremetal may answer pxe request for hypervisors
2019-03-07 14:42:10 +08:00
Qiu Jian
6aaa82b7c3 minor fixes 2019-03-07 01:56:23 +08:00
Qiu Jian
b8bd9b1fbe fix: 1. host start works for baremetal server with guest 2. fix
host-syncstatus  3. baremetal may answer pxe request for hypervisors
2019-03-07 01:52:44 +08:00
邱剑
76a2d5b949 Automatic merge from release/2.6.0 -> release/2.7.0
* commit 'f59ab15821908b80822b12629dc2cab6dd19861e':
  fix adminCredential is nil
  set baremetal dhcp listen address
  - procutils: default setsid
  add verify server
2019-03-05 23:12:36 +08:00
wanyaoqi
5aeab50374 - procutils: default setsid
- dhcpconn: socket opt set flag FD_CLOEXEC
	    socket conn add broadcast options,
	    can disable broadcast if you want
2019-03-05 11:28:57 +08:00
Zexi Li
aeac6234d9 修复: 非baremetal类型的物理机 PXE 启动会被错误更新 2019-02-28 21:09:24 +08:00
Qiu Jian
c0c8817459 baremetal and host request IP from on premise network 2019-02-19 19:11:56 +08:00
Zexi Li
79d5e74ea9 mv: pkg/cloudcommon/dhcp -> pkg/util/dhcp 2019-02-12 16:09:53 +08:00
Qiu Jian
6f8ce3b32d Merge branch 'release/2.6.0' of ssh://git.yunion.io/~qiujian/onecloud into feature/qj-network-type-pxe-ipmi
Conflicts:
	cmd/climc/shell/networks.go
2019-01-30 22:19:29 +08:00
Qiu Jian
29d0f3cfed fix: baremetal dhcp request filter networks with private cloud ONLY 2019-01-30 20:55:22 +08:00
Qiu Jian
77b95af988 feature:
1. change SERVER_TYPE_* to NETWORK_TYpE_*
2. add NETWORK_TYPE_PXE and NETWORK_TYPE_IPMI specifically for baremetal PXE and IPMI
network allocation
2019-01-29 23:38:15 +08:00
Zexi Li
dd4c1fe0ae types struct 符合命名规范 2019-01-28 10:06:56 +08:00
wanyaoqi
0e86ae858c fix dhcp server 2019-01-26 15:04:44 +08:00
wanyaoqi
cdf2d485d5 complete remaining code exculde rbd, nfs, snapshot recyle, rootfs 2019-01-23 14:22:12 +08:00
Zexi Li
da2854d66f baremetal bugfix:
* raid bugfix
* dhcp refactor
2019-01-22 11:22:09 +08:00
Zexi Li
fc69dd470b - baremetal server create
- baremetal partition
- guest deploy fs
2019-01-07 17:09:57 +08:00
wanyaoqi
4f5984dbba temp commit, hostinfo compile passed 2019-01-07 17:09:56 +08:00
Zexi Li
63abe548bc * move utils path
* update vendor
2019-01-07 17:07:03 +08:00
Zexi Li
78fb5a9cdc baremetal prepare 2019-01-07 17:06:29 +08:00
Zexi Li
732ef80270 - support relay address
- ssh util
- baremetal tasks
2019-01-07 17:05:33 +08:00
Zexi Li
67a93751fc baremetal register 2019-01-07 17:05:12 +08:00