[Yahoo-eng-team] [Bug 1818798] [NEW] Should not skip volume_size check for bdm.image_id == image_ref case

2019-03-06 Thread Zhenyu Zheng
Public bug reported: The volume size should be checked in bdm.sourece_type=image, dest_type=volume case no matter what the image is, but in: https://github.com/openstack/nova/blob/5a09c81af3b438ecbcf27fa653095ff55abb3ed4/nova/compute/api.py#L1452-L1453 we skipped the check if the bdm.image_id ==

[Yahoo-eng-team] [Bug 1809623] [NEW] Volume attached to shelved instances should be in `reserved` status

2018-12-23 Thread Zhenyu Zheng
Public bug reported: We added support to allow attach volumes to shelved instances in mircoversion 2.20, When attaching volume to shelved instances using Cinder new attach workflow, the volume status should be ``reserved`` istead of ``in-use``. ** Affects: nova Importance: Undecided

[Yahoo-eng-team] [Bug 1808902] [NEW] Support matrix for abort migration is missing

2018-12-17 Thread Zhenyu Zheng
Public bug reported: The support matrix for Delete(Abort) migration is missing, this could be a very useful info for users to consider using this featture, we should add it. ** Affects: nova Importance: Undecided Assignee: Zhenyu Zheng (zhengzhenyu) Status: New ** Changed

[Yahoo-eng-team] [Bug 1808089] [NEW] Feature to detach volume from a shelved(_offloaded) instance is broken

2018-12-11 Thread Zhenyu Zheng
Public bug reported: In microversion 2.20 we added the ablility to detach/attach volumes from a shelved(_offloaded) instance: http://git.openstack.org/cgit/openstack/nova/tree/nova/api/openstack/compute/rest_api_version_history.rst?h=stable/rocky#n177 But after we uses the cinder new attach

[Yahoo-eng-team] [Bug 1806515] [NEW] Instance tag not taken care of when bury in cell0

2018-12-03 Thread Zhenyu Zheng
Public bug reported: We allowed add instance tags when booting in Iac54b9627cb4398e45f1f15a2f4e7d6f86242093, conductor will create tags for us in the selected cell, but we forgot to consider the case that no valid host was found. So we will be unable to filter those instances in cell0 with tags.

[Yahoo-eng-team] [Bug 1805917] [NEW] Should use aggregate allocation ratio when weigh if set

2018-11-29 Thread Zhenyu Zheng
Public bug reported: When AggregateCoreFilter, AggregateDiskFilter and AggregateRamFilter are enabled, we will use the allocation ratio set in aggregate metadata instead of config set per host. But when we latter at the weighting process, we used again the config per host, this might lead to

[Yahoo-eng-team] [Bug 1793423] Re: Should not read config options while update cells

2018-09-24 Thread Zhenyu Zheng
** Changed in: nova Status: In Progress => Invalid -- 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/1793423 Title: Should not read config options while update

[Yahoo-eng-team] [Bug 1793423] [NEW] Should not read config options while update cells

2018-09-19 Thread Zhenyu Zheng
Public bug reported: TBA ** Affects: nova Importance: Undecided Status: New -- 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/1793423 Title: Should not

[Yahoo-eng-team] [Bug 1788564] [NEW] Increase set_target_cell performance by refactor where we lock

2018-08-23 Thread Zhenyu Zheng
if and only if there is no infomation about this cell in the cache(first time call). As for the current implementation, we lock the whole call, which may affect performance. ** Affects: nova Importance: Undecided Assignee: Zhenyu Zheng (zhengzhenyu) Status: New ** Changed in: nova

[Yahoo-eng-team] [Bug 1784769] [NEW] The performance of require_tenant_aggregate request filter can be improved

2018-07-31 Thread Zhenyu Zheng
Public bug reported: The require_tenant_aggregate request filter was added in Idb52b2a9af539df653da7a36763cb9a1d0de3d1b, it queries hosts aggregates by its metadata, and since it is used for matching spesific "filter_tenant_id:123" key and value pairs. As the host aggregates table only has index

[Yahoo-eng-team] [Bug 1783512] [NEW] Record user context when perform service actions

2018-07-25 Thread Zhenyu Zheng
of action to which service. So it might be good to save who did the action. ** Affects: nova Importance: Undecided Assignee: Zhenyu Zheng (zhengzhenyu) Status: New ** Changed in: nova Assignee: (unassigned) => Zhenyu Zheng (zhengzhenyu) -- You received this bug notificat

[Yahoo-eng-team] [Bug 1782691] [NEW] Installation guide about cells should be updated.

2018-07-19 Thread Zhenyu Zheng
Assignee: Zhenyu Zheng (zhengzhenyu) Status: New ** Changed in: nova Assignee: (unassigned) => Zhenyu Zheng (zhengzhenyu) -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to OpenStack Compute (nova). ht

[Yahoo-eng-team] [Bug 1779619] [NEW] Request Specs records did not got deleted and the table grows continuesly

