Bug 1063935
| Summary: | webadmin: wipe after delete option is set by what ever domain is listed first (iscsi/nfs DC) | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Retired] oVirt | Reporter: | Dafna Ron <dron> | ||||||
| Component: | ovirt-engine-webadmin | Assignee: | Tal Nisan <tnisan> | ||||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Aharon Canan <acanan> | ||||||
| Severity: | high | Docs Contact: | |||||||
| Priority: | unspecified | ||||||||
| Version: | unspecified | CC: | acathrow, amureini, ecohen, gklein, iheim, knesenko, mgoldboi, yeylon | ||||||
| Target Milestone: | --- | ||||||||
| Target Release: | 3.4.0 | ||||||||
| Hardware: | x86_64 | ||||||||
| OS: | Linux | ||||||||
| Whiteboard: | storage | ||||||||
| Fixed In Version: | ovirt-3.4.0-ga | Doc Type: | Bug Fix | ||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2014-03-31 12:29:11 UTC | Type: | Bug | ||||||
| Regression: | --- | Mount Type: | --- | ||||||
| Documentation: | --- | CRM: | |||||||
| Verified Versions: | Category: | --- | |||||||
| oVirt Team: | Storage | RHEL 7.3 requirements from Atomic Host: | |||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||
| Embargoed: | |||||||||
| Attachments: |
|
||||||||
Created attachment 861878 [details]
screen shots
Setting target release to current version for consideration and review. please do not push non-RFE bugs to an undefined target release to make sure bugs are reviewed for relevancy, fix, closure, etc. this is an automated message: moving to Closed CURRENT RELEASE since oVirt 3.4.0 has been released |
Created attachment 861877 [details] logs Description of problem: I created a DC with one iscsi domain and one nfs domain. when I want to create a disk and select the iscsi domain, the "wipe after delete" is greyed out even when I select the iscsi type domain. if I put the nfs domain in maintenance the option becomes available. since the domains are listed alphabetically, it appears that what ever domain is listed first will be listed and webadmin will set optional params according to that domains for all the domains I am not sure if this is the UI only setting info based on one domain or if this is engine not querying all the info but opening in webadmin. Version-Release number of selected component (if applicable): ovirt-engine-webadmin-portal-3.4.0-0.7.beta2.el6.noarch ovirt-engine-backend-3.4.0-0.7.beta2.el6.noarch How reproducible: 100% Steps to Reproduce: 1. create a DC with 1 iscsi (master domain) and second nfs type domain ***please note that the domain are listed alphabetically so the nfs domain needs to be listed before the scsi domain to reproduce this*** 2. create a vm -> try to create a new wipe=true disk 3. change the name for the domains, listing the iscsi domain first -> create a new disk -> change domain to nfs and select the wipe=true Actual results: webadmin options are set according to whatever domain is listed first, allowing and disallowing specific params based on first domain type listed. Expected results: we should query each domain to update webadmin parms based on domain type. Additional info: logs and screen shots as you can see, I sent a wipe after delete for nfs domain because the list was set by the iscsi domain which allows this option: Thread-2830::DEBUG::2014-02-11 16:41:02,483::blockSD::544::Storage.Misc.excCmd::(create) '/bin/nice -n 19 /usr/bin/ionice -c 3 /bin/dd if=/dev/zero of=/dev/bb179c25-dd30-48ef-81ca-fefd5c5ca094/metadata bs=1048576 seek=0 skip=0 conv=notru nc count=40 oflag=direct' (cwd None) Thread-2830::DEBUG::2014-02-11 16:41:02,940::blockSD::544::Storage.Misc.excCmd::(create) SUCCESS: <err> = '40+0 records in\n40+0 records out\n41943040 bytes (42 MB) copied, 0.444526 s, 94.4 MB/s\n'; <rc> = 0 Thread-2830::DEBUG::2014-02-11 16:41:02,940::misc::287::Storage.Misc::(validateDDBytes) err: ['40+0 records in', '40+0 records out', '41943040 bytes (42 MB) copied, 0.444526 s, 94.4 MB/s'], size: 41943040 Thread-2830::DEBUG::2014-02-11 16:41:02,943::blockSD::546::Storage.Misc.excCmd::(create) '/bin/nice -n 19 /usr/bin/ionice -c 3 /bin/dd if=/dev/zero of=/dev/bb179c25-dd30-48ef-81ca-fefd5c5ca094/inbox bs=1024000 seek=0 skip=0 conv=notrunc count=1 oflag=direct' (cwd None) Thread-2830::DEBUG::2014-02-11 16:41:02,966::blockSD::546::Storage.Misc.excCmd::(create) SUCCESS: <err> = '1+0 records in\n1+0 records out\n1024000 bytes (1.0 MB) copied, 0.0108561 s, 94.3 MB/s\n'; <rc> = 0 Thread-2830::DEBUG::2014-02-11 16:41:02,966::misc::287::Storage.Misc::(validateDDBytes) err: ['1+0 records in', '1+0 records out', '1024000 bytes (1.0 MB) copied, 0.0108561 s, 94.3 MB/s'], size: 1024000 Thread-2830::DEBUG::2014-02-11 16:41:02,969::blockSD::548::Storage.Misc.excCmd::(create) '/bin/nice -n 19 /usr/bin/ionice -c 3 /bin/dd if=/dev/zero of=/dev/bb179c25-dd30-48ef-81ca-fefd5c5ca094/outbox bs=1024000 seek=0 skip=0 conv=notrunc count=1 oflag=direct' (cwd None)