IPA fails to pull image after devstack node reboot
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ironic |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
When an instance is launched, the server boots, pulls the ramdisk image successfully. Reboots, IPA tries to pull the image and fails to do so.
This happens with devstack deployment.
This failure occurs only after the openstack controller is rebooted. Unstack/stack clears the issue.
To reproduce this - follow these steps:
1) Do a fresh install of devstack
2) Launch a server - check that it boots fine and attaches to the tenant network
3) Now reboot the openstack controller node
4) repeat step 2 and you will see that IPA will fail to fetch the image. The failure is related to swift timing out the url (and or authentication)
See the following paste for the detailed logs of the error:
http://
Changed in ironic: | |
status: | New → Won't Fix |
summary: |
- IPA fails to pull image after reboot + IPA fails to pull image after devstack node reboot |
Could you please see if a swift disk image is mounted?
$ cat /etc/mtab data/drives/ sdb1 xfs rw,noatime, nodiratime, nobarrier, logbufs= 8 0 0
:
/dev/loop2 /opt/stack/
I've heard that it is necessary to mount swift disk image manually after reboot a server built with DevStack. devstack. log.
You can mount the disk image with the following command, which can be seen in /opt/stack/
$ sudo mount -t xfs -o loop,noatime, nodiratime, nobarrier, logbufs= 8 /opt/stack/ data/swift/ drives/ images/ swift.img /opt/stack/ data/swift/ drives/ sdb1