← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1306922] Re: binding:host_id isn't updated after unshelve instance

 

** Changed in: nova
       Status: Fix Committed => Fix Released

** Changed in: nova
    Milestone: None => juno-2

-- 
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/1306922

Title:
  binding:host_id isn't updated after unshelve instance

Status in OpenStack Compute (Nova):
  Fix Released

Bug description:
  After unshelve an instance, found the attached port's binding info
  didn't get updated.

  os@cloudcontroller:~$ nova show vm2
  +--------------------------------------+----------------------------------------------------------+
  | Property                             | Value                                                    |
  +--------------------------------------+----------------------------------------------------------+
  | OS-DCF:diskConfig                    | AUTO                                                     |
  | OS-EXT-AZ:availability_zone          | nova                                                     |
  | OS-EXT-SRV-ATTR:host                 | xuhj-c1                                                  |
  | OS-EXT-SRV-ATTR:hypervisor_hostname  | xuhj-c1                                                  |
  | OS-EXT-SRV-ATTR:instance_name        | instance-0000000d                                        |
  | OS-EXT-STS:power_state               | 1                                                        |
  | OS-EXT-STS:task_state                | -                                                        |
  | OS-EXT-STS:vm_state                  | active                                                   |
  | OS-SRV-USG:launched_at               | 2014-04-11T07:15:36.000000                               |
  | OS-SRV-USG:terminated_at             | -                                                        |
  | accessIPv4                           |                                                          |
  | accessIPv6                           |                                                          |
  | config_drive                         |                                                          |
  | created                              | 2014-04-11T06:51:04Z                                     |
  | flavor                               | m1.small (2)                                             |
  | hostId                               | 493891ff9d0ff1ab3dddfa99ec9aba8fc30bfb2ccbc34e91f9f5c5b8 |
  | id                                   | 6c952df5-8893-47c8-b19d-c3f393c7f688                     |
  | image                                | ubuntu-core (0237b107-a492-44ea-817e-d94589943c9c)       |
  | key_name                             | -                                                        |
  | metadata                             | {}                                                       |
  | name                                 | vm2                                                      |
  | net1 network                         | 12.0.0.7                                                 |
  | os-extended-volumes:volumes_attached | []                                                       |
  | progress                             | 0                                                        |
  | security_groups                      | default                                                  |
  | status                               | ACTIVE                                                   |
  | tenant_id                            | fac60a38271e4b3bbc4a7dc97aee4e90                         |
  | updated                              | 2014-04-11T07:15:36Z                                     |
  | user_id                              | d7f959000a764cccbc0e9c634eb82514                         |
  +--------------------------------------+----------------------------------------------------------+

  
  os@cloudcontroller:~$ neutron port-show c514acdd-4038-414f-be3a-d30f76b4cba6
  +-----------------------+---------------------------------------------------------------------------------+
  | Field                 | Value                                                                           |
  +-----------------------+---------------------------------------------------------------------------------+
  | admin_state_up        | True                                                                            |
  | allowed_address_pairs |                                                                                 |
  | binding:host_id       | xuhj-c2                                                                         |
  | binding:profile       | {}                                                                              |
  | binding:vif_details   | {"port_filter": true}                                                           |
  | binding:vif_type      | bridge                                                                          |
  | binding:vnic_type     | normal                                                                          |
  | device_id             | 6c952df5-8893-47c8-b19d-c3f393c7f688                                            |
  | device_owner          | compute:nova                                                                    |
  | extra_dhcp_opts       |                                                                                 |
  | fixed_ips             | {"subnet_id": "b4bf03ac-5243-404d-bd16-705b4b61643e", "ip_address": "12.0.0.7"} |
  | id                    | c514acdd-4038-414f-be3a-d30f76b4cba6                                            |
  | mac_address           | fa:16:3e:49:9b:1f                                                               |
  | name                  |                                                                                 |
  | network_id            | cea70fce-b954-40da-b325-b0bea5179ca0                                            |
  | security_groups       | 83dac46b-fa06-41e6-a028-35f9b7bf4046                                            |
  | status                | BUILD                                                                           |
  | tenant_id             | fac60a38271e4b3bbc4a7dc97aee4e90                                                |
  +-----------------------+---------------------------------------------------------------------------------+

  
  | OS-EXT-SRV-ATTR:host                 | xuhj-c1                                                  |
  -------------
  | binding:host_id       | xuhj-c2                                                                         |

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


References