Cannot create volume without an explicit zone

Bug #1580142 reported by Artem Savinov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Won't Fix
Medium
Fuel Plugins Bugs

Bug Description

Detailed bug description:
Cannot create volume without an explicit provide availability zone

Steps to reproduce:
1) Deploy Fuel with NSXv plugin, 1 controller, 1 compute-vmware, 1 cinder-vmware, backend for glance- swift, , disable all "Public TLS" settings, all other settings by default.
2) Go to "Computes"->"Volumes" and create volume from image TestVM-TCL

Expected results:
 volume created

Actual result:
 Got error
2016-05-10 11:01:33.224 14062 WARNING cinder.scheduler.filter_scheduler [req-24563242-1a6b-403b-8fe6-79e21399f4d7 75917d9e7f9f4c22bd1896fce260ae31 6c3f35ab0d0943c987428bcf1d716946 - - -] No weighed hosts found for volume with properties: {}
2016-05-10 11:01:33.229 14062 ERROR cinder.scheduler.flows.create_volume [req-24563242-1a6b-403b-8fe6-79e21399f4d7 75917d9e7f9f4c22bd1896fce260ae31 6c3f35ab0d0943c987428bcf1d716946 - - -] Failed to run task cinder.scheduler.flows.create_volume.ScheduleCreateVolumeTask;volume:create: No valid host was found. No weighed hosts available

Reproducibility:
 100%

Workaround:
 Explicitly select the availability zone vcenter-cinder

Description of the environment:
fuel-plugin-nsxv from 7.0 branch with this patch https://review.openstack.org/#/c/314467/
Fuel 7.0 MU3

Revision history for this message
Artem Savinov (asavinov) wrote :
Peter Zhurba (pzhurba)
Changed in fuel:
importance: Undecided → Medium
Peter Zhurba (pzhurba)
tags: added: area-plugins nsx
Changed in fuel:
assignee: nobody → Fuel Plugins Bugs (fuel-plugins-bugs)
status: New → Confirmed
Revision history for this message
Ivan Kolodyazhny (e0ne) wrote :

I've looked at logs from diagnostic snapshot. There is something wrong with cinder config on node-5:

1) We run cinder with 2 config files:
/usr/bin/python /usr/bin/cinder-volume --config-file=/etc/cind
er/cinder.conf --config-file=/etc/cinder/cinder.d/vmware-vcenter.conf --log-file=/var/log/cinder/vmware-vcenter.log

2) Settings from /etc/cinder/cinder.d/vmware-vcenter.conf override settings from /etc/cind
er/cinder.conf

2.1) vmware-vcenter.conf:
storage_availability_zone=vcenter-cinder
default_availability_zone=vcenter-cinder

2.2) cinder.conf:
storage_availability_zone=nova
default_availability_zone=nova

Revision history for this message
Artem Savinov (asavinov) wrote :

Ivan Kolodyazhny, in env not exists node with cinder role, this configs from cinder-vmware(node-5) role, NSXv incompatible with qemu/kvm and we not deploy compute/cinder nodes.

Revision history for this message
Ivan Kolodyazhny (e0ne) wrote :

Artem, I didn't say anything about cinder role. I said that cinder is configured strange/wrong on node-5

tags: added: non-release
Revision history for this message
Rodion Tikunov (rtikunov) wrote :

Closing as Won't Fix as this is a medium importance non-customer-found bug.

Changed in fuel:
status: Confirmed → Won't Fix
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.