Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1211964 - Gluster: storage device is shown with a locked symbol even when there are no partitions in the disk.
Gluster: storage device is shown with a locked symbol even when there are no ...
Status: CLOSED WONTFIX
Product: ovirt-engine
Classification: oVirt
Component: Frontend.WebAdmin (Show other bugs)
---
Unspecified Unspecified
medium Severity medium (vote)
: ovirt-4.0.0-alpha
: ---
Assigned To: Timothy Asir
Pavel Stehlik
:
Depends On:
Blocks: rhsc_qe_tracker_everglades 1231723
  Show dependency treegraph
 
Reported: 2015-04-15 06:20 EDT by RamaKasturi
Modified: 2016-07-14 22:04 EDT (History)
12 users (show)

See Also:
Fixed In Version:
Doc Type: Known Issue
Doc Text:
A disk label may still appear on a disk after removing the disk partitions. This can cause empty disks without any partitions to be shown as locked in the Storage Devices sub-tab under Hosts. This prevents users from creating a gluster brick from this disk. To workaround this issue, use the 'dd' command to clear the disks: dd if=/dev/zero of=<disk> bs=512 count=1
Story Points: ---
Clone Of:
: 1231723 (view as bug list)
Environment:
Last Closed: 2016-04-12 20:07:12 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: Gluster
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
sabose: ovirt‑4.0.0?
ylavi: planning_ack?
ylavi: devel_ack?
ylavi: testing_ack?


Attachments (Terms of Use)

  None (edit)
Description RamaKasturi 2015-04-15 06:20:16 EDT
Description of problem:
Even when there are no paritions in the disk , the disk is still shown with locked symbol and user cannot use the disk for creating a brick.

When a storage device is used for creating a brick , and once the brick is created and mounted if user tries to umount the brick, removes the lv, vg and pv the brick is still shown with locked symbol in the UI. 

Version-Release number of selected component (if applicable):
ovirt-engine-3.6.0-0.0.master.20150412172306.git55ba764.el6.noarch

How reproducible:
Always.

Steps to Reproduce:
1. Add a rhel7 node to the UI.
2. click on sync button in the storage devices.
3. Now create a brick using the storage device.
4. Umount the brick, remove /etc/fstab entry, remove the lv, remove the vg, remove the pv, remove the partition inside the disk.
5. click on sync button.

Actual results:
The storage device on which the partition was removed is still shown with a locked symbol.

Expected results:
If there is no partition inside the disk, disk should not be shown with locked symbol.

Additional info:
Comment 1 Timothy Asir 2015-05-13 07:06:50 EDT
I removed the partition using fdisk.
for ex:- step 1) fdisk /dev/sdd
         step 2) key press 'd'
         step 3) key press 'w'
Now in the UI when i click 'sync' option
I could able to see the device listed without any lock icon.
It works for me.

Can you check it out. If its works, can you/i close this bug?
Comment 2 RamaKasturi 2015-05-19 02:06:01 EDT
I followed the same steps which is present in comment 1. Still i see the same issue. partition shows unlocked only when i run dd command on that disk. Until then it shows the device wit locked symbol.
Comment 3 Red Hat Bugzilla Rules Engine 2015-10-19 06:59:09 EDT
Target release should be placed once a package build is known to fix a issue. Since this bug is not modified, the target version has been reset. Please use target milestone to plan a fix for a oVirt release.
Comment 4 Sandro Bonazzola 2015-10-26 08:45:03 EDT
this is an automated message. oVirt 3.6.0 RC3 has been released and GA is targeted to next week, Nov 4th 2015.
Please review this bug and if not a blocker, please postpone to a later release.
All bugs not postponed on GA release will be automatically re-targeted to

- 3.6.1 if severity >= high
- 4.0 if severity < high
Comment 5 Sandro Bonazzola 2015-11-05 03:21:56 EST
oVirt 3.6.0 has been released on November 4th, re-targeting to 4.0 since this bug has been marked with severity < high
Comment 6 Red Hat Bugzilla Rules Engine 2015-11-16 09:07:48 EST
This bug is flagged for 3.6, yet the milestone is for 4.0 version, therefore the milestone has been reset.
Please set the correct milestone or add the flag.
Comment 7 Sahina Bose 2015-12-10 03:54:23 EST
Tim, is this expected behaviour (comment 3) ?
Comment 8 Red Hat Bugzilla Rules Engine 2015-12-10 21:17:08 EST
This bug is not marked for z-stream, yet the milestone is for a z-stream version, therefore the milestone has been reset.
Please set the correct milestone or add the z-stream flag.
Comment 9 Sahina Bose 2016-03-09 04:46:46 EST
Ramesh, should we close this?
Comment 10 Ramesh N 2016-04-12 20:07:12 EDT
This problem is seen when there is a disk label even after removal of the disks partitions. dd command can be used to clean the first few bytes of the disks and it will remove the disk label. Closing this bug with the suggested workaround.

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