RDO tickets are now tracked in Jira https://issues.redhat.com/projects/RDO/issues/
Bug 1229551 - Nova resize fails with iSCSI logon failure when booting from volume
Summary: Nova resize fails with iSCSI logon failure when booting from volume
Keywords:
Status: CLOSED EOL
Alias: None
Product: RDO
Classification: Community
Component: openstack-cinder
Version: Juno
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: Juno
Assignee: Haïkel Guémar
QA Contact: nlevinki
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-06-09 03:56 UTC by Alessandro Pilotti
Modified: 2016-05-19 15:47 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-05-19 15:47:31 UTC
Embargoed:


Attachments (Terms of Use)
patch ported from https://review.openstack.org/#/c/175349/ (3.45 KB, patch)
2015-06-09 04:03 UTC, Alessandro Pilotti
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1410566 0 None None None Never
OpenStack gerrit 175349 0 None None None Never

Description Alessandro Pilotti 2015-06-09 03:56:36 UTC
Description of problem:

Boot an instance from volume and try to resize.
Resize will fail due to a failed iSCSi logon.

This issue has been fixed and backported in Juno, but is not yet present in RDO:
https://review.openstack.org/#/c/175349/

Version-Release number of selected component (if applicable):

python-cinder-2014.2.2-1.el7.noarch

How reproducible:

Easily reproducible, steps in next section.

Steps to Reproduce:

mageid=`glance image-show cirros | awk '{if (NR == 10) {print $4}}'`
netid=`neutron net-show -c id private | awk '{if (NR == 4) {print $4}}'`

nova boot --flavor 1 --block-device source=image,id=$imageid,dest=volume,size=1,shutdown=remove,bootindex=0 --nic net-id=$netid vm1 --poll

nova resize vm1 2 --poll

Actual results:

Resize fails

Expected results:

resize should succeed :)

Additional info:

A workaround consists in backporting the missing fix:

wget https://dl.dropboxusercontent.com/u/9060190/cinder_resize_patch.txt -O /tmp/cinder_resize_patch.txt
cd /usr/lib/python2.7/site-packages
patch -p1  < /tmp/cinder_resize/patch.txt
service openstack-cinder-volume restart

Comment 1 Alessandro Pilotti 2015-06-09 04:03:25 UTC
Created attachment 1036567 [details]
patch ported from https://review.openstack.org/#/c/175349/

Comment 2 Haïkel Guémar 2015-06-14 13:38:29 UTC
I cherry-picked the patch from stable/juno, it's been rebuilt and updates pending.

Comment 3 Chandan Kumar 2016-05-19 15:47:31 UTC
This bug is against a Version which has reached End of Life.
If it's still present in supported release (http://releases.openstack.org), please update Version and reopen.


Note You need to log in before you can comment on or make changes to this bug.