cinder-storage-init job failed

Bug #1753535 reported by Jawon Choo
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openstack-helm
Expired
Undecided
Unassigned

Bug Description

When using ceph (+luminous version) for cinder backends,
and cinder pool already has been enabled for other apps, the below error occurs.

# kubectl get pod -n openstack
NAME READY STATUS RESTARTS AGE
cinder-storage-init-x4q9g 0/1 CrashLoopBackOff 5 6m

# kubectl logs po/cinder-storage-init-x4q9g
+ '[' xcinder.volume.drivers.rbd.RBDDriver == xcinder.volume.drivers.rbd.RBDDriver ']'
++ mktemp --suffix .yaml
+ SECRET=/tmp/tmp.8QJMh6dcYi.yaml
++ mktemp --suffix .keyring
+ KEYRING=/tmp/tmp.NKm6LVzI39.keyring
+ trap cleanup EXIT
+ set -ex
+ '[' xcinder.volume.drivers.rbd.RBDDriver == xcinder.volume.drivers.rbd.RBDDriver ']'
+ ceph -s
  cluster:
    id: 29802b20-5c70-4771-9051-a98dd2465788
    health: HEALTH_OK

  services:
    mon: 1 daemons, quorum jj-cephadmin
    mgr: jj-cephadmin(active)
    osd: 3 osds: 3 up, 3 in

  data:
    pools: 4 pools, 200 pgs
    objects: 474 objects, 1672 MB
    usage: 8928 MB used, 291 GB / 299 GB avail
    pgs: 200 active+clean

+ ensure_pool cinder-volumes 8 cinder-volume
+ ceph osd pool stats cinder-volumes
pool cinder-volumes id 4
  nothing is going on

++ egrep -c '12.2|luminous'
++ ceph tell 'osd.*' version
+ local test_luminous=3
+ [[ 3 -gt 0 ]]
+ ceph osd pool application enable cinder-volumes cinder-volume
Error EPERM: Are you SURE? Pool 'cinder-volumes' already has an enabled application; pass --yes-i-really-mean-it to proceed anyway
+ cleanup
+ rm -f /tmp/tmp.8QJMh6dcYi.yaml /tmp/tmp.NKm6LVzI39.keyring

Jawon Choo (jawon.choo)
Changed in openstack-helm:
assignee: nobody → Jawon Choo (jawon.choo)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to openstack-helm (master)

Fix proposed to branch: master
Review: https://review.openstack.org/549824

Changed in openstack-helm:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on openstack-helm (master)

Change abandoned by Gage Hugo (<email address hidden>) on branch: master
Review: https://review.opendev.org/549824
Reason: Abandoning since there hasn't been any recent activity, if anyone wants to continue this work, please feel free to restore this.

Revision history for this message
Gage Hugo (gagehugo) wrote :

Cleaning up older reports, feel free to pick this back up if interested.

Changed in openstack-helm:
assignee: Jawon Choo (jawon.choo) → nobody
status: In Progress → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for openstack-helm because there has been no activity for 60 days.]

Changed in openstack-helm:
status: Incomplete → Expired
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.