SM ceph provision hangs due to package overwrite error

Bug #1525466 reported by wenqing liang
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R2.20
Fix Committed
High
Jeya ganesh babu J
Trunk
Fix Committed
High
Jeya ganesh babu J

Bug Description

R2.22-115 SM ceph provisioning hangs due to package overwrite failures. Note dependency package failure with contrail-storage -> ceph deploy ->

"trying to overwrite '/usr/share/man/man8/ceph-deploy.8.gz', which is also in package ceph 0.94.3-1contrail1 Processing triggers for man-db (2.6.7.1-1) ..."

root@cmbu-auto-esx1-lnx02:~# server-manager status server | grep status
            "status": "storage-compute_completed"
            "status": "storage_started"
            "status": "storage_started"
            "status": "storage_started"
root@cmbu-auto-esx1-lnx02:~#

root@cmbu-auto-esx1-lnx02:~/store# ssh -l root 10.87.140.198 The authenticity of host '10.87.140.198 (10.87.140.198)' can't be established.
ECDSA key fingerprint is ea:00:40:61:5a:a4:f9:bc:5f:ee:00:0e:2f:6e:e4:09.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '10.87.140.198' (ECDSA) to the list of known hosts.
root@10.87.140.198's password:
Welcome to Ubuntu 14.04.1 LTS (GNU/Linux 3.13.0-40-generic x86_64)

 * Documentation: https://help.ubuntu.com/ Last login: Fri Dec 11 15:05:48 2015 from 10.87.129.3 root@cmbu-ceph-perf2:~# cd /var/log root@cmbu-ceph-perf2:/var/log# vi syslog

Dec 11 15:46:53 cmbu-ceph-perf2 puppet-agent[24479]: (/Stage[post]/Contrail::Provision_complete/Exec[do-reboot-server]) Dependency Package[contrail-storage] has failures: true

root@cmbu-ceph-perf2:/var/log# apt-get install contrail-storage Reading package lists... Done Building dependency tree Reading state information... Done contrail-storage is already the newest version.
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
 contrail-storage : Depends: ceph-deploy but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
root@cmbu-ceph-perf2:/var/log# apt-get install ceph-deploy Reading package lists... Done Building dependency tree Reading state information... Done The following NEW packages will be installed:
  ceph-deploy
0 upgraded, 1 newly installed, 0 to remove and 39 not upgraded.
21 not fully installed or removed.
Need to get 0 B/73.4 kB of archives.
After this operation, 425 kB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
  ceph-deploy
Authentication warning overridden.
(Reading database ... 105775 files and directories currently installed.) Preparing to unpack .../ceph-deploy_1.4.0-0ubuntu1_all.deb ...
Unpacking ceph-deploy (1.4.0-0ubuntu1) ...
dpkg: error processing archive /var/cache/apt/archives/ceph-deploy_1.4.0-0ubuntu1_all.deb (--unpack):
 trying to overwrite '/usr/share/man/man8/ceph-deploy.8.gz', which is also in package ceph 0.94.3-1contrail1 Processing triggers for man-db (2.6.7.1-1) ...
Errors were encountered while processing:
 /var/cache/apt/archives/ceph-deploy_1.4.0-0ubuntu1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1) root@cmbu-ceph-perf2:/var/log# cd /var/lib/dpkg/ root@cmbu-ceph-perf2:/var/lib/dpkg# cd /var/lib/dpkg/info root@cmbu-ceph-perf2:/var/lib/dpkg/info# grep ceph-deploy * ceph.list:/usr/share/man/man8/ceph-deploy.8.gz
ceph.md5sums:f2675048d199a6fb9fd2abbd6c3a17f5 usr/share/man/man8/ceph-deploy.8.gz
^C
root@cmbu-ceph-perf2:/var/lib/dpkg/info#

wenqing liang (wliang)
summary: - server manager ceph provisioning hang due to package overwrites
+ SM ceph provisioning hangs due to package overwrite error
summary: - SM ceph provisioning hangs due to package overwrite error
+ SM ceph provision hangs due to package overwrite error
information type: Proprietary → Public
tags: added: releasenote
Abhay Joshi (abhayj)
Changed in juniperopenstack:
assignee: Dheeraj Gautam (dgautam) → Jeya ganesh babu J (jjeya)
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R2.20

Review in progress for https://review.opencontrail.org/15804
Submitter: Jeya ganesh babu (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/15804
Committed: http://github.org/Juniper/contrail-packaging/commit/b66d3e69b4bb4c1c49d93529974a2fff0eed2118
Submitter: Zuul
Branch: R2.20

commit b66d3e69b4bb4c1c49d93529974a2fff0eed2118
Author: Jeya ganesh babu J <email address hidden>
Date: Mon Dec 14 12:39:09 2015 -0800

Storage package fix

Closes-Bug: #1525466
Ceph released source has reference to ceph-deploy man page.
This causes installation error when both the packages are installed.
Removed the reference to the ceph-deploy man page from ceph package.

Change-Id: I2c951c013705fa0b8d91709620f13c23a8fba9a1

Revision history for this message
Jeya ganesh babu J (jjeya) wrote :
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/16048
Submitter: Jeya ganesh babu (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/16048
Committed: http://github.org/Juniper/contrail-packaging/commit/b142afc657ef342a2393122e24e5343da260232c
Submitter: Zuul
Branch: master

commit b142afc657ef342a2393122e24e5343da260232c
Author: Jeya ganesh babu J <email address hidden>
Date: Wed Dec 30 14:54:37 2015 -0800

Storage package fix

Closes-Bug: #1525466
Ceph released source has reference to ceph-deploy man page.
This causes installation error when both the packages are installed.
Removed the reference to the ceph-deploy man page from ceph package.

Change-Id: I05d1c929c11de83eccea8c6d777c3407deefacb8

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.