My Oracle Support Banner

[PCA 2.4.x] Tenant Group Could Fail on Creation And End up in Error State (Doc ID 2988621.1)

Last updated on NOVEMBER 21, 2023

Applies to:

Private Cloud Appliance - Version 2.4.2 and later
Linux x86-64

Symptoms

In a rare case, creating Tenant Group could fail in PCA-ADMIN CLI of a PCA with 2.4.x software release, leaving the new tenant group in error state.

PCA> list tenant-group

Name Default State
---- ------- -----
...
Test_Tenant_Group False error
...
----------------
7 rows displayed

Status: Success

 

And when this happens, the following error could be found in ovca.log
...
[2023-02-08 06:01:48 2219405] DEBUG (zfsconfiglib:2454) Creating the LUN: Test_Tenant_Group_tenant_lun
[2023-02-08 06:01:51 2219405] INFO (zfssa_session:753) Successfully created the LUN Test_Tenant_Group_tenant_lun on OVCA_POOL/OVM
[2023-02-08 06:01:53 2219405] INFO (zfssa_session:806) Successfully updated the LUN Test_Tenant_Group_tenant_lun on OVCA_POOL/OVM
[2023-02-08 06:01:53 2219405] INFO (ovm:108) Calling ovmwsh script [refresh_san_server.py] with args ('--san=OVCA_ZFSSA_Rack1',)
[2023-02-08 06:02:22 2219405] INFO (ovm:151) ovmwsh script finished with success
STDOUT: Looking for [storage array] [OVCA_ZFSSA_Rack1]
Refreshing the san server [OVCA_ZFSSA_Rack1]
Successfully ran [Refresh Storage Array: OVCA_ZFSSA_Rack1]

[2023-02-08 06:02:22 2219405] INFO (ovm:108) Calling ovmwsh script [create_tenant_group.py] with args ('--tenantgroup=Test_Tenant_Group', u'--page83id=3600144f084400c5cXXXXXXXXXXXXXXXX')
[2023-02-08 06:02:26 2219405] WARNING (ovm:148) ovmwsh script finished with error: 1
STDOUT: Looking the LUN with id [3600144f084400c5cXXXXXXXXXXXXXXXX]
The LUN with the page83id [3600144f084400c5cXXXXXXXXXXXXXXXX] was not found.

STDERR:
Oracle VM Manager Core WS-API Shell 3.4.7.856 (20221024_856)

Copyright (C) 2007, 2016 Oracle. All rights reserved.
See the LICENSE file for redistribution information.

[2023-02-08 06:02:26 2219405] ERROR (api_util:38) Error while invoking API.
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/ovca/api/api_util.py", line 36, in inner
ret = func(*args, **kwargs)
File "/usr/lib/python2.6/site-packages/ovca/api/api_util.py", line 68, in new_function
return func(*args, **kwargs)
File "/usr/lib/python2.6/site-packages/ovca/api/internal_api.py", line 1599, in create_tenant_group
raise OvcaApiException("TENANT_GROUP_000", tenant_group_name, str(e))
OvcaApiException: Error (TENANT_GROUP_000): Exception while creating tenant group Test_Tenant_Group: Failed to create the Tenant Group Test_Tenant_Group. Check the system..
...

 

Changes

N/A

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.