admin password is not set on instance create

Bug #900591 reported by Dan Prince
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Critical
Dan Prince

Bug Description

Using the latest Essex master build on XenServer:

Admin password is not currently set on instance create.

If I log into the instance (via file injection) the agent log has no reference of the password command being executed:

2011-12-05 22:07:11,400 [INFO] Agent started
2011-12-05 22:07:11,404 [INFO] Received command 'version' with argument: ''
2011-12-05 22:07:11,404 [INFO] 'version' completed with code '0', message '0.0.1.31'
2011-12-05 22:07:12,406 [INFO] Received command 'features' with argument: ''
2011-12-05 22:07:12,406 [INFO] 'features' completed with code '0', message 'kmsactivate,resetnetwork,version,keyinit,features,agentupdate,password,injectfile'
2011-12-05 22:07:16,410 [INFO] Received command 'injectfile' with argument: 'L3Jvb3QvLnNzaC9hdXRob3JpemVkX2tleXMsc3NoLXJzYSBBQUFBQjNOemFDMXljMkVBQUFBREFRQUJBQUFCQVFDcDVXVGVNYnNtQ2RVTGxUTkFxcDVJcjBvM25jdDhVT2FUeVBIcW1CdlpzdHdiYUlCSmcxM253N1U5TU0wb3ZDOHpOWnR6cGVoMWVKdy9vZHpKSFNpYkVlclZPOCtwbDFscndXc0xCdUd6VVJnUU9LL24rV1c0ZGFMYUw4aFBGYzFKMEFFL2tHR2E4Q1ErZUpuZ2FOVll4UFpEZThnQ0NBcTFpeDVmSnFJdXdlcVVGYkRBVWdCZDRRM2ZPRDFJRlVVdFZxSEZSd093Wlh6OGFCNC9Oc0RHSHdWK2cydFBGV0pYNDdtMW9saDdnRDh2b0dCaWlNU3MwQ3QydXdLWnV6dWMrRUdSTzQvVXg4bzFTcmhKZlJSZGNGWjZ6ZC9FbEpxOVRKWllDbHRETWxseVpkVXJRaDVxTk5DR3FqSWlFVkJrM09FTjhxb1VlaFZLY1M4YzE4b1Ygcm9vdEBub3ZhMQo='
2011-12-05 22:07:16,431 [INFO] 'injectfile' completed with code '0', message ''
2011-12-05 22:07:19,434 [INFO] Received command 'resetnetwork' with argument: ''
2011-12-05 22:07:19,457 [INFO] writing /etc/network/interfaces
2011-12-05 22:07:19,457 [INFO] writing /etc/hosts
2011-12-05 22:07:19,458 [INFO] writing /etc/hostname
2011-12-05 22:07:19,458 [INFO] skipping /etc/resolv.conf (no changes)
2011-12-05 22:07:19,557 [INFO] 'resetnetwork' completed with code '0', message ''

Dan Prince (dan-prince)
Changed in nova:
importance: Undecided → Critical
status: New → In Progress
assignee: nobody → Dan Prince (dan-prince)
Revision history for this message
Openstack Gerrit (openstack-gerrit) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/2093
Committed: http://github.com/openstack/nova/commit/f0e6bea08acd313d7d9acb0401a14befe1a31e43
Submitter: Jenkins
Branch: master

 status fixcommitted
 done

commit f0e6bea08acd313d7d9acb0401a14befe1a31e43
Author: Dan Prince <email address hidden>
Date: Mon Dec 5 22:46:47 2011 -0500

    Make admin_password keyword in compute manager run_instance method match
    what we send in the compute API. Fixes bug #900591.

    Change-Id: I857b7787189d454e8ed17a43654d6bf944da003e

Changed in nova:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in nova:
milestone: none → essex-2
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in nova:
milestone: essex-2 → 2012.1
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.