There is no ip with my "cirros" instance

asked 2016-02-02 09:42:58 -0600

sunstack gravatar image

updated 2016-02-02 17:09:40 -0600

I have created one "cirros" instance on my compute node,but no ip address.

Show details: 1:

[root@compute ~]# nova show 6b8ac881-ebf5-4fa9-9939-8d827406cdd4
+--------------------------------------+----------------------------------------------------------+
| Property                             | Value                                                    |
+--------------------------------------+----------------------------------------------------------+
| OS-DCF:diskConfig                    | AUTO                                                     |
| OS-EXT-AZ:availability_zone          | nova                                                     |
| OS-EXT-SRV-ATTR:host                 | compute                                                  |
| OS-EXT-SRV-ATTR:hypervisor_hostname  | compute                                                  |
| OS-EXT-SRV-ATTR:instance_name        | instance-00000016                                        |
| OS-EXT-STS:power_state               | 1                                                        |
| OS-EXT-STS:task_state                | -                                                        |
| OS-EXT-STS:vm_state                  | active                                                   |
| OS-SRV-USG:launched_at               | 2016-02-02T13:29:55.000000                               |
| OS-SRV-USG:terminated_at             | -                                                        |
| accessIPv4                           |                                                          |
| accessIPv6                           |                                                          |
| config_drive                         |                                                          |
| created                              | 2016-02-02T13:29:48Z                                     |
| flavor                               | m1.tiny (1)                                              |
| hostId                               | dc28549dd7ea62635f4c6da7a6ae47ca58236d7ed8085842029b4730 |
| id                                   | 6b8ac881-ebf5-4fa9-9939-8d827406cdd4                     |
| image                                | cirros (83f05771-9af8-45d0-ad5c-1985c54417f2)            |
| key_name                             | mykey                                                    |
| metadata                             | {}                                                       |
| name                                 | 1                                                        |
| os-extended-volumes:volumes_attached | []                                                       |
| progress                             | 0                                                        |
| public network                       | 10.0.3.67                                                |
| security_groups                      | default                                                  |
| status                               | ACTIVE                                                   |
| tenant_id                            | d574fe90d85042d58acf003b104d443f                         |
| updated                              | 2016-02-02T13:29:56Z                                     |
| user_id                              | c9d2e2c7bbea43aba1e3976f14dedd0e                         |
+--------------------------------------+----------------------------------------------------------+


2:
6: tap15bc2088-ff: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master brq00a671ce-d5 state UNKNOWN qlen 500
    link/ether fe:16:3e:08:a4:97 brd ff:ff:ff:ff:ff:ff
    inet6 fe80::fc16:3eff:fe08:a497/64 scope link 
       valid_lft forever preferred_lft forever
8: tap28faf99b-ff: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master brq00a671ce-d5 state UNKNOWN qlen 500
    link/ether fe:16:3e:61:c7:ba brd ff:ff:ff:ff:ff:ff
    inet6 fe80::fc16:3eff:fe61:c7ba/64 scope link 
       valid_lft forever preferred_lft foreve
3:
[root@controller ~]# nova list
+--------------------------------------+------+--------+------------+-------------+------------------+
| ID                                   | Name | Status | Task State | Power State | Networks         |
+--------------------------------------+------+--------+------------+-------------+------------------+
| 6b8ac881-ebf5-4fa9-9939-8d827406cdd4 | 1    | ACTIVE | -          | Running     | public=10.0.3.67 |
| 0bb176a5-24eb-437c-bd6b-88ccc7cc9276 | 2    | ACTIVE | -          | Running     | public=10.0.3.68 |
edit retag flag offensive close merge delete

Comments

Cant understand what the question really is? Instances not getting ips? You created an instance without creating IPs but IPs are created? (This is the spected behavior when instances are spawned)

Eduardo Gonzalez gravatar imageEduardo Gonzalez ( 2016-02-02 17:13:12 -0600 )edit

The instance eth0 does not obtain an ip address.

sunstack gravatar imagesunstack ( 2016-02-03 00:02:56 -0600 )edit