os-xenapi: Exception Error logs shown in Citrix XenServer CI
There are many errors in the patchs which passed our XenServer CI,
it is because when run tempest, test case will ask nova sevice to
do snapshotting, then delete image before snapshotting done. Then
nova compute service couldn't find the image when do image upload
and raise an exception.
Normally the exception can be consumed by nova service. But the
exception generated by os-xenapi can't be recognized by nova, so
the error logs come out.
Add a exception in os_xenapi/client to mark image not found
exception and convert it to another exception which computer
service can process in nova/virt/xenapi.
Reviewed: https:/ /review. openstack. org/480406 /git.openstack. org/cgit/ openstack/ os-xenapi/ commit/ ?id=d674b836243 6eb966be1a2b892 30d8ac7e25a219
Committed: https:/
Submitter: Jenkins
Branch: master
commit d674b8362436eb9 66be1a2b89230d8 ac7e25a219
Author: naichuans <email address hidden>
Date: Wed Jul 5 08:20:40 2017 +0000
os-xenapi: Exception Error logs shown in Citrix XenServer CI
There are many errors in the patchs which passed our XenServer CI,
it is because when run tempest, test case will ask nova sevice to
do snapshotting, then delete image before snapshotting done. Then
nova compute service couldn't find the image when do image upload
and raise an exception.
Normally the exception can be consumed by nova service. But the
exception generated by os-xenapi can't be recognized by nova, so
the error logs come out.
Add a exception in os_xenapi/client to mark image not found
exception and convert it to another exception which computer
service can process in nova/virt/xenapi.
Change-Id: I16d199e93f615e 4f374d49948dcee b4d1d600aa9 e0ddd1fc29d533f deaab0a13a5
Depends-On: Ibe30a76f278264
Closes-Bug: 1700926