offline upgrade taking long because pip is trying to fetch index from internet

Bug #1942435 reported by Gábor Mészáros
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
charm-advanced-routing
Invalid
Undecided
Unassigned

Bug Description

During install/upgrade of the charm this pip install process is running for minutes, because retrying fetching the index :
python -v -m pip --disable-pip-version-check wheel --no-deps -w /tmp/tmpedntxue9 --find-links file:///var/lib/juju/agents/unit-external-advanced-routing-73/charm/wheelhouse/ pbr>=2.0.0

Adding the --no-index into the charm makes it finish within seconds.

Unfortunately it seems it's coming from the basic layer, and a newer basic layer already has this:
https://github.com/juju-solutions/layer-basic/blob/master/lib/charms/layer/basic.py#L150

Revision history for this message
Gábor Mészáros (gabor.meszaros) wrote :

Charm rev 5 already has this.

Changed in charm-advanced-routing:
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.