*I am not working on that. I have provided the patch for some other bug, that should be solution this bug also.. *
On Mon, Jun 15, 2015 at 3:21 PM, Harshada Mangesh Kakad < <email address hidden>> wrote:
> Are you working on this bug Bhavaniprasad else I would like to pick > this. > > -- > You received this bug notification because you are subscribed to the bug > report. > https://bugs.launchpad.net/bugs/1456196 > > Title: > Delete flavor should raise error, if it is inuse (any existing vms > booted with this flavor) > > Status in OpenStack Compute (Nova): > Confirmed > > Bug description: > Version : Juno Devstack > > Steps to reproduce. > > Step1 : Create an instance with m1.tiny flavor. > > stack@onecloud-Standard-PC-i440FX-PIIX-1996:~/nova/nova/compute$ nova > boot --image cirros-0.3.4-x86_64-uec --flavor m1.tiny 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-00000006 > | > | 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 | Uaypcj6qKzbr > | > | config_drive | > | > | created | 2015-05-18T12:38:25Z > | > | flavor | m1.tiny (6) > | > | hostId | > | > | id | > 7b4fdada-6900-4836-9de7-3bda0f13dabf | > | image | cirros-0.3.4-x86_64-uec > (a49af497-e336-4c5a-8508-6dabb70fe261) | > | key_name | - > | > | metadata | {} > | > | name | vm1 > | > | os-extended-volumes:volumes_attached | [] > | > | progress | 0 > | > | security_groups | default > | > | status | BUILD > | > | tenant_id | > d5a7933dfa98430abf7fcc37ff2661b1 | > | updated | 2015-05-18T12:38:26Z > | > | user_id | > a20aaf87a4344985ae17e378065858ed | > > +--------------------------------------+----------------------------------------------------------------+ > > Before deleting flavor please note the above output. > > Step 2: Once instance gets active delete the m1.tiny flavor. > > stack@onecloud-Standard-PC-i440FX-PIIX-1996:~/nova/nova/compute$ nova > flavor-delete m1.tiny > > +----+------+-----------+------+-----------+------+-------+-------------+-----------+ > | ID | Name | Memory_MB | Disk | Ephemeral | Swap | VCPUs | RXTX_Factor > | Is_Public | > > +----+------+-----------+------+-----------+------+-------+-------------+-----------+ > | 6 | m1.tiny | 512 | 1 | 0 | | 1 | 1.0 > | True | > > +----+------+-----------+------+-----------+------+-------+-------------+-----------+ > > Step 3 : Nova show vmname after deleting the flavor. > > stack@onecloud-Standard-PC-i440FX-PIIX-1996:~/nova/nova/compute$ nova > show vm1 > > +--------------------------------------+----------------------------------------------------------------+ > | Property | Value > | > > +--------------------------------------+----------------------------------------------------------------+ > | OS-DCF:diskConfig | MANUAL > | > | OS-EXT-AZ:availability_zone | nova > | > | OS-EXT-SRV-ATTR:host | > onecloud-Standard-PC-i440FX-PIIX-1996 | > | OS-EXT-SRV-ATTR:hypervisor_hostname | > onecloud-Standard-PC-i440FX-PIIX-1996 | > | OS-EXT-SRV-ATTR:instance_name | instance-00000006 > | > | OS-EXT-STS:power_state | 1 > | > | OS-EXT-STS:task_state | - > | > | OS-EXT-STS:vm_state | active > | > | OS-SRV-USG:launched_at | 2015-05-18T12:38:30.000000 > | > | OS-SRV-USG:terminated_at | - > | > | accessIPv4 | > | > | accessIPv6 | > | > | config_drive | True > | > | created | 2015-05-18T12:38:25Z > | > | flavor | m1.tiny (6) > | > | hostId | > b2f6e09e63c5ae998e9ad50cca85ac7ba506cee9159da4418e8893de | > | id | > 7b4fdada-6900-4836-9de7-3bda0f13dabf | > | image | cirros-0.3.4-x86_64-uec > (a49af497-e336-4c5a-8508-6dabb70fe261) | > | key_name | - > | > | metadata | {} > | > | name | vm1 > | > | os-extended-volumes:volumes_attached | [] > | > | private network | 10.0.0.2 > | > | progress | 0 > | > | security_groups | default > | > | status | ACTIVE > | > | tenant_id | > d5a7933dfa98430abf7fcc37ff2661b1 | > | updated | 2015-05-18T12:38:31Z > | > | user_id | > a20aaf87a4344985ae17e378065858ed | > > +--------------------------------------+----------------------------------------------------------------+ > > Please note after deleting flavor, nova show command output above. > > flavor -- m1.tiny (6) still displaying the same before and after. > > Regards > Noel > > To manage notifications about this bug go to: > https://bugs.launchpad.net/nova/+bug/1456196/+subscriptions >
*I am not working on that. I have provided the patch for some other bug,
that should be solution this bug also.. *
On Mon, Jun 15, 2015 at 3:21 PM, Harshada Mangesh Kakad <
<email address hidden>> wrote:
> Are you working on this bug Bhavaniprasad else I would like to pick /bugs.launchpad .net/bugs/ 1456196 Standard- PC-i440FX- PIIX-1996: ~/nova/ nova/compute$ nova 0.3.4-x86_ 64-uec --flavor m1.tiny vm1 ------- ------- ------- ------- ----+-- ------- ------- ------- ------- ------- ------- ------- ------- ------+ ------- ------- ------- ------- ----+-- ------- ------- ------- ------- ------- ------- ------- ------- ------+ AZ:availability _zone | nova SRV-ATTR: host | - SRV-ATTR: hypervisor_ hostname | - SRV-ATTR: instance_ name | instance-00000006 STS:power_ state | 0 STS:task_ state | scheduling USG:launched_ at | - USG:terminated_ at | - 18T12:38: 25Z 6900-4836- 9de7-3bda0f13da bf | 0.3.4-x86_ 64-uec e336-4c5a- 8508-6dabb70fe2 61) | volumes: volumes_ attached | [] abf7fcc37ff2661 b1 | 18T12:38: 26Z 5ae17e378065858 ed | ------- ------- ------- ------- ----+-- ------- ------- ------- ------- ------- ------- ------- ------- ------+ Standard- PC-i440FX- PIIX-1996: ~/nova/ nova/compute$ nova -----+- ------- ---+--- ---+--- ------- -+----- -+----- --+---- ------- --+---- ------- + -----+- ------- ---+--- ---+--- ------- -+----- -+----- --+---- ------- --+---- ------- + -----+- ------- ---+--- ---+--- ------- -+----- -+----- --+---- ------- --+---- ------- + Standard- PC-i440FX- PIIX-1996: ~/nova/ nova/compute$ nova ------- ------- ------- ------- ----+-- ------- ------- ------- ------- ------- ------- ------- ------- ------+ ------- ------- ------- ------- ----+-- ------- ------- ------- ------- ------- ------- ------- ------- ------+ AZ:availability _zone | nova SRV-ATTR: host | Standard- PC-i440FX- PIIX-1996 | SRV-ATTR: hypervisor_ hostname | Standard- PC-i440FX- PIIX-1996 | SRV-ATTR: instance_ name | instance-00000006 STS:power_ state | 1 STS:task_ state | - USG:launched_ at | 2015-05- 18T12:38: 30.000000 USG:terminated_ at | - 18T12:38: 25Z 98e9ad50cca85ac 7ba506cee9159da 4418e8893de | 6900-4836- 9de7-3bda0f13da bf | 0.3.4-x86_ 64-uec e336-4c5a- 8508-6dabb70fe2 61) | volumes: volumes_ attached | [] abf7fcc37ff2661 b1 | 18T12:38: 31Z 5ae17e378065858 ed | ------- ------- ------- ------- ----+-- ------- ------- ------- ------- ------- ------- ------- ------- ------+ /bugs.launchpad .net/nova/ +bug/1456196/ +subscriptions
> this.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https:/
>
> Title:
> Delete flavor should raise error, if it is inuse (any existing vms
> booted with this flavor)
>
> Status in OpenStack Compute (Nova):
> Confirmed
>
> Bug description:
> Version : Juno Devstack
>
> Steps to reproduce.
>
> Step1 : Create an instance with m1.tiny flavor.
>
> stack@onecloud-
> boot --image cirros-
>
>
> +------
> | Property | Value
> |
>
> +------
> | OS-DCF:diskConfig | MANUAL
> |
> | OS-EXT-
> |
> | OS-EXT-
> |
> | OS-EXT-
> |
> | OS-EXT-
> |
> | OS-EXT-
> |
> | OS-EXT-
> |
> | OS-EXT-STS:vm_state | building
> |
> | OS-SRV-
> |
> | OS-SRV-
> |
> | accessIPv4 |
> |
> | accessIPv6 |
> |
> | adminPass | Uaypcj6qKzbr
> |
> | config_drive |
> |
> | created | 2015-05-
> |
> | flavor | m1.tiny (6)
> |
> | hostId |
> |
> | id |
> 7b4fdada-
> | image | cirros-
> (a49af497-
> | key_name | -
> |
> | metadata | {}
> |
> | name | vm1
> |
> | os-extended-
> |
> | progress | 0
> |
> | security_groups | default
> |
> | status | BUILD
> |
> | tenant_id |
> d5a7933dfa98430
> | updated | 2015-05-
> |
> | user_id |
> a20aaf87a434498
>
> +------
>
> Before deleting flavor please note the above output.
>
> Step 2: Once instance gets active delete the m1.tiny flavor.
>
> stack@onecloud-
> flavor-delete m1.tiny
>
> +----+-
> | ID | Name | Memory_MB | Disk | Ephemeral | Swap | VCPUs | RXTX_Factor
> | Is_Public |
>
> +----+-
> | 6 | m1.tiny | 512 | 1 | 0 | | 1 | 1.0
> | True |
>
> +----+-
>
> Step 3 : Nova show vmname after deleting the flavor.
>
> stack@onecloud-
> show vm1
>
> +------
> | Property | Value
> |
>
> +------
> | OS-DCF:diskConfig | MANUAL
> |
> | OS-EXT-
> |
> | OS-EXT-
> onecloud-
> | OS-EXT-
> onecloud-
> | OS-EXT-
> |
> | OS-EXT-
> |
> | OS-EXT-
> |
> | OS-EXT-STS:vm_state | active
> |
> | OS-SRV-
> |
> | OS-SRV-
> |
> | accessIPv4 |
> |
> | accessIPv6 |
> |
> | config_drive | True
> |
> | created | 2015-05-
> |
> | flavor | m1.tiny (6)
> |
> | hostId |
> b2f6e09e63c5ae9
> | id |
> 7b4fdada-
> | image | cirros-
> (a49af497-
> | key_name | -
> |
> | metadata | {}
> |
> | name | vm1
> |
> | os-extended-
> |
> | private network | 10.0.0.2
> |
> | progress | 0
> |
> | security_groups | default
> |
> | status | ACTIVE
> |
> | tenant_id |
> d5a7933dfa98430
> | updated | 2015-05-
> |
> | user_id |
> a20aaf87a434498
>
> +------
>
> Please note after deleting flavor, nova show command output above.
>
> flavor -- m1.tiny (6) still displaying the same before and after.
>
> Regards
> Noel
>
> To manage notifications about this bug go to:
> https:/
>