[Openstack] nova "get-password " returns blank line

Jean-Pierre Ribeauville jpribeauville at axway.com
Wed Jun 15 16:38:41 UTC 2016


Hi,

I'm trying to use nova get-password command.

My centos-1  (using the "standard" CentOS OpenStack image) is running  find and I'm able to log via ssh   by using centos user and a key pair.
But, the following command returns a blank line:


[root at dhcp-10-128-11-58 tmp]# nova get-password d4d50c07-cb2b-4be8-839f-149c09cd6365  /tmp/demo_key_pair_2.pem

[root at dhcp-10-128-11-58 tmp]#


[root at dhcp-10-128-11-58 tmp]# nova list
+--------------------------------------+-------------+---------+------------+-------------+---------------------------------+
| ID                                   | Name        | Status  | Task State | Power State | Networks                        |
+--------------------------------------+-------------+---------+------------+-------------+---------------------------------+
| d4d50c07-cb2b-4be8-839f-149c09cd6365 | centos-1    | ACTIVE  | -          | Running     | priv_net=10.0.0.9|
+--------------------------------------+-------------+---------+------------+-------------+---------------------------------+
[root at dhcp-10-128-11-58 tmp]# nova show centos-1
+--------------------------------------+----------------------------------------------------------+
| Property                             | Value                                                    |
+--------------------------------------+----------------------------------------------------------+
| OS-DCF:diskConfig                    | AUTO                                                     |
| OS-EXT-AZ:availability_zone          | Zone_OmniVision                                          |
| OS-EXT-STS:power_state               | 1                                                        |
| OS-EXT-STS:task_state                | -                                                        |
| OS-EXT-STS:vm_state                  | active                                                   |
| OS-SRV-USG:launched_at               | 2016-06-07T08:03:10.000000                               |
| OS-SRV-USG:terminated_at             | -                                                        |
| accessIPv4                           |                                                          |
| accessIPv6                           |                                                          |
| config_drive                         |                                                          |
| created                              | 2016-06-07T08:01:15Z                                     |
| flavor                               | m1.small (2)                                             |
| hostId                               | 432b4adb749292bc8dba1ec6d5354d2bd4b23392adaa6ebede6de8c1 |
| id                                   | d4d50c07-cb2b-4be8-839f-149c09cd6365                     |
| image                                | CentOS-7 (24ecdf69-e507-46c4-a151-24a7ad7d98c1)          |
| key_name                             | demo_key_pair_2                                          |
| metadata                             | {}                                                       |
| name                                 | centos-1                                                 |
| os-extended-volumes:volumes_attached | []                                                       |
| priv_net network                     | 10.0.0.9                                        |
| progress                             | 0                                                        |
| security_groups                      | demo                                                     |
| status                               | ACTIVE                                                   |
| tenant_id                            | ef3ecf8618e24130b2cd8adab8e17310                         |
| updated                              | 2016-06-15T15:20:55Z                                     |
| user_id                              | da49c3189eaf40b28893b422b60cc73e                         |
+--------------------------------------+----------------------------------------------------------+

Did I misunderstand something or should I get the centos password ?

Thx for help.

Regards,

Jean-Pierre RIBEAUVILLE

+33 1 4717 2049

[axway_logo_tagline_87px]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20160615/431f9a3d/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 11720 bytes
Desc: image001.png
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20160615/431f9a3d/attachment.png>


More information about the Openstack mailing list