Liberty devstack failed to launch instance w/ NetApp eSeries.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Invalid
|
Undecided
|
Alex Meade |
Bug Description
1. Exact version of Nova/OpenStack you are running:
Liberty Devstack
commit f4485bae9c719ee
Merge: ace1e8f e5a6f82
Author: Jenkins <email address hidden>
Date: Thu Oct 1 07:14:41 2015 +0000
Merge "Cleanup nova v2.1 API testing options"
2. Relevant log files: n-cpu.log file is in the attachment.
3. Reproduce steps:
- Setup is running with Liberty devstack version on Ubuntu 14.04.
- Connected to a NetApp eSeries (iSCSI) for storage. (Using multipath to manage the array)
- Launch an instance from Horizon, by selecting "launch instance", input an Instance Name, m1.small, Instance count: 1, select "Boot from image (creates a new volume)", select "cirros..." image, default size(20G for small), then click on "Launch"
- The launch instance failed with the following error:
Error: Failed to perform requested operation on instance "testvm", the instance has an error status: Please try again later [Error: Build of instance 1304643b-
It seems the host failed to get the new disk from the eSeries storage.
Did some more tests with the following observation:
When I create a new (1st) volume with certain image (cirros), the host created a host on the array, started the iSCSI sessions, and mapped the volume. But then the iSCSI sessions disconnected and the host failed to discover the volume, “sudo multipath –ll” did not list any volume.
Then I tried to create a 2nd instance, the host restarted the iSCSI sessions, created and mapped a new (2nd) volume. This time the host discovered the first volume, but not the newly created (2nd) volume. Also, the iSCSI sessions stay this time, they didn’t get disconnected.
It seem like there might be a problem with when the newly added volume is being discover is not in proper order, the discover/rescan command is being use too early.
Also, tried the same with the Kilo Devstack version, and this version is working fine.
it looks like the volume create failed in cinder?
VolumeNotCreated: Volume 6a35bbdd- e6d6-4e79- 84c9-12a84b08f7 e2 did not finish being created even after we waited 24 seconds or 8 attempts. And its status is error.
It looks like when Nova tried to create the volume in cinder, there was an error in cinder. Did you check what the errors were on the cinder side?