mongodb charm in allocating state - causes deployment to timeout
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MongoDB Charm |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
This is for automated OpenStack Deployment. The deployment times out after > 1 hour and mongodb charm is still allocating.
From console.txt:
-------
+ . ./pipeline_
++ export OPENSTACK_
++ OPENSTACK_
++ export COMPUTE=nova-kvm
++ COMPUTE=nova-kvm
++ export BLOCK_STORAGE=
++ BLOCK_STORAGE=
++ export IMAGE_STORAGE=
++ IMAGE_STORAGE=
++ export PIPELINE_
++ PIPELINE_
++ export NETWORKING=
++ NETWORKING=
++ export UBUNTU_
++ UBUNTU_
-------
-------
mongodb:
branch: lp:charms/mongodb
to:
- lxc:nova-
-------
-------
2015-05-18 07:18:52,621 [INFO] deployer.import: Deploying service heat using local:precise/heat
2015-05-18 07:19:05,428 [INFO] deployer.import: Deploying service keystone using local:precise/
2015-05-18 07:19:18,210 [INFO] deployer.import: Deploying service mongodb using local:precise/
2015-05-18 07:19:30,208 [INFO] deployer.import: Deploying service mysql using local:precise/mysql
2015-05-18 07:19:41,208 [INFO] deployer.import: Deploying service nova-compute using local:precise/
2015-05-18 07:19:51,072 [INFO] deployer.import: Deploying service openstack-dashboard using local:precise/
2015-05-18 07:20:02,549 [INFO] deployer.import: Deploying service rabbitmq-server using local:precise/
2015-05-18 07:20:19,350 [DEBUG] deployer.import: Adding units...
2015-05-18 07:20:20,998 [WARNING] deployer.import: Config specifies num units for subordinate: ceilometer-agent
2015-05-18 07:20:20,999 [DEBUG] deployer.import: Service 'ceph' does not need any more units added.
2015-05-18 07:20:20,999 [DEBUG] deployer.import: Service 'cinder' does not need any more units added.
2015-05-18 07:20:21,002 [DEBUG] deployer.import: Service 'nova-cloud-
2015-05-18 07:20:21,002 [DEBUG] deployer.import: Service 'ceilometer' does not need any more units added.
2015-05-18 07:20:21,003 [DEBUG] deployer.import: Service 'glance' does not need any more units added.
2015-05-18 07:20:21,004 [DEBUG] deployer.import: Service 'heat' does not need any more units added.
2015-05-18 07:20:21,004 [DEBUG] deployer.import: Service 'keystone' does not need any more units added.
2015-05-18 07:20:21,006 [DEBUG] deployer.import: Service 'mongodb' does not need any more units added.
...
2015-05-18 07:34:46,381 [DEBUG] deployer.env: Delta machine: 5/lxc/0 change:pending
2015-05-18 07:34:51,300 [DEBUG] deployer.env: Delta machine: 5/lxc/0 change:started
2015-05-18 07:34:51,382 [DEBUG] deployer.env: Delta unit: mongodb/0 change:allocating
2015-05-18 07:35:01,302 [DEBUG] deployer.env: Delta machine: 3/lxc/1 change:pending
2015-05-18 07:35:06,304 [DEBUG] deployer.env: Delta machine: 3/lxc/1 change:started
2015-05-18 07:35:06,386 [DEBUG] deployer.env: Delta machine: 1/lxc/0 change:pending
2015-05-18 07:35:06,387 [DEBUG] deployer.env: Delta unit: rabbitmq-server/0 change:installing
2015-05-18 07:35:36,314 [DEBUG] deployer.env: Delta machine: 2/lxc/0 change:pending
2015-05-18 07:35:56,318 [DEBUG] deployer.env: Delta machine: 1/lxc/1 change:pending
2015-05-18 07:36:16,320 [DEBUG] deployer.env: Delta unit: keystone/0 change:started
...
2015-05-18 07:52:51,500 [DEBUG] deployer.env: Delta unit: ceph/1 change:started
2015-05-18 07:53:06,509 [DEBUG] deployer.env: Delta unit: nova-compute/1 change:started
2015-05-18 08:49:32,673 [DEBUG] deployer.env: Connecting to environment...
2015-05-18 08:49:33,835 [DEBUG] deployer.env: Connected to environment
2015-05-18 08:49:33,837 [ERROR] deployer.import: Reached deployment timeout.. exiting
2015-05-18 08:49:33,838 [ERROR] oil_ci.
Traceback (most recent call last):
File "/usr/lib/
debug=True, verbose=True)
File "/usr/lib/
importer.
File "/usr/lib/
self.
File "/usr/lib/
raise ErrorExit()
ErrorExit
2015-05-18 08:49:33,853 [INFO] oil_ci.
+ rc=1
+ echo 'Deployment returned: 1'
Deployment returned: 1
-------
From juju_status.yaml.
-------
mongodb:
charm: local:precise/
exposed: false
relations:
replica-set:
- mongodb
units:
mongodb/0:
machine: 5/lxc/0
-------
I have attached bundle and all machine logs.
affects: | mongodb (Juju Charms Collection) → mongodb-charm |
The speed at which machine's are allocated and related timeouts is something that is out of control of the charm code.