on upgrade from 1.6.2, euca_upgrade should preserve DISABLE_ISCSI="Y"

Bug #617053 reported by Daniel Nurmi
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Eucalyptus
Fix Released
Medium
Daniel Nurmi
eucalyptus (Ubuntu)
Fix Released
Medium
Dave Walker
Maverick
Fix Released
Medium
Dave Walker

Bug Description

If package upgrade: set DISABLE_ISCSI="Y" in eucalyptus.conf
else (not upgrade): leave default DISABLE_ISCSI="N"

fix is in 'euca_upgrade'

Tags: server-mrs
Revision history for this message
Clint Byrum (clint-fewbar) wrote :

Marking Triaged, as Daniel seems to be looking at this upstream. Mirroring upstream important of Medium.

Changed in eucalyptus (Ubuntu):
status: New → Triaged
importance: Undecided → Medium
Changed in eucalyptus:
status: In Progress → Fix Released
Thierry Carrez (ttx)
Changed in eucalyptus (Ubuntu Maverick):
milestone: none → ubuntu-10.10-beta
Revision history for this message
Thierry Carrez (ttx) wrote :

Assigning to Dave to check if this is already fixed

Changed in eucalyptus (Ubuntu Maverick):
assignee: nobody → Dave Walker (davewalker)
Thierry Carrez (ttx)
Changed in eucalyptus (Ubuntu Maverick):
milestone: ubuntu-10.10-beta → ubuntu-10.10
tags: added: server-mrs
Revision history for this message
Dave Walker (davewalker) wrote :

Whilst this particular issue as described has been fixed released in Maverick, if the modification is made to eucalyptus.local.conf the feature is not.

Revision history for this message
Dave Walker (davewalker) wrote :

Looking at the code, I am a little confused with how it compares to the bug report. I believe this is the part that resolves this bug:
sed -i "s/DISABLE_ISCSI=\"N\"/DISABLE_ISCSI=\"Y\"/" ${NEW_EUCA}/etc/eucalyptus/eucalyptus.conf

It looks to me that it is changing the default (forcing "Y"), not preserving DISABLE_ISCSI=Y. Have i misunderstood the segment that fixes this bug?

Revision history for this message
Dmitrii Zagorodnov (dmitrii) wrote :

You are right that we don't "preserve" the actual setting, but rather "preserve" the use of AoE for EBS if you are upgrading instead of forcing you to switch to iSCSI, which is the default for a fresh 2.0 installation. That `sed` statement, which is only executed if you are upgrading, essentially changes the 2.0 default back to 1.6.2 default.

Revision history for this message
Dave Walker (davewalker) wrote :

Based on Dmitrii's comment, this is fix released. Thanks for wrapping that up.

Changed in eucalyptus (Ubuntu Maverick):
status: Triaged → Fix Released
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.