2018-07-02 Thread Zhenyu Zheng
Public bug reported: Currently there are no logic in nova to clean the request_spec logic even when the instances related to it are gone. This will lead to the request_specs table in nova_api DB grows continuously. ** Affects: nova Importance: Undecided Assignee: Zhenyu Zheng

[Yahoo-eng-team] [Bug 1764927] [NEW] Should send out notification when instance metadata get updated

2018-04-17 Thread Zhenyu Zheng
Public bug reported: Should send out notification when instance metadata got updated. ** Affects: nova Importance: Undecided Status: New -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to OpenStack Compute (nova).

[Yahoo-eng-team] [Bug 1711303] Re: Filter instances by IP when listing is not efficient enough

2018-04-17 Thread Zhenyu Zheng
The bug is solved with blueprint: https://blueprints.launchpad.net/nova/+spec/improve-filter-instances-by-ip-performance ** Changed in: nova Status: Confirmed => Fix Released -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to

[Yahoo-eng-team] [Bug 1764685] [NEW] The performance of list instances with IP filter can be improved

2018-04-17 Thread Zhenyu Zheng
Public bug reported: When list instances with IP filter, there is no need to try to get instances from BuildRequest, as building instances will not have IP address. Skip this db call can slightly improve performance. ** Affects: nova Importance: Undecided Status: New -- You

[Yahoo-eng-team] [Bug 1758031] [NEW] noauth should also use request_id generated from compute_req_id

2018-03-22 Thread Zhenyu Zheng
Public bug reported: When using noauth midlleware, the context is generated here: https://github.com/openstack/nova/blob/ef6f4e4c8ec82e2c9f9988fe2e04591ee01220e6/nova/api/openstack/auth.py#L56 as the openstack.request_id from req.environ, previously created in:

[Yahoo-eng-team] [Bug 1747600] [NEW] Get auto from context for Neutron endpoint

2018-02-06 Thread Zhenyu Zheng
Public bug reported: TBA ** Affects: nova Importance: Undecided Status: New -- 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/1747600 Title: Get auto from

[Yahoo-eng-team] [Bug 1746202] Re: Invalid query parameter could lead to HTTP 500

2018-01-30 Thread Zhenyu Zheng
** Also affects: cinder Importance: Undecided Status: New -- 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/1746202 Title: Invalid query parameter could lead to

[Yahoo-eng-team] [Bug 1746202] [NEW] Invalid query parameter could lead to HTTP 500

2018-01-30 Thread Zhenyu Zheng
31050 ** Affects: nova Importance: Undecided Assignee: Zhenyu Zheng (zhengzhenyu) Status: New ** Changed in: nova Assignee: (unassigned) => Zhenyu Zheng (zhengzhenyu) -- You received this bug notification because you are a member of Yahoo! Engineering Team, w

[Yahoo-eng-team] [Bug 1718605] [NEW] [RFE] Support regex matching when filtering port with IP address

2017-09-21 Thread Zhenyu Zheng
Public bug reported: Problem === Usecase === Proposal ** Affects: neutron Importance: Undecided Assignee: Zhenyu Zheng (zhengzhenyu) Status: New -- You received this bug notification because you are a member of Yahoo! Engineering Team, which

[Yahoo-eng-team] [Bug 1718567] [NEW] Mention API behavior change when over quota limit

2017-09-20 Thread Zhenyu Zheng
Public bug reported: TBA ** Affects: nova Importance: Undecided Status: New -- 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/1718567 Title: Mention API

[Yahoo-eng-team] [Bug 1716706] [NEW] Should count instances in build requests when check quotas

2017-09-12 Thread Zhenyu Zheng
creation requests pass API layer checks and stopped in conductor layer check, which lead instances to ERROR state. ** Affects: nova Importance: High Assignee: Zhenyu Zheng (zhengzhenyu) Status: Triaged ** Tags: quotas ** Changed in: nova Assignee: (unassigned) => Zhe

[Yahoo-eng-team] [Bug 1711303] [NEW] Filter instances by IP when listing is not efficient enough

2017-08-17 Thread Zhenyu Zheng
Public bug reported: Filtering instance by IP when listing is done by: http://git.openstack.org/cgit/openstack/nova/tree/nova/compute/api.py#n2457 this is due to that IP address is one part of the instance.network_info JSON, we have to iterate one by one to find the instance that matches the

[Yahoo-eng-team] [Bug 1708323] [NEW] Editing flavor causing instance flavor display error

2017-08-02 Thread Zhenyu Zheng
Public bug reported: Horizon provided the feature to allow user edit existing flavors, no matter it is currently used by any instances or not. While Nova doesn't provide this kind of ability, Horizon achieved this by deleting the old flavor first and create a new flavor with the requested

[Yahoo-eng-team] [Bug 1705663] [NEW] Wrong href link returned when providing non-existed version in GET version API

