DNS HA can't install on focal

Bug #1882508 reported by Chris MacNaughton
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Charms Deployment Guide
Fix Released
High
Peter Matulis
OpenStack HA Cluster Charm
Invalid
Undecided
Unassigned

Bug Description

The ha-relation-changed hook afails because the MAAS stable PPA used doesn't have focal configuration.

2020-06-08 09:07:21 INFO juju-log ha:84: Couldn't acquire DPKG lock. Will retry in 10 seconds
2020-06-08 09:07:31 DEBUG ha-relation-changed Hit:1 http://archive.ubuntu.com/ubuntu focal InRelease
2020-06-08 09:07:31 DEBUG ha-relation-changed Ign:2 http://ppa.launchpad.net/maas/stable/ubuntu focal InRelease
2020-06-08 09:07:31 DEBUG ha-relation-changed Get:3 http://archive.ubuntu.com/ubuntu focal-updates InRelease [107 kB]
2020-06-08 09:07:31 DEBUG ha-relation-changed Err:4 http://ppa.launchpad.net/maas/stable/ubuntu focal Release
2020-06-08 09:07:31 DEBUG ha-relation-changed 404 Not Found [IP: 10.0.4.2 8000]
2020-06-08 09:07:31 DEBUG ha-relation-changed Get:5 http://archive.ubuntu.com/ubuntu focal-backports InRelease [98.3 kB]
2020-06-08 09:07:31 DEBUG ha-relation-changed Get:6 http://security.ubuntu.com/ubuntu focal-security InRelease [107 kB]
2020-06-08 09:07:33 DEBUG ha-relation-changed Reading package lists...
2020-06-08 09:07:33 DEBUG ha-relation-changed E: The repository 'http://ppa.launchpad.net/maas/stable/ubuntu focal Release' does not have a Release file.
2020-06-08 09:07:33 DEBUG ha-relation-changed Traceback (most recent call last):
2020-06-08 09:07:33 DEBUG ha-relation-changed File "/var/lib/juju/agents/unit-hacluster-vault-0/charm/hooks/ha-relation-changed", line 661, in <module>
2020-06-08 09:07:33 DEBUG ha-relation-changed hooks.execute(sys.argv)
2020-06-08 09:07:33 DEBUG ha-relation-changed File "/var/lib/juju/agents/unit-hacluster-vault-0/charm/charmhelpers/core/hookenv.py", line 943, in execute
2020-06-08 09:07:33 DEBUG ha-relation-changed self._hooks[hook_name]()
2020-06-08 09:07:33 DEBUG ha-relation-changed File "/var/lib/juju/agents/unit-hacluster-vault-0/charm/hooks/ha-relation-changed", line 348, in ha_relation_changed
2020-06-08 09:07:33 DEBUG ha-relation-changed setup_maas_api()
2020-06-08 09:07:33 DEBUG ha-relation-changed File "/var/lib/juju/agents/unit-hacluster-vault-0/charm/hooks/utils.py", line 999, in setup_maas_api
2020-06-08 09:07:33 DEBUG ha-relation-changed apt_update(fatal=True)
2020-06-08 09:07:33 DEBUG ha-relation-changed File "/var/lib/juju/agents/unit-hacluster-vault-0/charm/charmhelpers/fetch/ubuntu.py", line 307, in apt_update
2020-06-08 09:07:33 DEBUG ha-relation-changed _run_apt_command(cmd, fatal)
2020-06-08 09:07:33 DEBUG ha-relation-changed File "/var/lib/juju/agents/unit-hacluster-vault-0/charm/charmhelpers/fetch/ubuntu.py", line 768, in _run_apt_command
2020-06-08 09:07:33 DEBUG ha-relation-changed _run_with_retries(
2020-06-08 09:07:33 DEBUG ha-relation-changed File "/var/lib/juju/agents/unit-hacluster-vault-0/charm/charmhelpers/fetch/ubuntu.py", line 748, in _run_with_retries
2020-06-08 09:07:33 DEBUG ha-relation-changed result = subprocess.check_call(cmd, env=env)
2020-06-08 09:07:33 DEBUG ha-relation-changed File "/usr/lib/python3.8/subprocess.py", line 364, in check_call
2020-06-08 09:07:33 DEBUG ha-relation-changed raise CalledProcessError(retcode, cmd)
2020-06-08 09:07:33 DEBUG ha-relation-changed subprocess.CalledProcessError: Command '['apt-get', 'update']' returned non-zero exit status 100.
2020-06-08 09:07:33 ERROR juju.worker.uniter.operation runhook.go:132 hook "ha-relation-changed" failed: exit status 1

Changed in charm-deployment-guide:
assignee: nobody → Peter Matulis (petermatulis)
importance: Undecided → High
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to charm-deployment-guide (master)

Fix proposed to branch: master
Review: https://review.opendev.org/734141

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to charm-deployment-guide (master)

Reviewed: https://review.opendev.org/734141
Committed: https://git.openstack.org/cgit/openstack/charm-deployment-guide/commit/?id=0251a41aebd3ee339dca7298d66b3a195cb575ee
Submitter: Zuul
Branch: master

commit 0251a41aebd3ee339dca7298d66b3a195cb575ee
Author: Peter Matulis <email address hidden>
Date: Mon Jun 8 12:24:31 2020 -0400

    Add bug citation re DNS HA broken on focal

    Add a section to series-upgrade.rst for known
    series-related issues.

    Add a note to app-ha.rst; all READMEs for HA-aware
    charms point there.

    Minor drive-by formatting.

    Closes-Bug: #1882508

    Change-Id: I818827b481adb669e119843d47121be6684dd9de

Changed in charm-deployment-guide:
status: In Progress → Fix Released
Revision history for this message
Alex Kavanagh (ajkavanagh) wrote :

I think this is overtaken by events, thus setting to invalid; if this is still an issue, then please reset back to New and add additional supporting information.

Changed in charm-hacluster:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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