kolla-ansible precheck LVM volume group failed

Bug #1631569 reported by Jiao Peng
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
kolla
Fix Released
High
Jiao Peng

Bug Description

I deploy a kolla environment, when i executed the command `kolla-ansible prechecks -i /usr/share/kolla/ansible/inventory/multinode`, the console show the error as follow:
=====
TASK [prechecks : Checking LVM volume group exists for Cinder] *****************
fatal: [local_node1]: FAILED! => {"failed": true, "msg": "'cinder_volume_group' is undefined"}
=====
I find the reason is the variable is undefined in the prechecks role and group_vars/all.yml

Jiao Peng (greedywolf)
Changed in kolla:
assignee: nobody → 焦鹏 (greedywolf)
Revision history for this message
zhubingbing (zhubingbing) wrote :

hope it can help you,and in you can set cinder_volume_group in /etc/kolla/globals.yml
http://docs.openstack.org/developer/kolla/cinder-guide.html

Revision history for this message
Jiao Peng (greedywolf) wrote :

edit the group_vars/all.yml, add the code `cinder_volume_group: "cinder-volumes" ` to repaire the bug

Revision history for this message
Jiao Peng (greedywolf) wrote :

i find in the newest code, the file kolla/etc/kolla/globals.yml have the variable "cinder_volume_group", just the variable is annotated, if we want to use cinder, we must make the variable enable

Revision history for this message
Jeffrey Zhang (jeffrey4l) wrote :

We have `cincer_volume_group` variable in cinder's role

# ack-grep cinder_volume_group
ansible/roles/cinder/defaults/main.yml
80:cinder_volume_group: "cinder-volumes"

But is is used in pre-check. Please move this variable into group_vars/all.yml file.

Revision history for this message
Vladislav Belogrudov (vlad-belogrudov) wrote :

is there a review for it?

Duong Ha-Quang (duonghq)
Changed in kolla:
status: New → Confirmed
importance: Undecided → Medium
Revision history for this message
Vladislav Belogrudov (vlad-belogrudov) wrote :
Changed in kolla:
importance: Medium → High
milestone: none → 3.0.0
Steven Dake (sdake)
Changed in kolla:
milestone: 3.0.0 → newton-rc3
Steven Dake (sdake)
Changed in kolla:
milestone: newton-rc3 → ocata-1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla (master)

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

commit a0da381d00347a1de51dedff3e6a5c84fec574fd
Author: Vladislav Belogrudov <email address hidden>
Date: Thu Oct 13 12:49:07 2016 +0300

    precheck fails due to unknown cinder_volume_group

    cinder_volume_group property is not seen by precheck tasks -
    moving it to common group variables.

    Change-Id: Id7614bb428bb0bf7217eab71b3ec28189e4032b5
    Closes-Bug: #1631569

Changed in kolla:
status: Confirmed → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kolla 4.0.0.0b1

This issue was fixed in the openstack/kolla 4.0.0.0b1 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.