Uploaded image for project: 'CloudStack'
  1. CloudStack
  2. CLOUDSTACK-1610

Baremetal API addBaremetalPxeKickStartServer fail to prepare PXE server causing create instance with Kickstart style image to fail

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 4.2.0
    • 4.2.0
    • Security Level: Public (Anyone can view this level - this is the default.)
    • None

    Description

      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

      Attachments

        1. Screenshot-CloudStack - Mozilla Firefox.png
          117 kB
          angeline shen
        2. Screenshot-CloudStack - Mozilla Firefox.png
          104 kB
          angeline shen
        3. management-server.log.gz
          113 kB
          angeline shen
        4. management-server.log.2013-03-07.gz
          534 kB
          angeline shen

        Activity

          People

            yasker Sheng Yang
            angelines angeline shen
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: