Bug 787473 - oVirt-Engine-Core - Wrong Error print when there is "No Space Left On The Device"
Summary: oVirt-Engine-Core - Wrong Error print when there is "No Space Left On The Dev...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: oVirt
Classification: Retired
Component: ovirt-engine-core
Version: unspecified
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
: ---
Assignee: lpeer
QA Contact:
URL:
Whiteboard: infra
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-02-05 14:44 UTC by Ortal
Modified: 2012-12-13 08:11 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-12-13 08:11:52 UTC
oVirt Team: ---


Attachments (Terms of Use)

Description Ortal 2012-02-05 14:44:57 UTC
Description of problem:

When there is no space left on the device, and we are trying to write to the logs, few issues raise up (described in actual results)

Version-Release number of selected component (if applicable):
ovirt-engine-3.0.0_0001-1.3.fc16.x86_64

How reproducible:
Always

Steps to Reproduce:
1. Install ovirt using engine-setup utility.
2. Ensure you used 100% in your file system
3. Attempt to login Admin Portal

Actual results:

1. When trying to connect to the Admin Portal, it seems we are getting an error: "User is already logged in" (while on ovirt.log we can see that there is no space left on the device)
2. ovirt.log through SQLException 
3. Storage tab stays empty...  

6c0-092d-4019-86e8-1488ec0c387d), log id: 1e5e6dfe
2012-02-05 12:23:58,117 INFO  [org.ovirt.engine.core.vdsbroker.vdsbroker.HsmGetIsoListVDSCommand] (pool-5-thread-48) FINISH, HsmGetIsoListVDSCommand, return: [], log id: 1e5e6dfe
2012-02-05 12:23:58,118 INFO  [org.ovirt.engine.core.vdsbroker.irsbroker.GetIsoListVDSCommand] (pool-5-thread-48) FINISH, GetIsoListVDSCommand, return: [], log id: 1241eb7b
2012-02-05 12:23:58,120 INFO  [org.ovirt.engine.core.vdsbroker.irsbroker.GetFloppyListVDSCommand] (pool-5-thread-48) START, GetFloppyListVDSCommand(storagePoolId = aa01b6c0-092d-4019-86e8-1488ec0c387d, ignoreFailo
verLimit = false, compatabilityVersion = null), log id: 260631b
2012-02-05 12:23:58,135 INFO  [org.ovirt.engine.core.vdsbroker.irsbroker.GetFloppyListVDSCommand] (pool-5-thread-48) FINISH, GetFloppyListVDSCommand, return: [], log id: 260631b
2012-02-05 12:31:20,816 ERROR [org.ovirt.engine.core.bll.storage.GetStorageDomainsByStoragePoolIdQuery] (http--0.0.0.0-6666-5) Query GetStorageDomainsByStoragePoolIdQuery failed. Exception message is PreparedState
mentCallback; SQL [select * from  getstorage_domains_by_storagepoolid(?)]; ERROR: could not extend file "base/369253/t2_373643": No space left on device
  Hint: Check free disk space.
  Where: SQL statement "Insert INTO tt_TEMP22
   select status, count(storage_id) from storage_pool_iso_map
   where storage_id = v_storage_domain_id
   group by status"
PL/pgSQL function "fn_get_storage_domain_shared_status_by_domain_id" line 17 at SQL statement
PL/pgSQL function "getstorage_domains_by_storagepoolid" line 3 at RETURN QUERY; nested exception is org.postgresql.util.PSQLException: ERROR: could not extend file "base/369253/t2_373643": No space left on device
  Hint: Check free disk space.
  Where: SQL statement "Insert INTO tt_TEMP22
   select status, count(storage_id) from storage_pool_iso_map
   where storage_id = v_storage_domain_id
   group by status"
PL/pgSQL function "fn_get_storage_domain_shared_status_by_domain_id" line 17 at SQL statement
PL/pgSQL function "getstorage_domains_by_storagepoolid" line 3 at RETURN QUERY
2012-02-05 12:31:25,787 ERROR [org.ovirt.engine.core.bll.storage.GetStorageDomainsByStoragePoolIdQuery] (http--0.0.0.0-6666-3) Query GetStorageDomainsByStoragePoolIdQuery failed. Exception message is PreparedState
mentCallback; SQL [select * from  getstorage_domains_by_storagepoolid(?)]; ERROR: could not extend file "base/369253/t2_373645": No space left on device
  Hint: Check free disk space.
  Where: SQL statement "Insert INTO tt_TEMP22
   select status, count(storage_id) from storage_pool_iso_map
   where storage_id = v_storage_domain_id
   group by status"
PL/pgSQL function "fn_get_storage_domain_shared_status_by_domain_id" line 17 at SQL statement
PL/pgSQL function "getstorage_domains_by_storagepoolid" line 3 at RETURN QUERY; nested exception is org.postgresql.util.PSQLException: ERROR: could not extend file "base/369253/t2_373645":2012-02-05 15:22:00,935 I
NFO  [org.ovirt.engine.core.bll.LogoutUserCommand] (http--0.0.0.0-6666-1) Running command: LogoutUserCommand internal: false.
2012-02-05 15:22:05,143 INFO  [org.ovirt.engine.core.bll.LoginAdminUserCommand] (http--0.0.0.0-6666-1) Running command: LoginAdminUserCommand internal: false.


Expected results:

The Error printed on Backend side: "No Space Left On the Device" should be printed in UI also (login page & Storage Tab)

Additional info:

Comment 1 Itamar Heim 2012-12-13 08:11:52 UTC
Closing old bugs. If this issue is still relevant/important in current version, please re-open the bug.


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