← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1301382] [NEW] "nova server-group-list " show no members even if I create one VM in one group

 

Public bug reported:

gyliu@devstack1:~$ nova server-group-create rg1 --policy affinity
+--------------------------------------+------+---------------+---------+----------+
| Id                                   | Name | Policies      | Members | Metadata |
+--------------------------------------+------+---------------+---------+----------+
| 8a974011-c706-4317-8455-bd6b52ad8584 | rg1  | [u'affinity'] | []      | {}       |
+--------------------------------------+------+---------------+---------+----------+

gyliu@devstack1:~$ nova boot --image cirros-0.3.1-x86_64-uec    --flavor 1 --hint group=8a974011-c706-4317-8455-bd6b52ad8584 vm1
+--------------------------------------+----------------------------------------------------------------+
| Property                             | Value                                                          |
+--------------------------------------+----------------------------------------------------------------+
| OS-DCF:diskConfig                    | MANUAL                                                         |
| OS-EXT-AZ:availability_zone          | nova                                                           |
| OS-EXT-SRV-ATTR:host                 | -                                                              |
| OS-EXT-SRV-ATTR:hypervisor_hostname  | -                                                              |
| OS-EXT-SRV-ATTR:instance_name        | instance-00000002                                              |
| OS-EXT-STS:power_state               | 0                                                              |
| OS-EXT-STS:task_state                | scheduling                                                     |
| OS-EXT-STS:vm_state                  | building                                                       |
| OS-SRV-USG:launched_at               | -                                                              |
| OS-SRV-USG:terminated_at             | -                                                              |
| accessIPv4                           |                                                                |
| accessIPv6                           |                                                                |
| adminPass                            | EoGB78c9YHZa                                                   |
| config_drive                         |                                                                |
| created                              | 2014-04-02T12:10:30Z                                           |
| flavor                               | m1.tiny (1)                                                    |
| hostId                               |                                                                |
| id                                   | 19851e3d-9314-4c28-8612-cadae0cbcbf1                           |
| image                                | cirros-0.3.1-x86_64-uec (61f1a44e-62a9-44ab-8843-3c050be82502) |
| key_name                             | -                                                              |
| metadata                             | {}                                                             |
| name                                 | vm1                                                            |
| os-extended-volumes:volumes_attached | []                                                             |
| progress                             | 0                                                              |
| security_groups                      | default                                                        |
| status                               | BUILD                                                          |
| tenant_id                            | 2168c6190c7d430d8b9497c610de65f8                               |
| updated                              | 2014-04-02T12:10:30Z                                           |
| user_id                              | a20e9c6632df425eb06b3a21655e9b4b                               |
+--------------------------------------+----------------------------------------------------------------+
gyliu@devstack1:~$ nova list
+--------------------------------------+------+--------+------------+-------------+------------------+
| ID                                   | Name | Status | Task State | Power State | Networks         |
+--------------------------------------+------+--------+------------+-------------+------------------+
| 19851e3d-9314-4c28-8612-cadae0cbcbf1 | vm1  | ACTIVE | -          | Running     | private=10.0.0.2 |
+--------------------------------------+------+--------+------------+-------------+------------------+

gyliu@devstack1:~$ nova  server-group-list   
+--------------------------------------+------+---------------+---------+----------+
| Id                                   | Name | Policies      | Members | Metadata |
+--------------------------------------+------+---------------+---------+----------+
| 8a974011-c706-4317-8455-bd6b52ad8584 | rg1  | [u'affinity'] | []      | {}       | << Still no member
+--------------------------------------+------+---------------+---------+----------+

** Affects: nova
     Importance: Medium
     Assignee: Jay Lau (jay-lau-513)
         Status: New

** Changed in: nova
     Assignee: (unassigned) => Jay Lau (jay-lau-513)

** Changed in: nova
   Importance: Undecided => Medium

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

Title:
  "nova  server-group-list " show no members even if I create one VM in
  one group

Status in OpenStack Compute (Nova):
  New

Bug description:
  gyliu@devstack1:~$ nova server-group-create rg1 --policy affinity
  +--------------------------------------+------+---------------+---------+----------+
  | Id                                   | Name | Policies      | Members | Metadata |
  +--------------------------------------+------+---------------+---------+----------+
  | 8a974011-c706-4317-8455-bd6b52ad8584 | rg1  | [u'affinity'] | []      | {}       |
  +--------------------------------------+------+---------------+---------+----------+

  gyliu@devstack1:~$ nova boot --image cirros-0.3.1-x86_64-uec    --flavor 1 --hint group=8a974011-c706-4317-8455-bd6b52ad8584 vm1
  +--------------------------------------+----------------------------------------------------------------+
  | Property                             | Value                                                          |
  +--------------------------------------+----------------------------------------------------------------+
  | OS-DCF:diskConfig                    | MANUAL                                                         |
  | OS-EXT-AZ:availability_zone          | nova                                                           |
  | OS-EXT-SRV-ATTR:host                 | -                                                              |
  | OS-EXT-SRV-ATTR:hypervisor_hostname  | -                                                              |
  | OS-EXT-SRV-ATTR:instance_name        | instance-00000002                                              |
  | OS-EXT-STS:power_state               | 0                                                              |
  | OS-EXT-STS:task_state                | scheduling                                                     |
  | OS-EXT-STS:vm_state                  | building                                                       |
  | OS-SRV-USG:launched_at               | -                                                              |
  | OS-SRV-USG:terminated_at             | -                                                              |
  | accessIPv4                           |                                                                |
  | accessIPv6                           |                                                                |
  | adminPass                            | EoGB78c9YHZa                                                   |
  | config_drive                         |                                                                |
  | created                              | 2014-04-02T12:10:30Z                                           |
  | flavor                               | m1.tiny (1)                                                    |
  | hostId                               |                                                                |
  | id                                   | 19851e3d-9314-4c28-8612-cadae0cbcbf1                           |
  | image                                | cirros-0.3.1-x86_64-uec (61f1a44e-62a9-44ab-8843-3c050be82502) |
  | key_name                             | -                                                              |
  | metadata                             | {}                                                             |
  | name                                 | vm1                                                            |
  | os-extended-volumes:volumes_attached | []                                                             |
  | progress                             | 0                                                              |
  | security_groups                      | default                                                        |
  | status                               | BUILD                                                          |
  | tenant_id                            | 2168c6190c7d430d8b9497c610de65f8                               |
  | updated                              | 2014-04-02T12:10:30Z                                           |
  | user_id                              | a20e9c6632df425eb06b3a21655e9b4b                               |
  +--------------------------------------+----------------------------------------------------------------+
  gyliu@devstack1:~$ nova list
  +--------------------------------------+------+--------+------------+-------------+------------------+
  | ID                                   | Name | Status | Task State | Power State | Networks         |
  +--------------------------------------+------+--------+------------+-------------+------------------+
  | 19851e3d-9314-4c28-8612-cadae0cbcbf1 | vm1  | ACTIVE | -          | Running     | private=10.0.0.2 |
  +--------------------------------------+------+--------+------------+-------------+------------------+

  gyliu@devstack1:~$ nova  server-group-list   
  +--------------------------------------+------+---------------+---------+----------+
  | Id                                   | Name | Policies      | Members | Metadata |
  +--------------------------------------+------+---------------+---------+----------+
  | 8a974011-c706-4317-8455-bd6b52ad8584 | rg1  | [u'affinity'] | []      | {}       | << Still no member
  +--------------------------------------+------+---------------+---------+----------+

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


Follow ups

References