Detaching xvd fails due to pattern match
Bug #683800 reported by
iain MacDonnell
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Eucalyptus |
Invalid
|
Undecided
|
Unassigned | ||
2.0 |
In Progress
|
Medium
|
graziano obertelli |
Bug Description
When a volume is attached using the Xen Virtual Disk driver - i.e. "/dev/xvdX", detach fails, because the perl script that does the detach looks for:
! if ($line =~ /target dev='$localdev' bus='scsi'/) {
but when XVD is used, the bus is "xen" and not "scsi":
<disk type='block' device='disk'>
<driver name='phy'/>
<source dev='/dev/sdd'/>
<target dev='xvdd' bus='xen'/>
</disk>
A quick-fix is to remove the last part of the pattern - see attachment.
Related branches
lp:~graziano.obertelli/eucalyptus/lp683800
Ready for review
for merging
into
lp:eucalyptus/2.0
- Eucalyptus Maintainers: Pending requested
-
Diff: 12 lines (+1/-1)1 file modifiedtools/detach.pl (+1/-1)
Changed in eucalyptus: | |
assignee: | nobody → Sang-Min Park (sang-min-park) |
Changed in eucalyptus: | |
assignee: | Sang-Min Park (sang-min-park) → graziano obertelli (graziano.obertelli) |
Changed in eucalyptus: | |
status: | In Progress → Invalid |
assignee: | graziano obertelli (graziano.obertelli) → nobody |
milestone: | 2.0.4 → none |
To post a comment you must log in.
fixed.