unit.neutron-gateway/0.install E: Unable to locate package python-six

Bug #1995285 reported by Felipe Reyes
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Neutron Gateway Charm
Fix Committed
High
Felipe Reyes

Bug Description

python-six was dropped in Kinetic

$ rmadison python-six
 python-six | 1.5.2-1 | trusty | all
 python-six | 1.5.2-1ubuntu1.1 | trusty-security | all
 python-six | 1.5.2-1ubuntu1.1 | trusty-updates | all
 python-six | 1.10.0-3 | xenial | all
 python-six | 1.11.0-2 | bionic | all
 python-six | 1.14.0-2 | focal/universe | all
 python-six | 1.16.0-3ubuntu1 | jammy/universe | all

Traceback (most recent call last):
  File "/var/lib/juju/agents/unit-neutron-gateway-0/charm/hooks/install", line 420, in <module>
    main()
  File "/var/lib/juju/agents/unit-neutron-gateway-0/charm/hooks/install", line 412, in main
    hooks.execute(sys.argv)
  File "/var/lib/juju/agents/unit-neutron-gateway-0/charm/hooks/charmhelpers/core/hookenv.py", line 963, in execute
    self._hooks[hook_name]()
  File "/var/lib/juju/agents/unit-neutron-gateway-0/charm/hooks/charmhelpers/contrib/hardening/harden.py", line 90, in _harden_inner2
    return f(*args, **kwargs)
  File "/var/lib/juju/agents/unit-neutron-gateway-0/charm/hooks/install", line 117, in install
    apt_install('python-six', fatal=True) # Force upgrade
  File "/var/lib/juju/agents/unit-neutron-gateway-0/charm/hooks/charmhelpers/fetch/ubuntu.py", line 379, in apt_install
    _run_apt_command(cmd, fatal, quiet=quiet)
  File "/var/lib/juju/agents/unit-neutron-gateway-0/charm/hooks/charmhelpers/fetch/ubuntu.py", line 955, in _run_apt_command
    _run_with_retries(
  File "/var/lib/juju/agents/unit-neutron-gateway-0/charm/hooks/charmhelpers/fetch/ubuntu.py", line 932, in _run_with_retries
    result = subprocess.check_call(cmd, env=env, **kwargs)
  File "/usr/lib/python3.10/subprocess.py", line 369, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['apt-get', '--assume-yes', '--option=Dpkg::Options::=--force-confold', 'install', 'python-six']' returned non-zero exit status 100.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to charm-neutron-gateway (master)
Changed in charm-neutron-gateway:
status: New → In Progress
Felipe Reyes (freyes)
Changed in charm-neutron-gateway:
importance: Undecided → High
assignee: nobody → Felipe Reyes (freyes)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote :
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to charm-neutron-gateway (master)

Reviewed: https://review.opendev.org/c/openstack/charm-neutron-gateway/+/863070
Committed: https://opendev.org/openstack/charm-neutron-gateway/commit/fabaa8aa22c2aa18f48e2cd6ff5972babf1f21e6
Submitter: "Zuul (22348)"
Branch: master

commit fabaa8aa22c2aa18f48e2cd6ff5972babf1f21e6
Author: Felipe Reyes <email address hidden>
Date: Mon Oct 31 15:47:44 2022 +0100

    Drop python-six

    This charm doesn't need to support python 2.x anymore, and python-six
    was dropped from the Ubuntu Archive on Kinetic (22.10)

    Change-Id: Ibd7d373305b608ff0349986d17ecba7f9dfaeb3c
    Closes-Bug: #1995285

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

Reviewed: https://review.opendev.org/c/openstack/charm-neutron-gateway/+/863452
Committed: https://opendev.org/openstack/charm-neutron-gateway/commit/5fe12bc4cae8b5c10fff3e1bf4d026615aa9b6ae
Submitter: "Zuul (22348)"
Branch: stable/zed

commit 5fe12bc4cae8b5c10fff3e1bf4d026615aa9b6ae
Author: Felipe Reyes <email address hidden>
Date: Mon Oct 31 15:47:44 2022 +0100

    Drop python-six

    This charm doesn't need to support python 2.x anymore, and python-six
    was dropped from the Ubuntu Archive on Kinetic (22.10)

    Change-Id: Ibd7d373305b608ff0349986d17ecba7f9dfaeb3c
    Closes-Bug: #1995285
    (cherry picked from commit fabaa8aa22c2aa18f48e2cd6ff5972babf1f21e6)

tags: added: in-stable-zed
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.