Python yaml missing from mongodb install on precise and trusty

Bug #1369792 reported by Stephanie
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
mongodb (Juju Charms Collection)
Fix Released
High
Mario Splivalo

Bug Description

Hi there,

I've been having a problem getting mongodb to deploy. I believe that the mongodb charm needs an 'apt-get install python-yaml' before calling hooks.py in these files:
https://github.com/charms/mongodb/blob/precise/hooks/install
https://github.com/charms/mongodb/blob/trusty/hooks/install

based on this bug:
https://bugs.launchpad.net/charms/+source/haproxy/+bug/1302642

I've tried now from linode with manual provisioning. I ended up adding it to my node create script there. Today I tried to follow the Digital Ocean Juju steps and deploying to 3 nodes fails all in the same spot asking for python-yaml

http://hastebin.com/xukaxitalu.sm
https://github.com/kapilt/juju-digitalocean

Stephanie (sms-9)
description: updated
Revision history for this message
Charles Butler (lazypower) wrote :

Moving to proper project, this effects juju not the ubuntu package.

affects: mongodb (Ubuntu) → mongodb (Juju Charms Collection)
Changed in mongodb (Juju Charms Collection):
status: New → Confirmed
importance: Undecided → High
assignee: nobody → Charles Butler (lazypower)
Revision history for this message
Eduard Biceri-Matei (cubusbacau) wrote :

This affects also openstack charms: (error after bootstrapping)

unit-nova-compute-1: 2014-10-16 07:20:21 INFO install Traceback (most recent call last):
unit-nova-compute-1: 2014-10-16 07:20:21 INFO install File "/var/lib/juju/agents/unit-nova-compute-1/charm/hooks/install", line 5, in <module>
unit-nova-compute-1: 2014-10-16 07:20:21 INFO install from charmhelpers.core.hookenv import (
unit-nova-compute-1: 2014-10-16 07:20:21 INFO install File "/var/lib/juju/agents/unit-nova-compute-1/charm/hooks/charmhelpers/core/hookenv.py", line 9, in <module>
unit-nova-compute-1: 2014-10-16 07:20:21 INFO install import yaml
unit-nova-compute-1: 2014-10-16 07:20:21 INFO install ImportError: No module named yaml

Changed in mongodb (Juju Charms Collection):
assignee: Charles Butler (lazypower) → Mario Splivalo (mariosplivalo)
Revision history for this message
Mario Splivalo (mariosplivalo) wrote :

Hello, Stephanie, Eduard.

Is this still an issue? I have tried deploying mongodb on precise inside openstack and didn't run into this issue. Can you, please, verify this is still an issue for you?

James Page (james-page)
Changed in mongodb (Juju Charms Collection):
status: Confirmed → Fix Released
milestone: none → 15.04
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.