Cinder-volume is gone

Bug #1603361 reported by Mathias Ewald
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
kolla
Fix Released
High
Jeffrey Zhang

Bug Description

I noticed my cinder-volume container failed to start today. Output is

INFO:__main__:Kolla config strategy set to: COPY_ALWAYS
INFO:__main__:Loading config file at /var/lib/kolla/config_files/config.json
INFO:__main__:Validating config file
INFO:__main__:Copying service configuration files
INFO:__main__:Removing existing destination: /etc/cinder/cinder.conf
INFO:__main__:Copying /var/lib/kolla/config_files/cinder.conf to /etc/cinder/cinder.conf
INFO:__main__:Setting permissions for /etc/cinder/cinder.conf
INFO:__main__:Removing existing destination: /etc/ceph/
INFO:__main__:Creating dest parent directory: /etc/ceph
INFO:__main__:Copying /var/lib/kolla/config_files/ceph.conf to /etc/ceph/
INFO:__main__:Copying /var/lib/kolla/config_files/ceph.client.cinder.keyring to /etc/ceph/
INFO:__main__:Setting permissions for /etc/ceph/
INFO:__main__:Setting permissions for /etc/ceph/ceph.conf
INFO:__main__:Setting permissions for /etc/ceph/ceph.client.cinder.keyring
INFO:__main__:Writing out command to execute
Running command: 'cinder-volume --config-file /etc/cinder/cinder.conf'
/usr/local/bin/kolla_start: line 24: exec: cinder-volume: not found

I checked the Docker file an found that cinder-volume is not installed:
https://github.com/openstack/kolla/blob/master/docker/cinder/cinder-volume/Dockerfile.j2#L14

In fact, I grep-ed through all of the docker directory and it looks like cinder-volume has completely disappeared from Kolla:

root@deploy:/kolla/docker# grep -r cinder-volume .
root@deploy:/kolla/docker#

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on kolla (master)

Change abandoned by Mathias (<email address hidden>) on branch: master
Review: https://review.openstack.org/343273

Changed in kolla:
importance: Undecided → High
assignee: nobody → Jeffrey Zhang (jeffrey4l)
milestone: none → newton-3
Revision history for this message
km (kmlau777) wrote :
Download full text (7.7 KiB)

This seems only happen to source type cinder docker image (all tags in 3.0.0/2.0.1/1.1.1).

## Source Type
$ for I in api backup scheduler volume ; do echo "###CHECKING INSTALLED PACKAGES in cinder-${I} image###"; docker run -t --name cinder_${I}_source3 kolla/ubuntu-source-cinder-${I}:3.0.0 /bin/bash -c 'dpkg -l | grep cinder'; echo ""; done
###CHECKING INSTALLED PACKAGES in cinder-api image###
Unable to find image 'kolla/ubuntu-source-cinder-api:3.0.0' locally
3.0.0: Pulling from kolla/ubuntu-source-cinder-api
51ccf22443f2: Pull complete
4b424f9691e2: Pull complete
05b07242a105: Pull complete
92d886ca16d1: Pull complete
03f4b8b7e5f2: Pull complete
a3df4d5a64d0: Pull complete
1e719e9bf966: Pull complete
b2325e51098c: Pull complete
607c168b35e4: Pull complete
9bbde8b7f5c8: Pull complete
bd11853d2c22: Pull complete
09b3133dc9b6: Pull complete
cfbd53f74377: Pull complete
0a4b933a2cb1: Pull complete
6129ac592893: Pull complete
01ba7fc6a2a4: Pull complete
bc01dcfcdad1: Pull complete
4c228ee5c86c: Pull complete
c5be85568287: Pull complete
8b1645d7af41: Pull complete
69f2aa73e542: Pull complete
50be2006df9f: Pull complete
8f0e135df39b: Pull complete
09f787686560: Pull complete
b438545ea3a8: Pull complete
8e85101d76e7: Pull complete
fdbe489f476d: Pull complete
a73353044f78: Pull complete
c8922023c454: Pull complete
965ba48bc283: Pull complete
529a16dad424: Pull complete
fae3fb4eec6f: Pull complete
8220833bc7fd: Pull complete
e75e6729a74e: Pull complete
477295595f83: Pull complete
a54c4c6d8a77: Pull complete
a7790049e60d: Pull complete
542edeb7c9c4: Pull complete
6b861ea05664: Pull complete
Digest: sha256:ce8adf1c788af26c55fdc5c1d429d1ff5e4869a172a0cdd754c96768f1d2b7cf
Status: Downloaded newer image for kolla/ubuntu-source-cinder-api:3.0.0

###CHECKING INSTALLED PACKAGES in cinder-backup image###
Unable to find image 'kolla/ubuntu-source-cinder-backup:3.0.0' locally
3.0.0: Pulling from kolla/ubuntu-source-cinder-backup
adddb9ebd566: Pull complete
2b8a2b86a551: Pull complete
Digest: sha256:41923c0042ef7e9f4de75e19b881a766cd222d13b3de83120d440853a0a3a2cc
Status: Downloaded newer image for kolla/ubuntu-source-cinder-backup:3.0.0

###CHECKING INSTALLED PACKAGES in cinder-scheduler image###
Unable to find image 'kolla/ubuntu-source-cinder-scheduler:3.0.0' locally
3.0.0: Pulling from kolla/ubuntu-source-cinder-scheduler
dd6d2e27ada6: Pull complete
13bfa54535b6: Pull complete
Digest: sha256:5f1207dfa8e40201bb3314dc9e6e99960f79f9956a23272f0286a5eb439b8b4d
Status: Downloaded newer image for kolla/ubuntu-source-cinder-scheduler:3.0.0

###CHECKING INSTALLED PACKAGES in cinder-volume image###
Unable to find image 'kolla/ubuntu-source-cinder-volume:3.0.0' locally
3.0.0: Pulling from kolla/ubuntu-source-cinder-volume
faf5f31c06a7: Pull complete
c2e5bd7d1961: Pull complete
f71a978c9d37: Pull complete
9c86b258bec9: Pull complete
11887cf216ef: Pull complete
fcf81e19aa97: Pull complete
90fc8fc83d0b: Pull complete
Digest: sha256:f9fefd2185fc10557bf5e350513c0caede02e300d7ec5956db1d91b67ff8cb4a
Status: Downloaded newer image for kolla/ubuntu-source-cinder-volume:3.0.0

=====================================================...

Read more...

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla (master)

Reviewed: https://review.openstack.org/343273
Committed: https://git.openstack.org/cgit/openstack/kolla/commit/?id=a3b043af10c2383168d3d37df5f0621707c95fc6
Submitter: Jenkins
Branch: master

commit a3b043af10c2383168d3d37df5f0621707c95fc6
Author: Mathias Ewald <email address hidden>
Date: Sun Jul 17 09:23:06 2016 +0000

    Add Cinder-Volume Package for Ubuntu binary install

    The cinder-volume package is not installed in the cinder-volume
    container anymore for the Ubuntu binary install.

    It is still there in stable/mitaka but got lost at
    I7fb48c954e578772b90a2aa619c8bcfa990b3ae8

    Co-Authored-By: Jeffrey Zhang <jeffrey.zhang@99cloud.net>
    Change-Id: Icf086b241403c1f9098f70d902484b0c565457d0
    Closes-Bug: #1603361

Changed in kolla:
status: New → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kolla 3.0.0.0b3

This issue was fixed in the openstack/kolla 3.0.0.0b3 development milestone.

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.