[Yahoo-eng-team] [Bug 1470341] [NEW] Cannot remove host from aggregate if host has been deleted

2015-06-30 Thread Qin Zhao
Public bug reported: Kilo code Reproduce steps: 1. Assuming that we have one nova-compute node named 'icm' which is added into one aggregate named 'zhaoqin' [root@icm ~]# nova aggregate-details zhaoqin ++-+---+---++ | Id | Name

[Yahoo-eng-team] [Bug 1453666] [NEW] libvirt: guestfs api makes nova-compute hang

2015-05-10 Thread Qin Zhao
Public bug reported: Latest Kilo code. In inspect_capabilities() of nova/virt/disk/vfs/guestfs.py, guestfs api, which is C-extension, will hang nova-compute process when it is invoked. This problem will result in message queue time out error and instance booting failure. And example of this prob

[Yahoo-eng-team] [Bug 1444841] [NEW] Resize instance fails after creating host aggregate

2015-04-16 Thread Qin Zhao
Public bug reported: Latest Kilo code Reproduce steps: 1. Do not define any host aggregate. AZ of host is 'nova'. Boot one instance named 'zhaoqin-nova' whose AZ is 'nova' 2. Create host aggregate 'zhaoqin' whose AZ is 'zhaoqin-az'. Add host to 'zhaoqin' aggregate. Now AZ of instance 'zhaoqin

[Yahoo-eng-team] [Bug 1428497] Re: Switch to oslo_messaging in entry_points.txt

2015-03-05 Thread Qin Zhao
It seems that it is already fixed by https://review.openstack.org/#/c/153092/ ** Changed in: nova Status: New => 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/

[Yahoo-eng-team] [Bug 1428497] [NEW] Switch to oslo_messaging in entry_points.txt

2015-03-04 Thread Qin Zhao
Public bug reported: oslo.messaging 1.6.0 has moved notification implementation to oslo_messaging directory. Need to change the class path in entry_points.txt. ** Affects: nova Importance: Undecided Status: New -- You received this bug notification because you are a member of Yaho

[Yahoo-eng-team] [Bug 1417744] [NEW] nova-compute fail to start after change driver

2015-02-03 Thread Qin Zhao
Public bug reported: Kilo latest code Reproduce steps: 1. In nova.conf, compute_driver=libvirt.LibvirtDriver. Start nova- compute. 2. Modify nova.conf, compute_driver=vmwareapi.VMwareVCDriver. Restart nova-compute. 3. Modify nova.conf, compute_driver=libvirt.LibvirtDriver. Restart nova-co

[Yahoo-eng-team] [Bug 1397879] [NEW] User is not informed if reboot VM fail

2014-12-01 Thread Qin Zhao
Public bug reported: The current workflow of rebooting a instance is: 1. Reboot an active instance. If succeed, instance is still in active state. 2. Reboot an active instance. If fail, and power_state is running, instance is still in active state. 3. Reboot an active instance. If fail, and pow

[Yahoo-eng-team] [Bug 1394052] [NEW] Fix exception handling in _get_host_metrics()

