HIP-674 MounterMixin.remove_entry_from_fstab now properly removes lines from fstab

================================================================================

Host Power Tools / HIP-674
volume unmap does not remove fstab entry

Type:              Bug                               Status:        Open                       Assignee: Guy Rozendorn
Priority:          Major                             Resolution:    Unresolved                 Reporter: Rick Pelleg
Affects Version/s: 1.0.0                             Fix Version/s:
Components: volume provissioning                                                               Created: 2013-07-31 23:13
Labels:                                                                                        Updated: 2013-07-31 23:36

Issue Links:

Sub-Tasks:

Description:
For example:
{noformat}
# infinihost volume unmap dm-2 --yes
No handlers could be found for logger "infi.storagemodel.linux"
# cat /etc/fstab

#
# /etc/fstab
# Created by anaconda on Mon Nov 19 12:09:02 2012
#
# Accessible filesystems, by reference, are maintained under '/dev/disk'
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
#
UUID=836989d9-3e3c-4539-a194-326d59b24b71 /                       ext3    defaults        1 1
UUID=2dcc378d-c846-4420-9c60-55e4ba11f899 swap                    swap    defaults        0 0
tmpfs                   /dev/shm                tmpfs   defaults        0 0
devpts                  /dev/pts                devpts  gid=5,mode=620  0 0
sysfs                   /sys                    sysfs   defaults        0 0
proc                    /proc                   proc    defaults        0 0
/dev/mapper/mpathbhp1   /mnt/io-virt-001.infinidat.com-vol-20130731-2253        ext3    rw      0       0
/dev/mapper/mpathclp1   /mnt/io-virt-001.infinidat.com-vol-20130731-2253-1      ext3    rw      0       0
{noformat}

Comments:
Guy Rozendorn added a comment - 2013-07-31 23:19
All our VMs are down ATM due to storage faults, I'm experimenting on io-virt-001

Guy Rozendorn added a comment - 2013-07-31 23:35
okay found the problem(s); one ticket is enough though; done with io-virt-001, it now has code that remove the entries from fstab;

thanks!

Guy Rozendorn added a comment - 2013-07-31 23:36
we'll make sure these are tested in our regression
HIP-674 adding test

================================================================================

Host Power Tools / HIP-674
volume unmap does not remove fstab entry

Type:              Bug                               Status:        Open                       Assignee: Guy Rozendorn
Priority:          Major                             Resolution:    Unresolved                 Reporter: Rick Pelleg
Affects Version/s: 1.0.0                             Fix Version/s:
Components: volume provissioning                                                               Created: 2013-07-31 23:13
Labels:                                                                                        Updated: 2013-07-31 23:36

Issue Links:

Sub-Tasks:

Description:
For example:
{noformat}
# infinihost volume unmap dm-2 --yes
No handlers could be found for logger "infi.storagemodel.linux"
# cat /etc/fstab

#
# /etc/fstab
# Created by anaconda on Mon Nov 19 12:09:02 2012
#
# Accessible filesystems, by reference, are maintained under '/dev/disk'
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
#
UUID=836989d9-3e3c-4539-a194-326d59b24b71 /                       ext3    defaults        1 1
UUID=2dcc378d-c846-4420-9c60-55e4ba11f899 swap                    swap    defaults        0 0
tmpfs                   /dev/shm                tmpfs   defaults        0 0
devpts                  /dev/pts                devpts  gid=5,mode=620  0 0
sysfs                   /sys                    sysfs   defaults        0 0
proc                    /proc                   proc    defaults        0 0
/dev/mapper/mpathbhp1   /mnt/io-virt-001.infinidat.com-vol-20130731-2253        ext3    rw      0       0
/dev/mapper/mpathclp1   /mnt/io-virt-001.infinidat.com-vol-20130731-2253-1      ext3    rw      0       0
{noformat}

Comments:
Guy Rozendorn added a comment - 2013-07-31 23:19
All our VMs are down ATM due to storage faults, I'm experimenting on io-virt-001

Guy Rozendorn added a comment - 2013-07-31 23:35
okay found the problem(s); one ticket is enough though; done with io-virt-001, it now has code that remove the entries from fstab;

thanks!

Guy Rozendorn added a comment - 2013-07-31 23:36
we'll make sure these are tested in our regression