RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1316563 - rhel-guest-image 6.8 fail to access user data
Summary: rhel-guest-image 6.8 fail to access user data
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: guest-images
Version: 6.8
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: rc
: 6.8
Assignee: Ryan Barry
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-03-10 13:36 UTC by Ilanit Stein
Modified: 2017-01-05 02:42 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-01-05 02:42:17 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
rhel-guest-image guest 1st screen shot (27.42 KB, image/png)
2016-03-10 15:45 UTC, Ilanit Stein
no flags Details
rhel-guest-image guest 2nd screen shot (27.56 KB, image/png)
2016-03-10 15:45 UTC, Ilanit Stein
no flags Details
rhel-guest-image guest 3rd screen shot (37.07 KB, image/png)
2016-03-10 15:46 UTC, Ilanit Stein
no flags Details

Description Ilanit Stein 2016-03-10 13:36:03 UTC
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):
rhel-guest-image-6.8-20160304.0.el6
rhevm 3.6.3-5 (3.6 GA)

How reproducible:
100%

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.

Additional info:
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.

Comment 2 Ryan Barry 2016-03-10 13:51:12 UTC
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.

Comment 3 Ilanit Stein 2016-03-10 15:45:32 UTC
Created attachment 1134934 [details]
rhel-guest-image guest 1st screen shot

Comment 4 Ilanit Stein 2016-03-10 15:45:55 UTC
Created attachment 1134935 [details]
rhel-guest-image guest 2nd screen shot

Comment 5 Ilanit Stein 2016-03-10 15:46:30 UTC
Created attachment 1134936 [details]
rhel-guest-image guest 3rd screen shot

Comment 6 Ryan Barry 2016-03-10 17:02:56 UTC
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.

Comment 7 Ryan Barry 2016-03-10 19:37:11 UTC
This is resolved in the latest image (20160310.0)

Comment 9 Ilanit Stein 2016-03-21 10:28:43 UTC
Moving need info to Sefi, as he tested it.

Comment 11 Wei Shi 2016-03-22 06:33:34 UTC
Change status to VERIFIED per c10


Note You need to log in before you can comment on or make changes to this bug.