Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1231723 - [New] - storage device is shown with a locked symbol even when there are no partitions in the disk.
[New] - storage device is shown with a locked symbol even when there are no p...
Status: CLOSED WONTFIX
Product: Red Hat Gluster Storage
Classification: Red Hat
Component: rhsc (Show other bugs)
3.1
Unspecified Unspecified
medium Severity medium
: ---
: ---
Assigned To: Ramesh N
RHS-C QE
gluster
:
: 1243075 (view as bug list)
Depends On: 1211964
Blocks: 1216951
  Show dependency treegraph
 
Reported: 2015-06-15 05:57 EDT by RamaKasturi
Modified: 2016-04-27 02:31 EDT (History)
19 users (show)

See Also:
Fixed In Version:
Doc Type: Known Issue
Doc Text:
Storage devices with disk labels appear as locked on the storage devices sub-tab. When a user deletes a brick by removing lv, vg, pv and partition, the storage device appears with the lock symbol and the user is unable to create a new brick from the storage device. Workaround: Using the CLI, manually create a partition. Clicking Sync on the 'Storage Device' sub-tab under the host shows the created partition in the UI. The partition appears as a free device that can be used to create a brick through the RHGSC UI.
Story Points: ---
Clone Of: 1211964
Environment:
Last Closed: 2016-04-27 02:31:39 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description RamaKasturi 2015-06-15 05:57:46 EDT
+++ This bug was initially created as a clone of Bug #1211964 +++

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:

--- Additional comment from Timothy Asir on 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?

--- Additional comment from RamaKasturi on 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 1 Ramesh N 2015-07-13 04:29:24 EDT
Kasturi: Please review the doc text specially the workaround.
Comment 2 RamaKasturi 2015-07-13 08:19:15 EDT
Doc text looks good to me.
Comment 3 Ramesh N 2015-07-15 07:07:49 EDT
*** Bug 1243075 has been marked as a duplicate of this bug. ***
Comment 4 Ramesh N 2015-07-15 07:27:48 EDT
*** Bug 1243075 has been marked as a duplicate of this bug. ***
Comment 5 monti lawrence 2015-07-22 13:44:50 EDT
Doc text is edited. Please sign off to be included in Known Issues.
Comment 6 Ramesh N 2015-07-24 07:35:10 EDT
Clicking 'Sync' will not create a partition. Customer should create a partition manually using CLI and clicking 'Sync' will show the created partition on the UI. Then the created partition can be used to create brick.
Comment 7 Anjana Suparna Sriram 2015-07-26 14:37:54 EDT
on behalf of Monti, edited the text. Please sign off to be included in the Known Issues
Comment 8 Ramesh N 2015-07-27 00:39:35 EDT
Doc text looks good
Comment 9 Sahina Bose 2016-04-27 02:31:39 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.