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
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 metadata/ bionic- proposed, now 2:17.0.13-0ubuntu4 all [installed] bionic- proposed, now 2:17.0.13-0ubuntu4 all [installed, automatic] bionic- proposed, now 2:17.0.13-0ubuntu4 all [installed] kvm/bionic- proposed, now 2:17.0.13-0ubuntu4 all [installed] libvirt/ bionic- proposed, now 2:17.0.13-0ubuntu4 all [installed, automatic]
nova-api-
nova-common/
nova-compute/
nova-compute-
nova-compute-
ubuntu@test:~/home$ juju run -a nova-compute -- grep "DiskNotFound" /var/log/ nova/nova- compute. log libvirt. driver [req-60b887da- 6da1-4463- b754-6d389d7f5d f3 - - - - -] 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-fc3f29d3a5 f8/disk: DiskNotFound: No disk at /var/lib/ nova/instances/ 5f5d2c95- afb0-4e8c- 9fd1-fc3f29d3a5 f8/disk
2021-10-19 09:22:11.422 19060 WARNING nova.virt.