← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1143466] Re: Server update timestamp not changed when networks are added or removed

 

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

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

Title:
  Server update timestamp not changed when networks are added or removed

Status in OpenStack Compute (Nova):
  Fix Released

Bug description:
  As the following recreate scenario shows, a server's "updated"
  timestamp is not being change when a network is added.  This same
  problem occurs when a network is removed.  As a result, the server is
  not returned as being changed when using the "changes-since" parameter
  to collect all server changes since a particular time.

  I am using OpenStack Grizzly with quantum.

  [root@node1 ˜]# nova show TTY_LINUX_TEST
  +-------------------------------------+----------------------------------------------------------+
  | Property                            | Value                                                    |
  +-------------------------------------+----------------------------------------------------------+
  | OS-DCF:diskConfig                   | MANUAL                                                   |
  | OS-EXT-SRV-ATTR:host                | node1                     |
  | OS-EXT-SRV-ATTR:hypervisor_hostname | node1                     |
  | OS-EXT-SRV-ATTR:instance_name       | instance-000000cb                                        |
  | OS-EXT-STS:power_state              | 1                                                        |
  | OS-EXT-STS:task_state               | None                                                     |
  | OS-EXT-STS:vm_state                 | active                                                   |
  | accessIPv4                          |                                                          |
  | accessIPv6                          |                                                          |
  | config_drive                        |                                                          |
  | created                             | 2013-02-21T15:19:13Z                                     |
  | flavor                              | m1.tiny (1)                                              |
  | hostId                              | 4d86eac0d9f375223c54f8b1712c2f4238f072db86afc6ef9cdb1096 |
  | id                                  | 1e928526-a106-4971-beb7-73ade9dbd239                     |
  | image                               | MyBackup_backup (b9a92225-3951-4cf5-8e80-2800c73df77e)   |
  | key_name                            | None                                                     |
  | metadata                            | {}                                                       |
  | name                                | TTY_LINUX_TEST                                       |
  | network1 network                    |                                                          |
  | progress                            | 0                                                        |
  | security_groups                     | [{u'name': u'default'}]                                  |
  | status                              | ACTIVE                                                   |
  | tenant_id                           | aef72eee4db84e84b3dc8f507d2a9e63                         |
  | updated                             | 2013-02-21T15:19:46Z                                     |
  | user_id                             | e6de9232200b4597b9f230a9dd126bf8                         |
  +-------------------------------------+----------------------------------------------------------+
  [root@node1 ˜]#
  [root@node1 ˜]# quantum net-list
  +--------------------------------------+----------+--------------------------------------------------+
  | id                                   | name     | subnets                                          |
  +--------------------------------------+----------+--------------------------------------------------+
  | d26101d5-5c11-470b-babc-6e2564965d29 | network1 | 8eaedfc9-2f7e-410e-b2a9-9e02be9ca020 10.0.1.0/24 |
  +--------------------------------------+----------+--------------------------------------------------+
  [root@node1 ˜]# nova add-fixed-ip TTY_LINUX_TEST d26101d5-5c11-470b-babc-6e2564965d29
  [root@node1 ˜]# nova show TTY_LINUX_TEST
  +-------------------------------------+----------------------------------------------------------+
  | Property                            | Value                                                    |
  +-------------------------------------+----------------------------------------------------------+
  | OS-DCF:diskConfig                   | MANUAL                                                   |
  | OS-EXT-SRV-ATTR:host                | node1                     |
  | OS-EXT-SRV-ATTR:hypervisor_hostname | node1                     |
  | OS-EXT-SRV-ATTR:instance_name       | instance-000000cb                                        |
  | OS-EXT-STS:power_state              | 1                                                        |
  | OS-EXT-STS:task_state               | None                                                     |
  | OS-EXT-STS:vm_state                 | active                                                   |
  | accessIPv4                          |                                                          |
  | accessIPv6                          |                                                          |
  | config_drive                        |                                                          |
  | created                             | 2013-02-21T15:19:13Z                                     |
  | flavor                              | m1.tiny (1)                                              |
  | hostId                              | 4d86eac0d9f375223c54f8b1712c2f4238f072db86afc6ef9cdb1096 |
  | id                                  | 1e928526-a106-4971-beb7-73ade9dbd239                     |
  | image                               | MyBackup_backup (b9a92225-3951-4cf5-8e80-2800c73df77e)   |
  | key_name                            | None                                                     |
  | metadata                            | {}                                                       |
  | name                                | TTY_LINUX_TEST                                       |
  | network1 network                    | 10.0.1.4                                                 |
  | progress                            | 0                                                        |
  | security_groups                     | [{u'name': u'default'}]                                  |
  | status                              | ACTIVE                                                   |
  | tenant_id                           | aef72eee4db84e84b3dc8f507d2a9e63                         |
  | updated                             | 2013-02-21T15:19:46Z                                     |
  | user_id                             | e6de9232200b4597b9f230a9dd126bf8                         |
  +-------------------------------------+----------------------------------------------------------+

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