F #5838, #5886: Required changes for ubuntu 22.04

* Support for system ds disks of type BLOCK, required by newer versions
  of libvirt/qemu
* Improved parsing of driver messages
* Explicit set of backing file type for newer versions of qemu-img
* Conform to new openssl command output
* Add lock file for ubuntu2204 ruby gems and new dependencies

co-authored-by: Christian González <cgonzalez@opennebula.io>
This commit is contained in:
Ruben S. MonteroandChristian González committed 2022-06-22 13:23:05 +02:00
1 parent 58118973bb
commit f006341931
8 files changed
+267 -11

No files matched your search

+4 -3
View File
@@ -67,6 +67,7 @@ void ImageManager::_cp(unique_ptr<image_msg_t> msg)
ostringstream oss;
istringstream is(info);
is >> skipws;
auto image = ipool->get(msg->oid());
@@ -74,7 +75,7 @@ void ImageManager::_cp(unique_ptr<image_msg_t> msg)
{
if (msg->status() == "SUCCESS")
{
is >> source >> ws;
is >> source;
if (!source.empty())
{
@@ -95,14 +96,14 @@ void ImageManager::_cp(unique_ptr<image_msg_t> msg)
goto error;
}
is >> source >> ws;
is >> source;
if (is.fail())
{
goto error;
}
is >> format >> ws;
is >> format;
if (is.fail() || format.empty())
{