Code review comment for lp:~verterok/charms/trusty/mongodb/fix-data_directory-migration

Revision history for this message
Adam Israel (aisrael) wrote :

Hey Guillermo,

I'm running into an error while testing, against both local and amazon providers. It looks like this might be the root cause:

ERROR: volume_init_and_mount: coult not find an unused device for regexp: /dev/vd[b-z]

Any ideas?

$ ./
2015-06-04 17:25:37 Starting deployment of amazon
2015-06-04 17:25:39 Deploying services...
2015-06-04 17:25:41 Deploying service mongodb using cs:trusty/mongodb-21
2015-06-04 17:26:00 Deploying service storage using cs:~chris-gondolin/trusty/storage-5
2015-06-04 17:26:19 Config specifies num units for subordinate: storage
2015-06-04 17:31:42 Adding relations...
2015-06-04 17:31:43 Exposing service 'mongodb'
2015-06-04 17:31:43 Deployment complete in 366.42 seconds
Adding storage relation, and sleeping for 2 min.
Traceback (most recent call last):
  File "./", line 86, in <module>
  File "./", line 52, in validate_status
    d.sentry.wait_for_status(d.juju_env, ['mongodb'])
  File "/usr/lib/python3/dist-packages/amulet/", line 260, in wait_for_status
    unit, unit_dict.get('agent-state-info')))
Exception: Error on unit mongodb/0: hook failed: "data-relation-changed" for storage:data

nged" for storage:data
(venv)vagrant@vagrant-ubuntu-trusty-64:/charms/trusty/mongodb/tests$ juju pprint
- mongodb/0: (error) 27017/tcp, 27019/tcp, 27021/tcp, 28017/tcp
  - storage/0: (started)
- mongodb/1: (error) 27017/tcp, 27019/tcp, 27021/tcp, 28017/tcp
  - storage/1: (started)

Here are pastebins of the logs:





review: Needs Fixing

« Back to merge proposal