2017-07-21 Thread Zhenyu Zheng
uot;: "CURRENT", "media-types": [{"base": "application/json", "type": "application/vnd.openstack.compute+json;version=2.1"}], "id": "v2.1", "links": [{"href": "http://10.76.150.17/compute/v2.1/co

[Yahoo-eng-team] [Bug 1692397] [NEW] hypervisor statistics could be incorrect

2017-05-21 Thread Zhenyu Zheng
Public bug reported: TBA ** Affects: nova Importance: Undecided Assignee: Zhenyu Zheng (zhengzhenyu) Status: New ** Changed in: nova Assignee: (unassigned) => Zhenyu Zheng (zhengzhenyu) -- You received this bug notification because you are a member of Ya

[Yahoo-eng-team] [Bug 1691902] [NEW] Should not allow security group from other project pass API layer check when booting

2017-05-18 Thread Zhenyu Zheng
ck.org/cgit/openstack/nova/tree/nova/network/neutronv2/api.py#n623 we are getting security group info by "list" API and filtering with instance.project_id and obviously we cannot get what we want. ** Affects: nova Importance: Undecided Assignee: Zhenyu Zheng (zhengzhenyu)

[Yahoo-eng-team] [Bug 1476114] Re: Launch instance failed using instances' snapshot created volume

2017-05-17 Thread Zhenyu Zheng
** Also affects: cinder Importance: Undecided Status: New -- 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/1476114 Title: Launch instance failed using

[Yahoo-eng-team] [Bug 1449934] Re: rename the scheduler_default_filters opt

2017-05-16 Thread Zhenyu Zheng
Fix Released in Ocata: https://review.openstack.org/#/c/349959/ ** Changed in: nova Status: Confirmed => Fix Released -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to OpenStack Compute (nova).

[Yahoo-eng-team] [Bug 1690311] [NEW] Raise particular exception when cannot found instance in driver layer

2017-05-12 Thread Zhenyu Zheng
Public bug reported: TBA ** Affects: nova Importance: Undecided Assignee: Zhenyu Zheng (zhengzhenyu) Status: New ** Changed in: nova Assignee: (unassigned) => Zhenyu Zheng (zhengzhenyu) -- You received this bug notification because you are a member of Ya

[Yahoo-eng-team] [Bug 1689284] [NEW] should capture quota exceed error from cinder when create image for volume backed instance

2017-05-08 Thread Zhenyu Zheng
Assignee: Zhenyu Zheng (zhengzhenyu) Status: New ** Changed in: nova Assignee: (unassigned) => Zhenyu Zheng (zhengzhenyu) -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to OpenStack Compute (nova). ht

[Yahoo-eng-team] [Bug 1682693] [NEW] not-tags cannot work properly

2017-04-13 Thread Zhenyu Zheng
PI log if possible. __call__ /opt/stack/nova/nova/api/openstack/wsgi.py:1041 2017-04-14 09:34:29.960 111211 INFO nova.osapi_compute.wsgi.server [req-225940e7-1976-4ec9-8970-a8c2b4b103ea f9e4d94bbfbd4cf1b774108650faa855 d4fd94accf2a4718b2ec8100e4e2e5f1 - default default] 10.229.45.145 &q

[Yahoo-eng-team] [Bug 1675276] [NEW] Volumes attached to shelved instance doesn't contain device_name

2017-03-23 Thread Zhenyu Zheng
Public bug reported: TBA ** Affects: nova Importance: Undecided Status: New -- 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/1675276 Title: Volumes

[Yahoo-eng-team] [Bug 1662748] [NEW] Boot instance with bdm source=image cannot work

2017-02-07 Thread Zhenyu Zheng
Public bug reported: TBA ** Affects: nova Importance: Undecided Assignee: Zhenyu Zheng (zhengzhenyu) Status: New ** Changed in: nova Assignee: (unassigned) => Zhenyu Zheng (zhengzhenyu) -- You received this bug notification because you are a member of Ya

[Yahoo-eng-team] [Bug 1661793] [NEW] Should generate migration record after successfully claimed

2017-02-03 Thread Zhenyu Zheng
be better if we generate the migration records after successfully claimed. ** Affects: nova Importance: Undecided Assignee: Zhenyu Zheng (zhengzhenyu) Status: New ** Changed in: nova Assignee: (unassigned) => Zhenyu Zheng (zhengzhenyu) -- You received this bug notificat

[Yahoo-eng-team] [Bug 1659215] [NEW] Should not allow assign floating IPs that are already assigned to another port

2017-01-25 Thread Zhenyu Zheng
not re-assgin if it is already assigned to other ports. ** Affects: neutron Importance: Undecided Assignee: zhaobo (zhaobo6) Status: New ** Affects: nova Importance: Undecided Assignee: Zhenyu Zheng (zhengzhenyu) Status: New ** Changed in: nova

[Yahoo-eng-team] [Bug 1658868] [NEW] Should raise retry limit exceed error instead of class exist in Placement API

2017-01-23 Thread Zhenyu Zheng
and might confusing the users. We'd better add a particular Exception for this kind of scenario and it could be used in other places also. ** Affects: nova Importance: Undecided Assignee: Zhenyu Zheng (zhengzhenyu) Status: New ** Changed in: nova Assignee: (unassigned

[Yahoo-eng-team] [Bug 1658571] [NEW] Microversion 2.37 break 2.32 usage

2017-01-22 Thread Zhenyu Zheng
/openstack/compute/schemas/servers.py#n82 So this function is only usable from microversion 2.32 to 2.37 we should fix it and backport to Newton. ** Affects: nova Importance: Undecided Assignee: Zhenyu Zheng (zhengzhenyu) Status: New ** Changed in: nova Assignee: (unassigned

[Yahoo-eng-team] [Bug 1656978] [NEW] Expand tag length limit to 80

2017-01-16 Thread Zhenyu Zheng
/models.py#n1464 We should expand the limitation in tag object definition to 80 as we have already created a 80 long space in db and this may be confusing. Besides, users can make more use of the longer tags. ** Affects: nova Importance: Undecided Assignee: Zhenyu Zheng (zhengzhenyu

[Yahoo-eng-team] [Bug 1644725] Re: Check destination_type when booting with bdm provided

2016-12-20 Thread Zhenyu Zheng
** Also affects: python-openstackclient Importance: Undecided Status: New ** Changed in: python-openstackclient Assignee: (unassigned) => Zhenyu Zheng (zhengzhenyu) ** No longer affects: python-openstackclient -- You received this bug notification because you are a mem

[Yahoo-eng-team] [Bug 1651064] [NEW] HTTP 500 when calling os-volume_boot with invalid destination_type

2016-12-19 Thread Zhenyu Zheng
n be found in: http://paste.openstack.org/show/592762/ ** Affects: nova Importance: Undecided Assignee: Zhenyu Zheng (zhengzhenyu) Status: New ** Changed in: nova Assignee: (unassigned) => Zhenyu Zheng (zhengzhenyu) -- You received this bug notification because you

[Yahoo-eng-team] [Bug 1650188] [NEW] Concurrently update server's metadata are handled badly

2016-12-15 Thread Zhenyu Zheng
come first serve style, lets say call A has successfully handled, the metadata in DB is now old_meta + A, then we will handle call B, as the target meta is old_meta + B hence A will be removed. ** Affects: nova Importance: Undecided Assignee: Zhenyu Zheng (zhengzhenyu) Status

[Yahoo-eng-team] [Bug 1648323] [NEW] Should not allow duplicate device name when provide bdm for create

2016-12-07 Thread Zhenyu Zheng
in: http://paste.openstack.org/show/591749 ** Affects: nova Importance: Undecided Assignee: Zhenyu Zheng (zhengzhenyu) Status: New ** Changed in: nova Assignee: (unassigned) => Zhenyu Zheng (zhengzhenyu) -- You received this bug notification because you are a member of Ya

[Yahoo-eng-team] [Bug 1645175] [NEW] Neutron port got deleted when attach port failed

2016-11-27 Thread Zhenyu Zheng
quot;ce211f7b-e808-4222-80e4-9bec9113afa3", "ip_address": "10.0.0.1"} | | eaf6a086-a146-4e45-8c4c-a54b209e80c4 | | fa:16:3e:5d:89:bd | {"subnet_id": "ce211f7b-e808-4222-80e4-9bec9113afa3", "ip_address": "10.0.0.2"}

[Yahoo-eng-team] [Bug 1644725] Re: Check destination_type when booting with bdm provided

2016-11-24 Thread Zhenyu Zheng
se| | + +--+---+--+--+-+--+-+ + + The volume is still available. + + + The volume is actually not attached by checking the instance's XML. + We should forrbid the boot call with None destination_type

[Yahoo-eng-team] [Bug 1644725] [NEW] Check destination_type when booting with bdm provided

2016-11-24 Thread Zhenyu Zheng
Public bug reported: TBD ** Affects: nova Importance: Undecided Assignee: Zhenyu Zheng (zhengzhenyu) Status: New ** Changed in: nova Assignee: (unassigned) => Zhenyu Zheng (zhengzhenyu) -- You received this bug notification because you are a member of Ya

[Yahoo-eng-team] [Bug 1641814] [NEW] Don't apply multi-queue to SRIOV ports

2016-11-14 Thread Zhenyu Zheng
None:raise libvirtError('virDomainDefineXML() failed', conn=self) 2016-11-15 06:15:41.624 17224 ERROR nova.huawei.compute.manager [instance: d8a1c18a-6e20-41da-9115-c3f3e6c6b836] libvirtError: unsupported configuration: Unknown PCI device has been specified 2016-11-15 06:15:41.624 17224 ERR

[Yahoo-eng-team] [Bug 1640995] [NEW] Add microversion cap for each version to api-ref

2016-11-10 Thread Zhenyu Zheng
Importance: Undecided Assignee: Zhenyu Zheng (zhengzhenyu) Status: New ** Changed in: nova Assignee: (unassigned) => Zhenyu Zheng (zhengzhenyu) -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to OpenSt

[Yahoo-eng-team] [Bug 1640654] [NEW] Add flavor extra_spec info link to api_ref

2016-11-09 Thread Zhenyu Zheng
section in api-ref to let readers know where to find information and come up with better sulotion later. ** Affects: nova Importance: Undecided Assignee: Zhenyu Zheng (zhengzhenyu) Status: New ** Changed in: nova Assignee: (unassigned) => Zhenyu Zheng (zhengzhenyu) --

[Yahoo-eng-team] [Bug 1639152] [NEW] Send out notification about server group changes when delete instances

2016-11-04 Thread Zhenyu Zheng
-date. We should send out notification about server group changes when delete instances. ** Affects: nova Importance: Undecided Assignee: Zhenyu Zheng (zhengzhenyu) Status: New ** Changed in: nova Assignee: (unassigned) => Zhenyu Zheng (zhengzhenyu) ** Description cha

[Yahoo-eng-team] [Bug 1615883] [NEW] The server_group_members quota cannot work when bulk boot instances

2016-08-22 Thread Zhenyu Zheng
boot instances, the count here will be incorrect if we don't refresh the instance_group members. https://git.openstack.org/cgit/openstack/nova/tree/nova/compute/api.py#n975 ** Affects: nova Importance: Undecided Assignee: Zhenyu Zheng (zhengzhenyu) Status: New ** Changed in: nova

[Yahoo-eng-team] [Bug 1615545] [NEW] The parameter all_tenants should not be used by non-admins

2016-08-22 Thread Zhenyu Zheng
Public bug reported: In http://git.openstack.org/cgit/openstack/nova/tree/nova/api/openstack/compute/servers.py#n1099 the parameter "all_tenants" is also treated as an available parameter for non-admins, this search option should be strict to admin users. ** Affects: nova Importance:

[Yahoo-eng-team] [Bug 1615456] [NEW] use request_id oslo middleware

2016-08-21 Thread Zhenyu Zheng
Public bug reported: The middleware RequestId from oslo middleware can totally replace compute_req_id middleware in nova, there will be no reason to still have it. ** Affects: nova Importance: Undecided Assignee: Zhenyu Zheng (zhengzhenyu) Status: New ** Changed in: nova

[Yahoo-eng-team] [Bug 1588171] Re: Should update nova api version to 2.1

2016-06-02 Thread Zhenyu Zheng
** Also affects: python-openstackclient Importance: Undecided Status: New -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to neutron. https://bugs.launchpad.net/bugs/1588171 Title: Should update nova api version to 2.1

[Yahoo-eng-team] [Bug 1588171] Re: Should update nova api version to 2.1

2016-06-02 Thread Zhenyu Zheng
in: searchlight Assignee: (unassigned) => Zhenyu Zheng (zhengzhenyu) ** Changed in: ceilometer Assignee: (unassigned) => Zhenyu Zheng (zhengzhenyu) ** Description changed: - As nova api had abandoned 2.0, and suggest to use v2.1 if we call nova. - So should update the version fr

[Yahoo-eng-team] [Bug 1584752] [NEW] copy image id to image metadata from volume

2016-05-23 Thread Zhenyu Zheng
Importance: Undecided Assignee: Zhenyu Zheng (zhengzhenyu) Status: In Progress ** Changed in: nova Assignee: (unassigned) => Zhenyu Zheng (zhengzhenyu) ** Description changed: - According to https://review.openstack.org/#/c/204947/ image id is considered to be - usel

[Yahoo-eng-team] [Bug 1584747] [NEW] Boot from volume cannot work when IsolatedHostsFilter is configured

2016-05-23 Thread Zhenyu Zheng
ntedError: Cannot load 'id' in the base class 2016-05-23 20:12:17.975 61434 ERROR oslo_messaging.rpc.dispatcher This is due to the image_id property didn't copied from cinder volume's image properties to nova. ** Affects: nova Importance: Undecided Assignee: Zhenyu Zheng (zhengzhenyu

[Yahoo-eng-team] [Bug 1572376] [NEW] We should also add check for detach interface capabilities of drivers

2016-04-19 Thread Zhenyu Zheng
Public bug reported: In https://review.openstack.org/#/c/272471/ we added checks of attach interface capabilies of drivers, but the checks of detach interfaces was forgot. We should also add it. ** Affects: nova Importance: Undecided Assignee: Zhenyu Zheng (zhengzhenyu

[Yahoo-eng-team] [Bug 1571600] [NEW] When Non-admin list server group list an 403 error should return

2016-04-18 Thread Zhenyu Zheng
Public bug reported: When Non-admin list server group with all_projects, an 403 error should return instead of returning server groups in this project. ** Affects: nova Importance: Undecided Assignee: Zhenyu Zheng (zhengzhenyu) Status: New ** Changed in: nova Assignee

[Yahoo-eng-team] [Bug 1564197] [NEW] Nova should have the ability to retrieve host IP when live migrating

2016-03-30 Thread Zhenyu Zheng
2016-03-30T16:53:59+08:00 13CC40D2-1DD2-11B2-9C27-00821800 nova-compute: VM running on src, migration failed 2016-03-30T16:53:59+08:00 13CC40D2-1DD2-11B2-9C27-00821800 nova-compute: Fixed incorrect job type to be 4 2016-03-30T16:53:59+08:00 13CC40D2-1DD2-11B2-9C27-00821800 nova-compute:

[Yahoo-eng-team] [Bug 1561889] [NEW] deprecate and remove some glance config options

2016-03-25 Thread Zhenyu Zheng
Public bug reported: The old glance config options host, port and protocol is marked to be removed in Newton to use api_servers instead. But the deprecation and remove work has not been done. ** Affects: nova Importance: Undecided Assignee: Zhenyu Zheng (zhengzhenyu) Status

[Yahoo-eng-team] [Bug 1553921] Re: Nova API didn't check whether user provide injected file content

2016-03-08 Thread Zhenyu Zheng
** Changed in: nova Status: In Progress => Invalid -- 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/1553921 Title: Nova API didn't check whether user provide

[Yahoo-eng-team] [Bug 1553921] [NEW] Nova API didn't check whether user provide injected file content

2016-03-07 Thread Zhenyu Zheng
Public bug reported: As demonstrated in Nova API ref: ** Affects: nova Importance: Undecided Status: New -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to OpenStack Compute (nova).

[Yahoo-eng-team] [Bug 1552071] [NEW] Non-admin users can use changes-since to show deleted instances when list servers

2016-03-01 Thread Zhenyu Zheng
Zheng (zhengzhenyu) Status: New ** Changed in: nova Assignee: (unassigned) => Zhenyu Zheng (zhengzhenyu) -- 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/1552

[Yahoo-eng-team] [Bug 1550671] [NEW] The limit of injected file conetent length is incorrect

2016-02-27 Thread Zhenyu Zheng
Public bug reported: According to http://developer.openstack.org/api-ref-compute-v2.1.html#createServer , the perameter personality has limits about path length and content length. And it is pointed out that the content should be base64 encoded string and the content length limit is the limit

[Yahoo-eng-team] [Bug 1539342] Re: AttributeError raised during roll_back_live_migration_at_destination

2016-02-26 Thread Zhenyu Zheng
@Matt Riedemann, Hi, sorry for the delay, I was on vacation, I realized I was in the middle of your BP implementation when I find out this bug, I will close this one. ** Changed in: nova Status: Incomplete => Invalid -- You received this bug notification because you are a member of

[Yahoo-eng-team] [Bug 1539342] [NEW] AttributeError raised during roll_back_live_migration_at_destination

2016-01-28 Thread Zhenyu Zheng
This will cause AttributeError. ** Affects: nova Importance: Undecided Assignee: Zhenyu Zheng (zhengzhenyu) Status: New ** Changed in: nova Assignee: (unassigned) => Zhenyu Zheng (zhengzhenyu) ** Description changed: - In roll_back_live_migration_at_destination, we tr

[Yahoo-eng-team] [Bug 1538054] [NEW] attach_interface in nova.compute.manager didn't handle NotImplemented Error

2016-01-26 Thread Zhenyu Zheng
it. ** Affects: nova Importance: Undecided Assignee: Zhenyu Zheng (zhengzhenyu) Status: New ** Changed in: nova Assignee: (unassigned) => Zhenyu Zheng (zhengzhenyu) -- You received this bug notification because you are a member of Yahoo! Engineering Team, wh

[Yahoo-eng-team] [Bug 1528743] [NEW] HostState in Scheduler can be incorrect

2015-12-22 Thread Zhenyu Zheng
also update the information from ComputeNode object, and avoid the inconsistency between different services. ** Affects: nova Importance: Undecided Assignee: Zhenyu Zheng (zhengzhenyu) Status: New ** Changed in: nova Assignee: (unassigned) => Zhenyu Zheng (zhengzhenyu)

[Yahoo-eng-team] [Bug 1526162] [NEW] Add instance.save() when handling nova-compute failure during a soft reboot

2015-12-14 Thread Zhenyu Zheng
of this logic, so the task state didn't saved and the logic doesn't work. ** Affects: nova Importance: Undecided Assignee: Zhenyu Zheng (zhengzhenyu) Status: In Progress ** Changed in: nova Assignee: (unassigned) => Zhenyu Zheng (zhengzhenyu) ** Description changed: In pa

[Yahoo-eng-team] [Bug 1522329] [NEW] Check 'destination_type' instead of 'source_type' when boot instance by image and a volume with name 'vda'

2015-12-03 Thread Zhenyu Zheng
' as the identifier, as this will actually identify that a cinder volume will be added as 'vda'. ** Affects: nova Importance: Undecided Assignee: Zhenyu Zheng (zhengzhenyu) Status: New ** Changed in: nova Assignee: (unassigned) => Zhenyu Zheng (zhengzhenyu) -- You received this

[Yahoo-eng-team] [Bug 1494617] [NEW] Different behavior in API and DB when Nova list with limit set to 0

2015-09-11 Thread Zhenyu Zheng
[], this is quite different with comment in the api code. ** Affects: nova Importance: Undecided Assignee: Zhenyu Zheng (zhengzhenyu) Status: New ** Changed in: nova Assignee: (unassigned) => Zhenyu Zheng (zhengzhenyu) -- You received this bug notification because

[Yahoo-eng-team] [Bug 1489304] [NEW] Lack of volume status checks when detaching volume in rebuild.

2015-08-27 Thread Zhenyu Zheng
. This is different with the normal volume detach process. Besides, when rebuilding, we should only allow detaching the volume with in-use status, volume in status such as 'retyping' should not allowed. ** Affects: nova Importance: Undecided Assignee: Zhenyu Zheng (zhengzhenyu

[Yahoo-eng-team] [Bug 1485408] [NEW] Deadlock when querying user quota usage.

2015-08-16 Thread Zhenyu Zheng
Public bug reported: Currently, when querying user quota usages, the query process is not Order Preserved, this may causes deadlock in bulk creations. That is, for example, there are 2 rows in the DB, the first call get the record from the 1st row and lock, at the same time, an another call get

[Yahoo-eng-team] [Bug 1484343] [NEW] Race conditions for quota_usage tabel

2015-08-12 Thread Zhenyu Zheng
record may be recorded to the list for the same user and same resources. ** Affects: nova Importance: Undecided Assignee: Zhenyu Zheng (zhengzhenyu) Status: New ** Changed in: nova Assignee: (unassigned) = Zhenyu Zheng (zhengzhenyu) -- You received this bug notification

[Yahoo-eng-team] [Bug 1482040] [NEW] rebuild volume-backed instance with image

2015-08-05 Thread Zhenyu Zheng
'/ /disk ** Affects: nova Importance: Undecided Assignee: Zhenyu Zheng (zhengzhenyu) Status: New ** Changed in: nova Assignee: (unassigned) = Zhenyu Zheng (zhengzhenyu) -- You received this bug notification because you are a member of Yahoo! Engineering Team, which

[Yahoo-eng-team] [Bug 1481210] [NEW] No tenant id displayed using server-group-list --all-projects

2015-08-04 Thread Zhenyu Zheng
Public bug reported: Currently, Admin can list all existing server groups using nova server-group-list --all-projects. But the output display does not contain project id information, it is really difficult to identify which server group belongs to which project. ** Affects: nova

[Yahoo-eng-team] [Bug 1481210] Re: No tenant id displayed using server-group-list --all-projects

2015-08-04 Thread Zhenyu Zheng
** Also affects: nova Importance: Undecided Status: New ** No longer affects: nova ** Also affects: nova Importance: Undecided Status: New ** Changed in: nova Assignee: (unassigned) = Zhenyu Zheng (zhengzhenyu) -- You received this bug notification because you

[Yahoo-eng-team] [Bug 1481210] Re: No tenant id displayed using server-group-list --all-projects

2015-08-04 Thread Zhenyu Zheng
** Project changed: nova = python-novaclient -- 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/1481210 Title: No tenant id displayed using server-group-list --all-projects

[Yahoo-eng-team] [Bug 1480040] [NEW] Allow resize root_gb to 0 for volume-backed instances

2015-07-30 Thread Zhenyu Zheng
it should not be limited by flavor's root_gb. ** Affects: nova Importance: Undecided Assignee: Zhenyu Zheng (zhengzhenyu) Status: New ** Changed in: nova Assignee: (unassigned) = Zhenyu Zheng (zhengzhenyu) -- You received this bug notification because you are a member

[Yahoo-eng-team] [Bug 1476114] [NEW] Launch instance failed using instances' snapshot created volume

2015-07-20 Thread Zhenyu Zheng
-0bbb-4b0a-bb1b-a72467585385 ed64bccd0227444fa02dbd7695769a7d b8112a8d8227490eba99419b8a8c2555 - - -] http://10.250.10.17:8774/v2/b8112a8d8227490eba99419b8a8c2555/os-volumes_boot returned with HTTP 500 ** Affects: nova Importance: Undecided Assignee: Zhenyu Zheng (zhengzhenyu

[Yahoo-eng-team] [Bug 1475112] [NEW] Instacne should return to its initial state instead of ACTIVE when resize fails

2015-07-15 Thread Zhenyu Zheng
44c538801d8f46fa9b9b15d7d7986bef 939300520ec34fea975ef197c8fd61b8 - - -] Exception during message handling: Resize error: Unable to resize disk down. 2015-07-16 11:22:00.706 25351 ERROR oslo_messaging.rpc.dispatcher Traceback (most recent call last): ** Affects: nova Importance: Undecided Assignee: Zhenyu Zheng

[Yahoo-eng-team] [Bug 1470834] [NEW] Device name error when creating instance using snapshot of volume-booted instance

2015-07-02 Thread Zhenyu Zheng
: nova Importance: Undecided Assignee: Zhenyu Zheng (zhengzhenyu) Status: New ** Changed in: nova Assignee: (unassigned) = Zhenyu Zheng (zhengzhenyu) -- You received this bug notification because you are a member of Yahoo

[Yahoo-eng-team] [Bug 1470702] [NEW] Cannot Rebuild Volume Booted Instance

2015-07-01 Thread Zhenyu Zheng
it from a new image or the snapshot of this instance (nova just detach and attach again the same volume). ** Affects: nova Importance: Undecided Assignee: Zhenyu Zheng (zhengzhenyu) Status: New ** Changed in: nova Assignee: (unassigned) = Zhenyu Zheng (zhengzhenyu) -- You

[Yahoo-eng-team] [Bug 1468212] [NEW] Instance action event for live-migration is missing

2015-06-24 Thread Zhenyu Zheng
Importance: Undecided Assignee: Zhenyu Zheng (zhengzhenyu) Status: New ** Changed in: nova Assignee: (unassigned) = Zhenyu Zheng (zhengzhenyu) -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to OpenStack Compute (nova

[Yahoo-eng-team] [Bug 1459542] [NEW] Move check whether instance is booted from volume from libvirt/driver.py to API

2015-05-28 Thread Zhenyu Zheng
layer. ** Affects: nova Importance: Undecided Assignee: Zhenyu Zheng (zhengzhenyu) Status: New ** Changed in: nova Assignee: (unassigned) = Zhenyu Zheng (zhengzhenyu) -- You received this bug notification because you are a member of Yahoo! Engineering Team, which

[Yahoo-eng-team] [Bug 1459468] [NEW] When doing resize action, CONF.allow_resize_on_same_host should check only once

2015-05-27 Thread Zhenyu Zheng
Importance: Undecided Assignee: Zhenyu Zheng (zhengzhenyu) Status: New -- 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/1459468 Title: When doing resize action

[Yahoo-eng-team] [Bug 1458425] [NEW] Cleanup all base.NovaObjectDictCompat

2015-05-24 Thread Zhenyu Zheng
Public bug reported: Cleanup all base.NovaObjectDictCompat according to Daniel Berrange's TODO comment. ** Affects: nova Importance: Undecided Status: New -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to OpenStack

[Yahoo-eng-team] [Bug 1458285] [NEW] Remove outdated TODO comment

2015-05-24 Thread Zhenyu Zheng
in documentation and source code. Since Brian Waldon didn't participated anymore in OpenStack after Aug, 2013. It is better to remove this TODO comment to avoid misunderstanding. ** Affects: nova Importance: Undecided Assignee: Zhenyu Zheng (zhengzhenyu) Status: In Progress -- You

[Yahoo-eng-team] [Bug 1458286] [NEW] The input parameter for agents update is different from other APIs

2015-05-24 Thread Zhenyu Zheng
Public bug reported: The parameter in nova/api/openstack/compute/plugins/v3/agents.py function: update name para is different from the ones of the other APIs. Most other names are resource names like server etc. This name should be changed to agent for consistent naming with v2.1+microversions.

[Yahoo-eng-team] [Bug 1456872] [NEW] Instance UUID and Instance name is misused in virt/vmwareapi/vmops.py

2015-05-19 Thread Zhenyu Zheng
use instance.uuid. ** Affects: nova Importance: Undecided Assignee: Zhenyu Zheng (zhengzhenyu) Status: New ** Changed in: nova Assignee: (unassigned) = Zhenyu Zheng (zhengzhenyu) -- You received this bug notification because you are a member of Yahoo! Engineering Team

[Yahoo-eng-team] [Bug 1454515] [NEW] Property instance.disable_terminate is always False and never actually used.

2015-05-13 Thread Zhenyu Zheng
Public bug reported: The property instance.disable_terminate is initialized using: disable_terminate = Column(Boolean(), default=False) in \nova\db\sqlalchemy\models.py This property is then used in 1) compute\api: def _delete(self, context, instance, delete_type, cb, **instance_attrs):

[Yahoo-eng-team] [Bug 1446990] [NEW] Create VM with selected Availability Zone will always return information with default AZ

2015-04-22 Thread Zhenyu Zheng
| +--+--+ ** Affects: nova Importance: Undecided Assignee: Zhenyu Zheng (zhengzhenyu) Status: Confirmed ** Changed in: nova Assignee: (unassigned) = Zhenyu Zheng (zhengzhenyu) -- You