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?

$ ./04_deploy_with_storage.py
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 "./04_deploy_with_storage.py", line 86, in <module>
    validate_status()
  File "./04_deploy_with_storage.py", line 52, in validate_status
    d.sentry.wait_for_status(d.juju_env, ['mongodb'])
  File "/usr/lib/python3/dist-packages/amulet/sentry.py", 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: 52.1.122.247 (error) 27017/tcp, 27019/tcp, 27021/tcp, 28017/tcp
  - storage/0: 52.1.122.247 (started)
- mongodb/1: 54.152.170.105 (error) 27017/tcp, 27019/tcp, 27021/tcp, 28017/tcp
  - storage/1: 54.152.170.105 (started)

Here are pastebins of the logs:

mongodb/0:
http://paste.ubuntu.com/11571075/

storage/0:
http://paste.ubuntu.com/11571095/

mongodb/1:
http://paste.ubuntu.com/11571093/

storage/1:
http://paste.ubuntu.com/11571098/

review: Needs Fixing

« Back to merge proposal