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@dhcp-10-128-11-58 tmp]# nova get-password 
d4d50c07-cb2b-4be8-839f-149c09cd6365  /tmp/demo_key_pair_2.pem

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


[root@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@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]

_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to     : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack

Reply via email to