← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1740241] [NEW] Creating instance without IP

 

Public bug reported:

I'am trying to deploy DVR Multi-node + Provider network openstack
configuration. So I have 3 nodes - Controller(All-in-one), Compute node
and Network node. I created private network, where I launch my
instances. The problem is when I am trying to launch instance on my
compute node it's creating without Network IP. I'am using Openstack CLI
to launch instance. So, command look like this:

$ openstack server create --image cirros-0.3.4-x86_64-uec --flavor 1
--nic net-id=13e6c93a-0b87-4b18-9f44-7c9d78682a80 --availability-zone
nova:gzimin-dev2 deb11_dev2

As a result i get:

$ openstack server show deb11_dev2
+-------------------------------------+----------------------------------------------------------------+
| Field                               | Value                                                          |
+-------------------------------------+----------------------------------------------------------------+
| OS-DCF:diskConfig                   | MANUAL                                                         |
| OS-EXT-AZ:availability_zone         | nova                                                           |
| OS-EXT-SRV-ATTR:host                | gzimin-dev2                                                    |
| OS-EXT-SRV-ATTR:hypervisor_hostname | gzimin-dev2                                                    |
| OS-EXT-SRV-ATTR:instance_name       | instance-00000034                                              |
| OS-EXT-STS:power_state              | Running                                                        |
| OS-EXT-STS:task_state               | None                                                           |
| OS-EXT-STS:vm_state                 | active                                                         |
| OS-SRV-USG:launched_at              | 2017-12-26T10:01:59.000000                                     |
| OS-SRV-USG:terminated_at            | None                                                           |
| accessIPv4                          |                                                                |
| accessIPv6                          |                                                                |
| addresses                           |                                                                |
| config_drive                        |                                                                |
| created                             | 2017-12-26T10:01:50Z                                           |
| flavor                              | m1.tiny (1)                                                    |
| hostId                              | 4f720feca9816d41461a56a37d5e07faf7c32b8c095a80146fdc441e       |
| id                                  | d757178e-0357-48e7-a827-9991378543bd                           |
| image                               | cirros-0.3.4-x86_64-uec (37f39bd9-8bb7-4bb8-b6f2-c3c5d98d7955) |
| key_name                            | None                                                           |
| name                                | deb11_dev2                                                     |
| progress                            | 0                                                              |
| project_id                          | ea95a2a8d75f48dbb5a90b7787877fbd                               |
| properties                          |                                                                |
| security_groups                     | name='default'                                                 |
| status                              | ACTIVE                                                         |
| updated                             | 2017-12-26T10:02:00Z                                           |
| user_id                             | 8d34357343504c01ba0af196c8f9c56c                               |
| volumes_attached                    |                                                                |
+-------------------------------------+----------------------------------------------------------

As we can see field "addresses" is empty. And then when I'am trying to
allocate floating IP to this instance i get error like this:

$ openstack server add floating ip deb11_dev2 172.18.171.174
Instance network is not ready yet (HTTP 400) (Request-ID: req-b5278c5d-220a-436b-8bf6-dd22e204b316)

But some times when I create instance as previous it's get IP and all work's fine. I can't understand on what does this bug depend.  And also all this nodes with and without IP has IP in Horizon.
I attached all my local.conf files of all nodes and nova-api logs.

** Affects: nova
     Importance: Undecided
         Status: New

** Attachment added: "Local.conf of all nodes"
   https://bugs.launchpad.net/bugs/1740241/+attachment/5027887/+files/All_configs.conf

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1740241

Title:
  Creating instance without IP

Status in OpenStack Compute (nova):
  New

Bug description:
  I'am trying to deploy DVR Multi-node + Provider network openstack
  configuration. So I have 3 nodes - Controller(All-in-one), Compute
  node and Network node. I created private network, where I launch my
  instances. The problem is when I am trying to launch instance on my
  compute node it's creating without Network IP. I'am using Openstack
  CLI to launch instance. So, command look like this:

  $ openstack server create --image cirros-0.3.4-x86_64-uec --flavor 1
  --nic net-id=13e6c93a-0b87-4b18-9f44-7c9d78682a80 --availability-zone
  nova:gzimin-dev2 deb11_dev2

  As a result i get:

  $ openstack server show deb11_dev2
  +-------------------------------------+----------------------------------------------------------------+
  | Field                               | Value                                                          |
  +-------------------------------------+----------------------------------------------------------------+
  | OS-DCF:diskConfig                   | MANUAL                                                         |
  | OS-EXT-AZ:availability_zone         | nova                                                           |
  | OS-EXT-SRV-ATTR:host                | gzimin-dev2                                                    |
  | OS-EXT-SRV-ATTR:hypervisor_hostname | gzimin-dev2                                                    |
  | OS-EXT-SRV-ATTR:instance_name       | instance-00000034                                              |
  | OS-EXT-STS:power_state              | Running                                                        |
  | OS-EXT-STS:task_state               | None                                                           |
  | OS-EXT-STS:vm_state                 | active                                                         |
  | OS-SRV-USG:launched_at              | 2017-12-26T10:01:59.000000                                     |
  | OS-SRV-USG:terminated_at            | None                                                           |
  | accessIPv4                          |                                                                |
  | accessIPv6                          |                                                                |
  | addresses                           |                                                                |
  | config_drive                        |                                                                |
  | created                             | 2017-12-26T10:01:50Z                                           |
  | flavor                              | m1.tiny (1)                                                    |
  | hostId                              | 4f720feca9816d41461a56a37d5e07faf7c32b8c095a80146fdc441e       |
  | id                                  | d757178e-0357-48e7-a827-9991378543bd                           |
  | image                               | cirros-0.3.4-x86_64-uec (37f39bd9-8bb7-4bb8-b6f2-c3c5d98d7955) |
  | key_name                            | None                                                           |
  | name                                | deb11_dev2                                                     |
  | progress                            | 0                                                              |
  | project_id                          | ea95a2a8d75f48dbb5a90b7787877fbd                               |
  | properties                          |                                                                |
  | security_groups                     | name='default'                                                 |
  | status                              | ACTIVE                                                         |
  | updated                             | 2017-12-26T10:02:00Z                                           |
  | user_id                             | 8d34357343504c01ba0af196c8f9c56c                               |
  | volumes_attached                    |                                                                |
  +-------------------------------------+----------------------------------------------------------

  As we can see field "addresses" is empty. And then when I'am trying to
  allocate floating IP to this instance i get error like this:

  $ openstack server add floating ip deb11_dev2 172.18.171.174
  Instance network is not ready yet (HTTP 400) (Request-ID: req-b5278c5d-220a-436b-8bf6-dd22e204b316)

  But some times when I create instance as previous it's get IP and all work's fine. I can't understand on what does this bug depend.  And also all this nodes with and without IP has IP in Horizon.
  I attached all my local.conf files of all nodes and nova-api logs.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1740241/+subscriptions


Follow ups