Deployment failed with error: Unable to lock the administration directory (/var/lib/dpkg/)

Bug #1444989 reported by Anastasia Palkina
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Won't Fix
Low
Sergii Golovatiuk

Bug Description

"build_id": "2015-04-15_23-18-33",
"ostf_sha": "90f232a25d10f98db9d5531a3b133319529f57aa",
"build_number": "314",
"release_versions": {"2014.2-6.1": {"VERSION": {"build_id": "2015-04-15_23-18-33", "ostf_sha": "90f232a25d10f98db9d5531a3b133319529f57aa", "build_number": "314", "api": "1.0", "nailgun_sha": "24b56283fb4caaba6b6414056dad30e503a7c30f", "openstack_version": "2014.2-6.1", "production": "docker", "python-fuelclient_sha": "ff186de358cbda489a320723de47a9e61ae23364", "astute_sha": "36a3d54baf86480326866279778b867086aa4b05", "feature_groups": ["mirantis"], "release": "6.1", "fuelmain_sha": "d3aa72d814c3f18799b566363004a22591161cef", "fuellib_sha": "ab6dbba825a5e54f3183ed8582921a0328b211c7"}}}, "auth_required": true,
"api": "1.0",
"nailgun_sha": "24b56283fb4caaba6b6414056dad30e503a7c30f",
"openstack_version": "2014.2-6.1",
"production": "docker",
"python-fuelclient_sha": "ff186de358cbda489a320723de47a9e61ae23364",
"astute_sha": "36a3d54baf86480326866279778b867086aa4b05",
"feature_groups": ["mirantis"],
"release": "6.1",
"fuelmain_sha": "d3aa72d814c3f18799b566363004a22591161cef",
"fuellib_sha": "ab6dbba825a5e54f3183ed8582921a0328b211c7"

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::=--force-confold install pcs' returned 100: E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)

Revision history for this message
Anastasia Palkina (apalkina) wrote :
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
Revision history for this message
Sergii Golovatiuk (sgolovatiuk) wrote :
Download full text (4.6 KiB)

This bug leads to internal puppet service providers

According to logs
/var/log/apt/history.log

Start-Date: 2015-04-16 11:27:14
Commandline: /usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install pacemaker
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+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), libtransitioner2: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)
End-Date: 2015-04-16 11:27:20

Start-Date: 2015-04-16 11:27:58
Commandline: /usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install pcs
Install: pcs:amd64 (0.9.103-1~u14.04+mos1)
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'
2015-04-16 11:27:21 +0000 /Stage[main]/Corosync/Exec[enable corosync]/...

Read more...

Changed in fuel:
status: Triaged → Won't Fix
Revision history for this message
Sergii Golovatiuk (sgolovatiuk) wrote :

This bug doesn't affect 7.0 and it was fixed in 6.1

no longer affects: fuel/7.0.x
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.