The retrofit-image action fails when passed a focal image ID

Bug #1876819 reported by John George
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
charm-octavia-diskimage-retrofit
Fix Released
Undecided
Unassigned

Bug Description

The octavia-diskimage-retrofit action 'retrofit-image' fails when passed a focal image ID.
This deployment uses glance simple streams sync to add images to glance (see attached bundle).

ubuntu@litleo-cpe-7efe6852-56b2-4284-a908-74da2c7a946b:~/project$ openstack image list
+--------------------------------------+---------------------------------------------------------------+--------+
| ID | Name | Status |
+--------------------------------------+---------------------------------------------------------------+--------+
| 316578f4-a4dc-4163-81de-6038ba4823df | auto-sync/ubuntu-bionic-18.04-amd64-server-20200407-disk1.img | active |
| 50ef49a7-a812-410f-a668-ceb4e604f033 | auto-sync/ubuntu-focal-20.04-amd64-server-20200428-disk1.img | active |
| b3b8c5a1-4267-4281-8f1d-7e408cdec039 | auto-sync/ubuntu-trusty-14.04-amd64-server-20191107-disk1.img | active |
| 9d163be7-fe5d-485b-991f-d6b85afdaf00 | auto-sync/ubuntu-xenial-16.04-amd64-server-20200430-disk1.img | active |
+--------------------------------------+---------------------------------------------------------------+--------+

ubuntu@litleo-cpe-7efe6852-56b2-4284-a908-74da2c7a946b:~/project$ juju run-action -m foundations-maas:openstack --format=yaml --wait octavia-diskimage-retrofit/leader retrofit-image source-image=50ef49a7-a812-410f-a668-ceb4e604f033
unit-octavia-diskimage-retrofit-0:
  UnitId: octavia-diskimage-retrofit/0
  id: "21"
  message: Command '['octavia-diskimage-retrofit', '-u', 'stein', '/var/snap/octavia-diskimage-retrofit/common/tmp/tmpuesy46kk',
    '/var/snap/octavia-diskimage-retrofit/common/tmp/tmpxpat8a6z']' returned non-zero
    exit status 1.
  results:
    Stderr: |
      All snaps up to date.
    Stdout: |
      lxc
  status: failed
  timing:
    completed: 2020-05-04 21:05:25 +0000 UTC
    enqueued: 2020-05-04 20:59:41 +0000 UTC
    started: 2020-05-04 20:59:45 +0000 UTC

No issues observed when the bionic image ID is given.

Tags: cdo-qa
Revision history for this message
John George (jog) wrote :
Revision history for this message
Frode Nordahl (fnordahl) wrote :

We have added support for selecting series and updated how default values are selected during the 20.05 cycle, so support for this will be available in the 20.05 charms release.

Also note that there was a issue in the octavia-diskimage-retrofit tool itself that would prohibit retrofitting of Focal images.

This has also been resolved [0] and is undergoing final testing before release to the non-edge channel.

0: https://github.com/openstack-charmers/octavia-diskimage-retrofit/pull/22

Changed in charm-octavia-diskimage-retrofit:
status: New → Fix Committed
milestone: none → 20.05
David Ames (thedac)
Changed in charm-octavia-diskimage-retrofit:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.