Bug 988407

Summary: oVirt 3.3: Cannot list ISOs or Create VM - Storage type NFS
Product: [Retired] oVirt Reporter: Douglas Schilling Landgraf <dougsland>
Component: ovirt-engine-webadminAssignee: Nobody's working on this, feel free to take it <nobody>
Status: CLOSED DUPLICATE QA Contact:
Severity: high Docs Contact:
Priority: urgent    
Version: 3.3CC: acathrow, ecohen, iheim, juan.hernandez, mgoldboi, vszocs, yeylon
Target Milestone: ---   
Target Release: 3.3   
Hardware: All   
OS: All   
Whiteboard: ux
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-07-25 22:07:03 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Douglas Schilling Landgraf 2013-07-25 14:32:43 UTC
Description of problem:

oVirt Engine Version: 3.3.0-0.3.beta1.fc19

How reproducible:

- Install Fedora Node
- Create NFS Storage (Data)
- Create NFS ISO (Iso)

- Attach both on DataCenter
- Copy new .iso to ISO storage

* Try to list ISOs on Storage -> Images (not possible) 
* Try to create VM (not possible)

Message on UI:
======================
Error while executing action: A Request to the Server failed with the following Status Code: 500

On /var/log/ovirt-engine/engine.log:

2013-07-25 10:29:01,474 INFO  [org.ovirt.engine.core.vdsbroker.irsbroker.GetIsoListVDSCommand] (ajp--127.0.0.1-8702-13) START, GetIsoListVDSCommand( storagePoolId = 5849b030-626e-47cb-ad90-3ce782d831b3, ignoreFailoverLimit = false), log id: 54649238
2013-07-25 10:29:01,477 INFO  [org.ovirt.engine.core.vdsbroker.vdsbroker.HsmGetIsoListVDSCommand] (ajp--127.0.0.1-8702-13) START, HsmGetIsoListVDSCommand(HostName = 192.168.122.171, HostId = 9d949e2c-71f6-495c-9b3d-aed56455bff4, storagePoolId=5849b030-626e-47cb-ad90-3ce782d831b3), log id: 16bbc5d1
2013-07-25 10:29:01,498 INFO  [org.ovirt.engine.core.vdsbroker.vdsbroker.HsmGetIsoListVDSCommand] (ajp--127.0.0.1-8702-13) FINISH, HsmGetIsoListVDSCommand, return: [Fedora-Live-Desktop-x86_64-19-1.iso, Fedora-18-x86_64-DVD.iso], log id: 16bbc5d1
2013-07-25 10:29:01,500 INFO  [org.ovirt.engine.core.vdsbroker.irsbroker.GetIsoListVDSCommand] (ajp--127.0.0.1-8702-13) FINISH, GetIsoListVDSCommand, return: [Fedora-Live-Desktop-x86_64-19-1.iso, Fedora-18-x86_64-DVD.iso], log id: 54649238
2013-07-25 10:29:01,514 INFO  [org.ovirt.engine.core.vdsbroker.irsbroker.GetFloppyListVDSCommand] (ajp--127.0.0.1-8702-13) START, GetFloppyListVDSCommand( storagePoolId = 5849b030-626e-47cb-ad90-3ce782d831b3, ignoreFailoverLimit = false), log id: 1c69e7d6
2013-07-25 10:29:01,529 INFO  [org.ovirt.engine.core.vdsbroker.irsbroker.GetFloppyListVDSCommand] (ajp--127.0.0.1-8702-13) FINISH, GetFloppyListVDSCommand, return: [], log id: 1c69e7d6
2013-07-25 10:29:01,539 INFO  [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (ajp--127.0.0.1-8702-13) Correlation ID: null, Call Stack: null, Custom Event ID: -1, Message: Succeeded to refresh Iso domain : iso (All file type)

Additional Info:
=========================
# cat /etc/exports
/storage    *(rw,sync,no_subtree_check,all_squash,anonuid=36,anongid=36)
/iso    *(rw,sync,no_subtree_check,all_squash,anonuid=36,anongid=36)

Permissions Dir
================
# ls -l 
drwxr-xr-x.   3 vdsm kvm    4096 Jul 25 10:12 iso


Permissions ISOs
===================
# ls -la /iso/46e7d16c-ced1-452a-87d4-08b2e4de7ce6/images/11111111-1111-1111-1111-111111111111/Fedora-*
-rwxrwxrwx. 1 vdsm kvm 4573888512 Jul 25 10:13 /iso/46e7d16c-ced1-452a-87d4-08b2e4de7ce6/images/11111111-1111-1111-1111-111111111111/Fedora-18-x86_64-DVD.iso
-rwxr-xr-x. 1 vdsm kvm  997195776 Jul 25 10:16 /iso/46e7d16c-ced1-452a-87d4-08b2e4de7ce6/images/11111111-1111-1111-1111-111111111111/Fedora-Live-Desktop-x86_64-19-1.iso

Comment 1 Juan Hernández 2013-07-25 17:23:16 UTC
This problem is caused by a GWT RPC serialization issue introduced with version 2.5.1 of GWT, the signature is the following message in server.log:

2013-07-25 10:35:25,940 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/webadmin]] (ajp--127.0.0.1-8702-3) Exception while dispatching incoming RPC call: java.lang.NullPointerException

Comment 2 Itamar Heim 2013-07-25 20:31:12 UTC
dup of bug 988021?

Comment 3 Juan Hernández 2013-07-25 22:07:03 UTC
Yes, this is the same issue that bug 988021.

*** This bug has been marked as a duplicate of bug 988021 ***