You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Sheng Yang (JIRA)" <ji...@apache.org> on 2013/06/21 19:05:20 UTC

[jira] [Resolved] (CLOUDSTACK-1610) Baremetal API addBaremetalPxeKickStartServer fail to prepare PXE server causing create instance with Kickstart style image to fail

     [ https://issues.apache.org/jira/browse/CLOUDSTACK-1610?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sheng Yang resolved CLOUDSTACK-1610.
------------------------------------

    Resolution: Fixed

Fixed at:

commit a6a49490fbcc344f8a37d8c2ef0254da3ae39d89
Author: Sheng Yang <sh...@citrix.com>
Date:   Tue Jun 18 14:04:05 2013 -0700

    Fix baremetal functionality
    
    1. Baremetal doesn't have secondary storage, so we don't need check them.
    
    2. The new "AddBaremetalHostCmd" hasn't been used by UI, so keep the validity
    checking out for now. "AddHostCmd" would still works.
    
    3. Baremetal haven't implemented multiple ip range feature(CLOUDSTACK-702),
    return true for now for single range.

                
> 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.2.0
>            Reporter: angeline shen
>            Assignee: Sheng Yang
>            Priority: Blocker
>             Fix For: 4.2.0
>
>         Attachments: management-server.log.2013-03-07.gz, management-server.log.gz, Screenshot-CloudStack - Mozilla Firefox.png, Screenshot-CloudStack - Mozilla Firefox.png
>
>
> 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