Fails to apt install python-netaddr on groovy

Bug #1903546 reported by Aurelien Lourot
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack HA Cluster Charm
Fix Released
High
Unassigned

Bug Description

https://openstack-ci-reports.ubuntu.com/artifacts/test_charm_pipeline_func_full/openstack/charm-barbican-vault/761541/1/7318/index.html

2020-11-09 14:24:07 INFO juju-log Installing ['crmsh', 'corosync', 'pacemaker', 'python-netaddr', 'ipmitool', 'libmonitoring-plugin-perl', 'python3-requests-oauthlib', 'python3-libmaas'] with options: ['--option=Dpkg::Options::=--force-confold']
2020-11-09 14:24:08 WARNING install E: Package 'python-netaddr' has no installation candidate
2020-11-09 14:24:08 INFO juju-log Couldn't acquire DPKG lock. Will retry in 10 seconds
2020-11-09 14:24:18 WARNING install E: Package 'python-netaddr' has no installation candidate
2020-11-09 14:24:18 INFO juju-log Couldn't acquire DPKG lock. Will retry in 10 seconds
2020-11-09 14:24:29 WARNING install E: Package 'python-netaddr' has no installation candidate
2020-11-09 14:24:29 INFO juju-log Couldn't acquire DPKG lock. Will retry in 10 seconds
2020-11-09 14:24:39 WARNING install E: Package 'python-netaddr' has no installation candidate
2020-11-09 14:24:40 WARNING install Traceback (most recent call last):
2020-11-09 14:24:40 WARNING install File "/var/lib/juju/agents/unit-barbican-hacluster-1/charm/hooks/install.real", line 703, in <module>
2020-11-09 14:24:40 WARNING install hooks.execute(sys.argv)
2020-11-09 14:24:40 WARNING install File "/var/lib/juju/agents/unit-barbican-hacluster-1/charm/charmhelpers/core/hookenv.py", line 945, in execute
2020-11-09 14:24:40 WARNING install self._hooks[hook_name]()
2020-11-09 14:24:40 WARNING install File "/var/lib/juju/agents/unit-barbican-hacluster-1/charm/hooks/install.real", line 160, in install
2020-11-09 14:24:40 WARNING install apt_install(filter_installed_packages(pkgs), fatal=True)
2020-11-09 14:24:40 WARNING install File "/var/lib/juju/agents/unit-barbican-hacluster-1/charm/charmhelpers/fetch/ubuntu.py", line 284, in apt_install
2020-11-09 14:24:40 WARNING install _run_apt_command(cmd, fatal)
2020-11-09 14:24:40 WARNING install File "/var/lib/juju/agents/unit-barbican-hacluster-1/charm/charmhelpers/fetch/ubuntu.py", line 776, in _run_apt_command
2020-11-09 14:24:40 WARNING install _run_with_retries(
2020-11-09 14:24:40 WARNING install File "/var/lib/juju/agents/unit-barbican-hacluster-1/charm/charmhelpers/fetch/ubuntu.py", line 756, in _run_with_retries
2020-11-09 14:24:40 WARNING install result = subprocess.check_call(cmd, env=env)
2020-11-09 14:24:40 WARNING install File "/usr/lib/python3.8/subprocess.py", line 364, in check_call
2020-11-09 14:24:40 WARNING install raise CalledProcessError(retcode, cmd)
2020-11-09 14:24:40 WARNING install subprocess.CalledProcessError: Command '['apt-get', '--assume-yes', '--option=Dpkg::Options::=--force-confold', 'install', 'crmsh', 'corosync', 'pacemaker', 'python-netaddr', 'ipmitool', 'libmonitoring-plugin-perl', 'python3-requests-oauthlib', 'python3-libmaas']' returned non-zero exit status 100.

$ rmadison python-netaddr
 python-netaddr | 0.7.5-4build2 | precise | source, all
 python-netaddr | 0.7.10-1build1 | trusty | source, all
 python-netaddr | 0.7.10-1ubuntu1.1 | trusty-updates | source, all
 python-netaddr | 0.7.18-1 | xenial | source, all
 python-netaddr | 0.7.19-1 | bionic | source, all
 python-netaddr | 0.7.19-3 | focal | source
 python-netaddr | 0.7.19-3 | focal/universe | all
 python-netaddr | 0.7.19-4 | groovy | source
 python-netaddr | 0.7.19-4 | hirsute | source

On groovy we need to install python3-netaddr instead of python-netaddr.

Changed in charm-hacluster:
status: New → In Progress
importance: Undecided → High
Changed in charm-hacluster:
assignee: nobody → Aurelien Lourot (aurelien-lourot)
Revision history for this message
Aurelien Lourot (aurelien-lourot) wrote :
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to charm-hacluster (master)

Reviewed: https://review.opendev.org/761559
Committed: https://git.openstack.org/cgit/openstack/charm-hacluster/commit/?id=2e799e5cf0c1da7e5cddf18179a60ff3f37c54a6
Submitter: Zuul
Branch: master

commit 2e799e5cf0c1da7e5cddf18179a60ff3f37c54a6
Author: Aurelien Lourot <email address hidden>
Date: Thu Nov 5 12:47:13 2020 +0100

    Fix install hook on Groovy

    Also add Groovy to the test gate and sync libraries

    Change-Id: If32560a88cfa6735bf5e502a70e6b84b0171f045
    Closes-Bug: #1903546

Changed in charm-hacluster:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to charm-hacluster (stable/20.10)

Fix proposed to branch: stable/20.10
Review: https://review.opendev.org/762655

Changed in charm-hacluster:
milestone: none → 21.01
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to charm-hacluster (stable/20.10)

Reviewed: https://review.opendev.org/762655
Committed: https://git.openstack.org/cgit/openstack/charm-hacluster/commit/?id=ff14eacf2f66e4695894ef17b44275e65ef8b35c
Submitter: Zuul
Branch: stable/20.10

commit ff14eacf2f66e4695894ef17b44275e65ef8b35c
Author: Aurelien Lourot <email address hidden>
Date: Thu Nov 5 12:47:13 2020 +0100

    Fix install hook on Groovy

    Also add Groovy to the test gate

    (cherry picked from commit 2e799e5cf0c1da7e5cddf18179a60ff3f37c54a6)

    Change-Id: If32560a88cfa6735bf5e502a70e6b84b0171f045
    Closes-Bug: #1903546

Changed in charm-hacluster:
assignee: Aurelien Lourot (aurelien-lourot) → nobody
Changed in charm-hacluster:
milestone: 21.01 → 20.10
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

Remote bug watches

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