[Yahoo-eng-team] [Bug 1643793] Re: Display incorrect flavor name in instance property after edit flavor

2017-12-02 Thread Akihiro Motoki
"Edit Flavor" in horizon is actually NOT "edit". It deletes a specified
flavor and re-creates a new flavor with new values. Flavor ID will be
changed (see bug 1276371). Thus this is an expected behavior.

In addition, "Edit Flavor" in horizon is now deprecated in Pike (bug
1709056 for more detail) and will be dropped in near future.

** Changed in: horizon
   Status: Confirmed => Won't Fix

** Changed in: horizon
 Assignee: guoshan (guoshan) => (unassigned)

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

Title:
  Display incorrect flavor name in instance property after edit flavor

Status in OpenStack Dashboard (Horizon):
  Won't Fix
Status in OpenStack Compute (nova):
  Invalid

Bug description:
  Description
  ===
  Display incorrect flavor name in instance property after edit flavor

  
  Steps to reproduce
  ==
  All of the below steps are on the web page.
  1.create a new flavor name is AAA
  2.create vm with AAA flavor
  3.check vm info that flavor name is AAA
  4.edit the flavor, change flavor name AAA to BBB
  5.check vm info again, the flavor name is not BBB

  
  Expected result
  ===
  Display correct flavor name after edit flavor name.

  
  Actual result
  =
  The vm flavor name is not correct after edit flavor name.
  By the nova-api.log file, the edit flavor operation is that first to delete 
the origin flavor, second to create a new flavor.
  But vm flavor'id was original id, not the new id.

  
  Environment
  ===
  1. Devstack with newton version

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

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp


[Yahoo-eng-team] [Bug 1643793] Re: Display incorrect flavor name in instance property after edit flavor

2016-12-01 Thread Dinesh Bhor
Hi All,

I am not able to reproduce this issue in nova.

Steps:

Created one flaovr:
$nova flavor-create new_flavor 32 2 1 1

Created an instance with this flavor:
$nova boot --image c98e9a7c-7720-420b-a5cb-4990a80ebeb4 --flavor 32 
flavor_instance

I can see flavor name in the instance information: new_flavor (32)

Deleted a flavor:   
$nova flavor-delete 32

Show the instance:
$nova show 82b2b0a2-d904-4762-87f2-6c079e113494

+--++
| Property | Value  
|
+--++
| OS-DCF:diskConfig| MANUAL 
|
| OS-EXT-AZ:availability_zone  | nova   
|
| OS-EXT-SRV-ATTR:host | openstack-VirtualBox   
|
| OS-EXT-SRV-ATTR:hostname | flavor-instance
|
| OS-EXT-SRV-ATTR:hypervisor_hostname  | openstack-VirtualBox   
|
| OS-EXT-SRV-ATTR:instance_name| instance-000a  
|
| OS-EXT-SRV-ATTR:kernel_id| a5b4ae19-6b59-4db8-9b8f-80a95274b0ef   
|
| OS-EXT-SRV-ATTR:launch_index | 0  
|
| OS-EXT-SRV-ATTR:ramdisk_id   | 74bf2775-4b4f-4f98-b5a3-d5b95a2fb2b5   
|
| OS-EXT-SRV-ATTR:reservation_id   | r-ebvq7dqa 
|
| OS-EXT-SRV-ATTR:root_device_name | /dev/vda   
|
| OS-EXT-SRV-ATTR:user_data| -  
|
| OS-EXT-STS:power_state   | 1  
|
| OS-EXT-STS:task_state| -  
|
| OS-EXT-STS:vm_state  | active 
|
| OS-SRV-USG:launched_at   | 2016-12-01T07:58:50.00 
|
| OS-SRV-USG:terminated_at | -  
|
| accessIPv4   |
|
| accessIPv6   |
|
| config_drive |
|
| created  | 2016-12-01T07:58:39Z   
|
| description  | -  
|
| flavor   | Flavor not found (32)  
|
| hostId   | 
29293b7a5610f0716c95bb5fd6bdbe157ec88120712bcb67c6c5c6a5   |
| host_status  | UP 
|
| id   | 82b2b0a2-d904-4762-87f2-6c079e113494   
|
| image| cirros-0.3.4-x86_64-uec 
(c98e9a7c-7720-420b-a5cb-4990a80ebeb4) |
| key_name | -  
|
| locked   | False  
|
| metadata | {} 
|
| name | flavor_instance
|
| os-extended-volumes:volumes_attached | [] 
|
| progress | 0  
|
| public network   | 172.24.4.13, 2001:db8::7   
|
| security_groups  | default
|
| status   | ACTIVE 
|
| tags | [] 
|
| tenant_id| 514df258afd54361a0d9e8a8afc71a02   
|
| updated  | 2016-12-01T07:58:51Z   
|
| user_id  | 

[Yahoo-eng-team] [Bug 1643793] Re: Display incorrect flavor name in instance property after edit flavor

2016-11-23 Thread zhaolihui
It affects not only horizon but also nova

** Also affects: nova
   Importance: Undecided
   Status: New

** Changed in: nova
 Assignee: (unassigned) => zhaolihui (zhaolh)

** Changed in: horizon
 Assignee: zhaolihui (zhaolh) => (unassigned)

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

Title:
  Display incorrect flavor name in instance property after edit flavor

Status in OpenStack Dashboard (Horizon):
  New
Status in OpenStack Compute (nova):
  New

Bug description:
  Description
  ===
  Display incorrect flavor name in instance property after edit flavor

  
  Steps to reproduce
  ==
  All of the below steps are on the web page.
  1.create a new flavor name is AAA
  2.create vm with AAA flavor
  3.check vm info that flavor name is AAA
  4.edit the flavor, change flavor name AAA to BBB
  5.check vm info again, the flavor name is not BBB

  
  Expected result
  ===
  Display correct flavor name after edit flavor name.

  
  Actual result
  =
  The vm flavor name is not correct after edit flavor name.
  By the nova-api.log file, the edit flavor operation is that first to delete 
the origin flavor, second to create a new flavor.
  But vm flavor'id was original id, not the new id.

  
  Environment
  ===
  1. Devstack with newton version

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

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp


[Yahoo-eng-team] [Bug 1643793] Re: Display incorrect flavor name in instance property after edit flavor

2016-11-23 Thread jichenjc
per above comments #1

** Project changed: nova => horizon

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

Title:
  Display incorrect flavor name in instance property after edit flavor

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  Description
  ===
  Display incorrect flavor name in instance property after edit flavor

  
  Steps to reproduce
  ==
  All of the below steps are on the web page.
  1.create a new flavor name is AAA
  2.create vm with AAA flavor
  3.check vm info that flavor name is AAA
  4.edit the flavor, change flavor name AAA to BBB
  5.check vm info again, the flavor name is not BBB

  
  Expected result
  ===
  Display correct flavor name after edit flavor name.

  
  Actual result
  =
  The vm flavor name is not correct after edit flavor name.
  By the nova-api.log file, the edit flavor operation is that first to delete 
the origin flavor, second to create a new flavor.
  But vm flavor'id was original id, not the new id.

  
  Environment
  ===
  1. Devstack with newton version

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

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp