angeline shen created CLOUDSTACK-1610: -----------------------------------------
Summary: Baremetal API addBaremetalPxeKickStartServer fail to
prepare PXE server causing create instance with Kickstart style image to fail
Key: CLOUDSTACK-1610
URL: https://issues.apache.org/jira/browse/CLOUDSTACK-1610
Project: CloudStack
Issue Type: Bug
Security Level: Public (Anyone can view this level - this is the default.)
Components: Baremetal, Management Server
Affects Versions: 4.1.0
Reporter: angeline shen
Assignee: frank zhang
Priority: Blocker
Fix For: 4.1.0
1. Install MS . setup host IPMI. Enable PXE on baremetal host
2. Create baremetal image on NFS server
3. Deploy basic zone with baremetal.
4. curl
"http://localhost:8096/?command=addBaremetalHost&zoneid=403d8b3d-fe32-4fbb-b6dd-4592a21f503e&podid=4881c4b1-fb33-42b0-87ba-b900721d2871&clusterid=319febb1-2d9d-425e-87a6-d017df85a575&hypervisor=BareMetal&clustertype=CloudManaged&hosttags=large&username=root&password=calvin&url=http%3A%2F%2F10.223.103.48&cpunumber=1&cpuspeed=2600&memory=16384&hostmac=bc:30:5b:d4:60:af"
curl
"http://localhost:8096/?command=addBaremetalPxeKickStartServer&physicalnetworkid=f5dbcd99-5656-4b82-b5d5-b1e2f91eec62&podid=4881c4b1-fb33-42b0-87ba-b900721d2871&url=http://10.223.51.11&username=root&password=password&pxeservertype=KICK_START&tftpdir=/var/lib/tftpboot"
curl
"http://localhost:8096/?command=addBaremetalDhcp&physicalnetworkid=f5dbcd99-5656-4b82-b5d5-b1e2f91eec62&podid=4881c4b1-fb33-42b0-87ba-b900721d2871&url=http://10.223.51.11&dhcpservertype=DHCPD&url=http://10.223.51.11&username=root&password=password"
5. Deploy Baremetal instance fail with error:
Resource [Host:3] is unreachable: Host 3: Unable to start instance due to
Cannot prepare pxe server
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
