Red Hat Bugzilla – Bug 1316563
rhel-guest-image 6.8 fail to access user data
Last modified: 2017-01-04 21:42:17 EST
Description of problem:
rhel-guest-image-6.8-20160304.0.el6 fail to access user data:
When guest comes up, there are warning:
"Failed to mount /dev/fd0 when looking for user data"
"Failed accessing user data"
and when finally reach the login stage,
the user/password set in cloud-init do not work.
Version-Release number of selected component (if applicable):
rhevm 3.6.3-5 (3.6 GA)
Steps to Reproduce:
1. Install the rhel-guest-image-6.8-20160304.0.el6 rpm on rhevm machine.
2. Created an ovf zip file from the images + master directories.
3. Uploaded it with engine-image-uploader to export domain
4. Imported the template
5. Created a VM, added network interface.
6. Edit VM->Intial-run: Define user, password
7. Run the VM.
On same rhevm setup, same flow, for rhel-guest-image-6.7-20160301.1.x86_64,
there is no such a problem, and the user/password set in the cloud-init are applied on the guest, and login succeeds.
I'll take a look at this today. Possibly a cloud-init bug?
This works as expected when cloud-init data is passed from a metadata server, but I'll investigate.
Created attachment 1134934 [details]
rhel-guest-image guest 1st screen shot
Created attachment 1134935 [details]
rhel-guest-image guest 2nd screen shot
Created attachment 1134936 [details]
rhel-guest-image guest 3rd screen shot
A very old version of cloud-init was present in the image.
There was a beta recompose, and the image needs to be rebuilt today. Release engineering is fixing the tag inheritance, and we should pull in the latest cloud-init. I'll verify that this works before handing the image over.
This is resolved in the latest image (20160310.0)
Moving need info to Sefi, as he tested it.
Verified in last run:
Change status to VERIFIED per c10