cinder-storage-init job failed
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-
# kubectl logs po/cinder-
+ '[' xcinder.
++ mktemp --suffix .yaml
+ SECRET=
++ mktemp --suffix .keyring
+ KEYRING=
+ trap cleanup EXIT
+ set -ex
+ '[' xcinder.
+ ceph -s
cluster:
id: 29802b20-
health: HEALTH_OK
services:
mon: 1 daemons, quorum jj-cephadmin
mgr: jj-cephadmin(
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-
+ cleanup
+ rm -f /tmp/tmp.
Changed in openstack-helm: | |
assignee: | nobody → Jawon Choo (jawon.choo) |
Fix proposed to branch: master /review. openstack. org/549824
Review: https:/