2014-11-18 Thread Qin Zhao
Public bug reported: In resource_tracker.py, the exception path of _get_host_metrics() contains a wrong variable name. for monitor in self.monitors: try: metrics += monitor.get_metrics(nodename=nodename) except Exception: LOG.warn(_(

[Yahoo-eng-team] [Bug 1389985] Re: CLI will fail one time after restarting DB

2014-11-13 Thread Qin Zhao
** Also affects: keystone 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/1389985 Title: CLI will fail one time after restarti

[Yahoo-eng-team] [Bug 1389985] Re: CLI will fail one time after restarting DB

2014-11-13 Thread Qin Zhao
** Also 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/1389985 Title: CLI will fail one time after restarting D

[Yahoo-eng-team] [Bug 1389102] [NEW] Instance error message truncation error in non-English locale

2014-11-03 Thread Qin Zhao
Public bug reported: 1. Change OpenStack server to Russian locale, LANG=ru_RU.utf8 2. Set firefox client browser locale to russian(ru) 3. Trigger an operational failure that has a message that tries to get written to a Nova instance fault Stacktrace 2014-10-30 05:55:34.933 18371 TRACE oslo.me

[Yahoo-eng-team] [Bug 1387950] [NEW] libvirt: fail to delete VM due to libvirt timeout

2014-10-30 Thread Qin Zhao
Public bug reported: When I run longevity test against Juno code, I notice that that delete VM operation occasionally fails. The stack trace is: File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 2507, in _delete_instance self._shutdown_instance(context, instance, bdms)

[Yahoo-eng-team] [Bug 1387327] Re: Fail to create VM snapshot with unicode snapshot name

2014-10-29 Thread Qin Zhao
Eventually, I notice that x-auth-token parameter in glance request http header is still a unicode string. No error will occur after change it to a plain string. >>> "\r\n".join(['PUT /v1/images/ffec0090-a529-4e5a-8a8d-603a1828105a >>> HTTP/1.1', 'Host: 10.104.0.154:9292', 'Accept-Encoding: gzip,

[Yahoo-eng-team] [Bug 1387327] [NEW] Fail to create VM snapshot with unicode snapshot name

2014-10-29 Thread Qin Zhao
Public bug reported: When I attempt to create a VM snapshot via Horizon UI, I name this new snapshot a unicode name (snapshot-ABC一丁七ÇàâアイウДфэبتثअइउ€¥噂ソ十豹竹敷). Then the snapshot operation failed in nova-compute process. The stack trace is: 2014-10-29 16:11:26.077 3551 ERROR oslo.messaging.rpc.dispa

[Yahoo-eng-team] [Bug 1382343] [NEW] HTTP 500 is returned when using an invalid port id to attach interface

2014-10-16 Thread Qin Zhao
Public bug reported: When I post an 'attach interface' request to Nova with an invalid port id, Nova returns an HTTP 500 error and a confusing error message. REQ: curl -i 'http://10.104.0.214:8774/v2/b6a08719633d416da2d12265debac838/servers/fd21141e-4fb6-4e2a-9638-f37efe854003/os-interface' -X

[Yahoo-eng-team] [Bug 1380901] [NEW] Refine HTTP error code for os-interface

2014-10-13 Thread Qin Zhao
Public bug reported: Related bug --> https://bugs.launchpad.net/nova/+bug/1363901 When attaching interface to an instance, Neutron may return several types of error to Nova (Eg. PortNotFound, PortInUse and etc.) Nova need to translate those error into a correct HTTP error code, so that end user

[Yahoo-eng-team] [Bug 1379684] [NEW] Remove 'require_admin_context' from sqlalchemy api

2014-10-10 Thread Qin Zhao
Public bug reported: There are still many 'require_admin_context' defined for db operation, which prevent rbac definition in policy.json. For example, a user defined non-admin role to manage quota will not be able to modify quota size. Plan to remove 'require_admin_context' from sqlalchemy module

[Yahoo-eng-team] [Bug 1370359] [NEW] HTTP 500 is returned when using an invalid network id to attach interface

2014-09-16 Thread Qin Zhao
Public bug reported: When I post an 'attach interface' request to Nova with an invalid network id, Nova returns an HTTP 500 which informs me that the attach interface operation fails. REQ: curl -i 'http://10.90.10.24:8774/v2/19abae5746b242d489d1c2862b228d8b/servers/4e863fad-e868-48a1-8735-2da9a3

[Yahoo-eng-team] [Bug 1369871] Re: HTTP 500 is returned when using an invalid ip for defined network to attach interface

2014-09-15 Thread Qin Zhao
** Project changed: nova => neutron ** Also affects: nova Importance: Undecided Status: New ** Also affects: python-neutronclient Importance: Undecided Status: New -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed

[Yahoo-eng-team] [Bug 1369871] [NEW] HTTP 500 is returned when using an invalid ip for defined network to attach interface

2014-09-15 Thread Qin Zhao
Public bug reported: When I post an 'attach interface' request to Nova with an invalid ip for defined network, Nova returns an HTTP 500 error and a confusing error message. REQ: curl -i 'http://10.90.10.24:8774/v2/19abae5746b242d489d1c2862b228d8b/servers/4e863fad-e868-48a1-8735-2da9a38561e8/os-i

[Yahoo-eng-team] [Bug 1365579] [NEW] HTTP 500 is returned when using an invalid fixed ip to attach interface

2014-09-04 Thread Qin Zhao
Public bug reported: When I post an 'attach interface' request to Nova with an invalid fixed ip, Nova returns an HTTP 500 error and a confusing error message. REQ: curl -i 'http://10.90.10.24:8774/v2/19abae5746b242d489d1c2862b228d8b/servers/1b1618fa-ddbd-4fce-aa04-720a72ec7dfe/os-interface' -X

[Yahoo-eng-team] [Bug 1363901] [NEW] HTTP 500 is returned when using an in-used fixed ip to attach interface

2014-09-01 Thread Qin Zhao
Public bug reported: When I post an 'attach interface' request to Nova with an in-used fixed ip, Nova returns an HTTP 500 error and a confusing error message. REQ: curl -i 'http://10.90.10.24:8774/v2/19abae5746b242d489d1c2862b228d8b/servers/b5cdb8f7-2350-4e28-bf75-7a696dfba73a/os-interface' -X

[Yahoo-eng-team] [Bug 1362929] [NEW] libvirt: KVM live migration failed due to VIR_DOMAIN_XML_MIGRATABLE flag

2014-08-28 Thread Qin Zhao
Public bug reported: OS version: RHEL 6.5 libvirt version: libvirt-0.10.2-29.el6_5.9.x86_64 When I attempt to live migrate my KVM instance using latest Juno code on RHEL 6.5, I notice nova-compute error on source compute node: 2014-08-27 09:24:41.836 26638 ERROR nova.virt.libvirt.driver [-] [in

[Yahoo-eng-team] [Bug 1359072] [NEW] Incorrect logic of _modify_rules() in IptablesManager

2014-08-20 Thread Qin Zhao
Public bug reported: The logic of _modify_rules() seems not correct. For instance, assuming that we have a in-memory table like this: :bn-chain001 - [0:0] :chain002 - [0:0] [0:0] -A bn-chain001 rule001 [0:0] -A chain002 rule002 and iptables-save output like this: # Generated by zhaoqin on mars

[Yahoo-eng-team] [Bug 1358609] [NEW] ENOENT error breaks update_status() of libvirt driver

2014-08-18 Thread Qin Zhao
Public bug reported: ENOENT error breaks update_status() during PowerKVM testing. It should be a bug of libvirt driver. Exception log: 2014-08-15 16:03:59.038 42817 ERROR nova.openstack.common.periodic_task [-] Error during PowerVCComputeManager.update_available_resource: [Errno 2] No such fil

[Yahoo-eng-team] [Bug 1340564] [NEW] Very bad performance of concurrent spawning VMs to VCenter

2014-07-11 Thread Qin Zhao
Public bug reported: When 10 user starts to provision VMs to a VCenter, OpenStack chooses one same datastore for everyone. After the first clone task is complete, OpenStack recognizes that datastore space usage is increased, and will choose another datastore. However, all the next 9 provision t

[Yahoo-eng-team] [Bug 1321082] [NEW] libvirt driver detach_volume fails after migration failure

2014-05-19 Thread Qin Zhao
Public bug reported: When a VM with an attached iSCSI disk fails to migrate, the rollback methods does not detach the disk from target host. What happens is _lookup_by_name() fails, since the VM does not exist on the target host. In detach_volume(), it is supposed to print a warning based on the

[Yahoo-eng-team] [Bug 1313477] [NEW] libvirt driver hang when boot new instance

2014-04-27 Thread Qin Zhao
Public bug reported: Python stack (gdb) py-bt #4 file '/usr/lib64/python2.6/subprocess.py', in '_eintr_retry_call' #8 file '/usr/lib64/python2.6/subprocess.py', in '_execute_child' #11 file '/usr/lib64/python2.6/subprocess.py', in '__init__' #18 file '/usr/lib/python2.6/site-packages/eventlet/gre

[Yahoo-eng-team] [Bug 1297639] Re: [libvirt] resize-confirm fails using NFS share storage

2014-04-20 Thread Qin Zhao
*** This bug is a duplicate of bug 1270304 *** https://bugs.launchpad.net/bugs/1270304 It seem that the process who was operating VM disk file is nova 14765 27141 0 Apr18 ?00:01:18 /usr/libexec/qemu-kvm -global virtio-blk-pci.scsi=off -nodefconfig -nodefaults -nographic -machine

[Yahoo-eng-team] [Bug 1297639] [NEW] [libvirt] resize-confirm fails using NFS share storage

2014-03-25 Thread Qin Zhao
Public bug reported: 2014-03-20 16:48:43.013 4979 TRACE nova.openstack.common.rpc.amqp File "/usr/lib/python2.6/site-packages/nova/virt/libvirt/driver.py", line 1019, in _cleanup_resize 2014-03-20 16:48:43.013 4979 TRACE nova.openstack.common.rpc.amqp utils.execute('rm', '-rf', target, de

[Yahoo-eng-team] [Bug 1265466] Re: Nova boot fail and raise NoValidHost when use specific aggregate

2014-02-13 Thread Qin Zhao
Hi Chen Zheng, I was not able to reproduce your problem today. Here is what I did: 1. create one controller and two compute (zhaoqin-RHEL-GPFS-tmp and zhaoqin-RHEL-GPFS-tmp1) 2. create two host groups [root@zhaoqin-RHEL-GPFS-tmp chaochin]# nova aggregate-details gpfs ++--+---