Charm needs to install the python-requests package
Bug #1408532 reported by
José Antonio Rey
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nsx-transport-node (Juju Charms Collection) |
Fix Released
|
High
|
Larry Michel | ||
nvp-transport-node (Juju Charms Collection) |
Fix Released
|
High
|
Larry Michel |
Bug Description
The install hook on this charm is failing because the python-requests package is missing. It needs to be installed so it doesn't throw any errors.
Related branches
lp://qastaging/~lmic/charms/trusty/nsx-transport-node/requests-install-fix
Merged
into
lp://qastaging/~openstack-charmers/charms/trusty/nsx-transport-node/trunk
at
revision 50
- Liam Young (community): Approve
-
Diff: 25 lines (+10/-0)2 files modifiedcharm-helpers-sync.yaml (+1/-0)
hooks/charmhelpers/__init__.py (+9/-0)
Changed in nsx-transport-node (Juju Charms Collection): | |
status: | In Progress → Fix Released |
Changed in nvp-transport-node (Juju Charms Collection): | |
status: | In Progress → Fix Released |
Changed in nsx-transport-node (Juju Charms Collection): | |
assignee: | nobody → Larry Michel (lmic) |
Changed in nvp-transport-node (Juju Charms Collection): | |
assignee: | nobody → Larry Michel (lmic) |
To post a comment you must log in.
I am also seeing this with this branch: lp:~openstack-charmers/charms/trusty/nsx-transport-node/trunk
2015-08-14 16:59:48 INFO install Reading state information... archive. ubuntu. com//ubuntu/ precise/main python-dnspython all 1.9.4-0ubuntu3 [99.2 kB] dnspython_ 1.9.4-0ubuntu3_ all.deb) ... uniter. filter filter.go:434 got unit change juju/agents/ unit-nvp- transport- node-0/ charm/hooks/ install" , line 20, in <module> juju/agents/ unit-nvp- transport- node-0/ charm/hooks/ nvp.py" , line 3, in <module> uniter. context context.go:543 handling reboot uniter. operation runhook.go:103 hook "install" failed: exit status 1 uniter. filter filter.go:597 want resolved event uniter. filter filter.go:591 want forced upgrade true uniter. filter filter.go:727 no new charm event
2015-08-14 16:59:48 INFO install The following NEW packages will be installed:
2015-08-14 16:59:48 INFO install python-dnspython
2015-08-14 16:59:48 INFO install 0 upgraded, 1 newly installed, 0 to remove and 49 not upgraded.
2015-08-14 16:59:48 INFO install Need to get 99.2 kB of archives.
2015-08-14 16:59:48 INFO install After this operation, 548 kB of additional disk space will be used.
2015-08-14 16:59:48 INFO install Get:1 http://
2015-08-14 16:59:48 INFO install Fetched 99.2 kB in 0s (0 B/s)
2015-08-14 16:59:49 INFO install Selecting previously unselected package python-dnspython.
2015-08-14 16:59:49 INFO install (Reading database ... 78566 files and directories currently installed.)
2015-08-14 16:59:49 INFO install Unpacking python-dnspython (from .../python-
2015-08-14 16:59:49 INFO install Setting up python-dnspython (1.9.4-0ubuntu3) ...
2015-08-14 16:59:50 DEBUG juju.worker.
2015-08-14 16:59:51 INFO install Traceback (most recent call last):
2015-08-14 16:59:51 INFO install File "/var/lib/
2015-08-14 16:59:51 INFO install from nvp import NVPHelper
2015-08-14 16:59:51 INFO install File "/var/lib/
2015-08-14 16:59:51 INFO install import requests
2015-08-14 16:59:51 INFO install ImportError: No module named requests
2015-08-14 16:59:51 INFO juju.worker.
2015-08-14 16:59:51 ERROR juju.worker.
2015-08-14 16:59:51 DEBUG juju.worker.uniter modes.go:31 [AGENT-STATUS] failed: run install hook
2015-08-14 16:59:51 INFO juju.worker.uniter modes.go:543 ModeContinue exiting
2015-08-14 16:59:51 INFO juju.worker.uniter modes.go:541 ModeHookError starting
2015-08-14 16:59:51 DEBUG juju.worker.
2015-08-14 16:59:51 DEBUG juju.worker.
2015-08-14 16:59:51 DEBUG juju.worker.
2015-08-14 16:59:51 DEBUG juju.worker.uniter modes.go:31 [AGENT-STATUS] error: hook failed: "install"