Hello Robie,

I have tested the proposed package using the test case.

We need to keep in mind that this patch does not allow the exception 
to be raised, but we still the error as a WARNING.

I am adding the packages used for testing together with the logs.

ubuntu@test:~/home$ juju run -a nova-compute -- "apt list nova*" | grep 
installed
nova-api-metadata/bionic-proposed,now 2:17.0.13-0ubuntu4 all [installed]
nova-common/bionic-proposed,now 2:17.0.13-0ubuntu4 all [installed,automatic]
nova-compute/bionic-proposed,now 2:17.0.13-0ubuntu4 all [installed]
nova-compute-kvm/bionic-proposed,now 2:17.0.13-0ubuntu4 all [installed]
nova-compute-libvirt/bionic-proposed,now 2:17.0.13-0ubuntu4 all 
[installed,automatic]

ubuntu@test:~/home$ juju run -a nova-compute -- grep "DiskNotFound" 
/var/log/nova/nova-compute.log
2021-10-19 09:22:11.422 19060 WARNING nova.virt.libvirt.driver 
[req-60b887da-6da1-4463-b754-6d389d7f5df3 - - - - -] Periodic task is updating 
the host stats, it is trying to get disk info for instance-00000001, but the 
backing disk storage was removed by a concurrent operation such as resize. 
Error: No disk at 
/var/lib/nova/instances/5f5d2c95-afb0-4e8c-9fd1-fc3f29d3a5f8/disk: 
DiskNotFound: No disk at 
/var/lib/nova/instances/5f5d2c95-afb0-4e8c-9fd1-fc3f29d3a5f8/disk


** Tags removed: verification-needed verification-needed-bionic

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1774249

Title:
  update_available_resource will raise DiskNotFound after resize but
  before confirm

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1774249/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to