Deployment failed with error: Unable to lock the administration directory (/var/lib/dpkg/)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Won't Fix
|
Low
|
Sergii Golovatiuk |
Bug Description
"build_id": "2015-04-
"ostf_sha": "90f232a25d10f9
"build_number": "314",
"release_versions": {"2014.2-6.1": {"VERSION": {"build_id": "2015-04-
"api": "1.0",
"nailgun_sha": "24b56283fb4caa
"openstack_
"production": "docker",
"python-
"astute_sha": "36a3d54baf8648
"feature_groups": ["mirantis"],
"release": "6.1",
"fuelmain_sha": "d3aa72d814c3f1
"fuellib_sha": "ab6dbba825a5e5
I deploy 2 environments in parallel
First environment:
1. Create new environment (Ubuntu)
2. Choose Neutron, GRE
3. Choose Murano
4. Check Puppet debug logging
5. Check OpenStack debug logging
6. Add 1 controller and 1 compute
7. Start deployment. It was successful
Second deployment:
1. Create new environment (Ubuntu)
2. Choose Neutron, GRE
3. Choose Murano
4. Uncheck Puppet debug logging
5. Check OpenStack debug logging
6. Add 1 controller and 1 compute
7. Start deployment. It has failed with error on controller in puppet.log (node-3):
2015-04-16 11:27:20 ERR
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
2015-04-16 11:27:20 ERR
Execution of '/usr/bin/apt-get -q -y -o DPkg::Options:
Changed in fuel: | |
assignee: | Fuel Library Team (fuel-library) → Sergii Golovatiuk (sgolovatiuk) |
Changed in fuel: | |
status: | New → Confirmed |
Changed in fuel: | |
status: | Confirmed → Triaged |
importance: | Critical → Low |
Changed in fuel: | |
status: | Triaged → Won't Fix |
This bug leads to internal puppet service providers
According to logs apt/history. log
/var/log/
Start-Date: 2015-04-16 11:27:14 :=--force- confold install pacemaker git20130802- 1ubuntu2. 3, automatic), corosync:amd64 (2.3.3-1ubuntu1, automatic), cluster-glue:amd64 (1.0.11+ hg2754- 1.1build1, automatic), pacemaker:amd64 (1.1.10+ git20130802- 1ubuntu2. 3), libcrmservice1: amd64 (1.1.10+ git20130802- 1ubuntu2. 3, automatic), librdmacm1:amd64 (1.0.16-1, automatic), libcfg6:amd64 (2.3.3-1ubuntu1, automatic), libcpg4:amd64 (2.3.3-1ubuntu1, automatic), libquorum5:amd64 (2.3.3-1ubuntu1, automatic), libtransitioner 2:amd64 (1.1.10+ git20130802- 1ubuntu2. 3, automatic), pacemaker- cli-utils: amd64 (1.1.10+ git20130802- 1ubuntu2. 3, automatic), libnspr4:amd64 (4.10.7- 0ubuntu0. 14.04.1, automatic), libcrmcluster4: amd64 (1.1.10+ git20130802- 1ubuntu2. 3, automatic), libcorosync- common4: amd64 (2.3.3-1ubuntu1, automatic), libsnmp-base:amd64 (5.7.2~ dfsg-8. 1ubuntu3, automatic), libperl5.18:amd64 (5.18.2-2ubuntu1, automatic), libqb0:amd64 (0.16.0. real-1ubuntu3, automatic), liblrmd1:amd64 (1.1.10+ git20130802- 1ubuntu2. 3, automatic), libnet1:amd64 (1.1.6+ dfsg-2ubuntu1, automatic), libplumb2:amd64 (1.0.11+ hg2754- 1.1build1, automatic), libnss3-nssdb:amd64 (3.17.4- 0ubuntu0. 14.04.1, automatic), libstonithd2:amd64 (1.1.10+ git20130802- 1ubuntu2. 3, automatic), libpe-rules2:amd64 (1.1.10+ git20130802- 1ubuntu2. 3, automatic), libesmtp6:amd64 (1.0.6-1ubuntu2, automatic), libsam4:amd64 (2.3.3-1ubuntu1, automatic), libibverbs1:amd64 (1.1.7-1ubuntu1, automatic), libheartbeat2:amd64 (3.0.5-3.2, automatic), python-lxml:amd64 (3.3.3-1ubuntu0.1, automatic), libopenipmi0:amd64 (2.0.18-0ubuntu7.1, automatic), libplumbgpl2:amd64 (1.0.11+ hg2754- 1.1build1, automatic), libcib3:amd64 (1.1.10+ git20130802- 1ubuntu2. 3, automatic), libnss3:amd64 (3.17.4- 0ubuntu0. 14.04.1, automatic), libpils2:amd64 (1.0.11+ hg2754- 1.1build1, automatic), libvotequorum6: amd64 (2.3.3-1ubuntu1, automatic), libcrmcommon3:amd64 (1.1.10+ git20130802- 1ubuntu2. 3, automatic), libpe-status4:amd64 (1.1.10+ git20130802- 1ubuntu2. 3, automatic), libxslt1.1:amd64 (1.1.28-2build1, automatic), libopenhpi2:amd64 (2.14.1-1.3ubuntu2, automatic), libtotem-pg5:amd64 (2.3.3-1ubuntu1, automatic), libstonith1:amd64 (1.0.11+ hg2754- 1.1build1, automatic), libsnmp30:amd64 (5.7.2~ dfsg-8. 1ubuntu3, automatic), crmsh:amd64 (1.2.5+ hg1034- 1ubuntu4, automatic), liblrm2:amd64 (1.0.11+ hg2754- 1.1build1, automatic), resource- agents: amd64 (3.9.3+ git20121009- 3ubuntu2, automatic)
Commandline: /usr/bin/apt-get -q -y -o DPkg::Options:
Install: libcmap4:amd64 (2.3.3-1ubuntu1, automatic), libltdl7:amd64 (2.4.2-1.7ubuntu1, automatic), openhpid:amd64 (2.14.1-1.3ubuntu2, automatic), libsensors4:amd64 (3.3.4-2ubuntu1, automatic), libpengine4:amd64 (1.1.10+
End-Date: 2015-04-16 11:27:20
Start-Date: 2015-04-16 11:27:58 :=--force- confold install pcs 1~u14.04+ mos1)
Commandline: /usr/bin/apt-get -q -y -o DPkg::Options:
Install: pcs:amd64 (0.9.103-
End-Date: 2015-04-16 11:27:58
from
/var/log/puppet.log
2015-04-16 11:27:20 +0000 /Stage[ main]/Corosync/ Package[ pacemaker] /ensure (notice): ensure changed 'purged' to 'present' main]/Corosync/ Exec[enable corosync]/...
2015-04-16 11:27:21 +0000 /Stage[