E-CLOUD: Peoplesoft Peopletools Patching/Upgrade Using Cloud Manager Fails at Un-provisioning with Error "Duplicate declaration: Group[oinstall] is already declared"
(Doc ID 3056019.1)
Last updated on OCTOBER 28, 2024
Applies to:
PeopleSoft Cloud Manager - Version 17 and laterInformation in this document applies to any platform.
Symptoms
Using Cloud Manager for applying PeopleTools Patch/Upgrade fails with the below error:
out.log -
2024-04-19 23:07:57,123 DEBUG psc_event_sender.py 63 call back data:{"eventType": "TASK_EVENT", "data": {"taskId": "1713521115524-130452", "taskType": "PSFTPROVMT", "taskSubType": "execute", "taskStatus": "FAILED", "taskResult": {"taskType": "PSFTPROVMT", "envName": "<DB Name>", "stackId": "", "taskSubType": "execute", "taskId": "1713521115524-130452", "callBackResult": {"status": "failure", "exit_code": "1", "status_message": "Failed", "data": {"warn_message": ["The puppet profile pt_system Failed."]}, "psft_activity_response": [{"status": "success", "exit_code": "0", "status_message": "Successfully completed", "activity_name": "PsftActivityFileRemoteCopy", "id": "0", "activity_description": "Copying File to Managed Environment", "data": {}, "action_status": {}}, {"status": "failure", "exit_code": "1", "status_message": "Failed", "activity_name": "PsftReprovisionMTActivity", "id": "1", "activity_description": "Performing Reprovision MT", "data": {"warn_message": ["The puppet profile pt_system Failed."]}, "action_status": {}}, {"status": "unknown", "exit_code": "-1", "status_message": "NIL", "activity_name": "PscEnvInfraCPUVersActivityLnx", "id": "2", "activity_description": "Retrieve Infra CPU Patch information from environment"}]}}, "hostId": 0}}
remote_out.log -
2024-04-19 23:07:56,463 DEBUG psc_activity.py 385 Activity Status: {'status': 'failure', 'exit_code': '1', 'status_message': 'Failed', 'data': {}, 'psft_activity_response': [{'status': 'success', 'exit_code': '0', 'status_message': 'Successfully completed', 'activity_name': 'PsftActivityFileRemoteCopy', 'id': '0', 'activity_description': 'Copying File to Managed Environment', 'data': {}, 'action_status': {}}, {'status': 'failure', 'exit_code': '1', 'status_message': 'Failed', 'activity_name': 'PsftReprovisionMTActivity', 'id': '1', 'activity_description': 'Performing Reprovision MT', 'data': {'warn_message': ['The puppet profile pt_system Failed.']}, 'start_time': '19/04/2024, 23:06:10', 'end_time': '19/04/2024, 23:07:56'}, {'status': 'unknown', 'exit_code': '-1', 'status_message': 'NIL', 'activity_name': 'PscEnvInfraCPUVersActivityLnx', 'id': '2', 'activity_description': 'Retrieve Infra CPU Patch information from environment'}], 'error_description': {'error_code': '15601', 'binding_params_message': ['pt_system'], 'binding_params_action': ['/home/psadm2/psft/data/cloud/cmlogs/envs/<DB Name>/PTU_REPROV_MT_instance_1_20240419_230602/psft_activty_reprovision_mt_1_20240419_230607/pt_system.log']}}
pt_system.log -
2024-04-19 23:07:52 +0000 Puppet Error: Evaluation Error: Error while evaluating a Resource Statement, Duplicate declaration: Group[oinstall] is already declared at (file: /app/psft/.../dpk/puppet/production/modules/pt_profile/manifests/pt_system/groups.pp, line: 36); cannot redeclare (file: /app/psft/.../dpk/puppet/production/modules/pt_profile/manifests/pt_system/groups.pp, line: 36) (file: /app/psft/<host>/dpk/puppet/production/modules/pt_profile/manifests/pt_system/groups.pp, line: 36, column: 9) on node <node/host_name>
2024-04-19 23:07:57,123 DEBUG psc_event_sender.py 63 call back data:{"eventType": "TASK_EVENT", "data": {"taskId": "1713521115524-130452", "taskType": "PSFTPROVMT", "taskSubType": "execute", "taskStatus": "FAILED", "taskResult": {"taskType": "PSFTPROVMT", "envName": "<DB Name>", "stackId": "", "taskSubType": "execute", "taskId": "1713521115524-130452", "callBackResult": {"status": "failure", "exit_code": "1", "status_message": "Failed", "data": {"warn_message": ["The puppet profile pt_system Failed."]}, "psft_activity_response": [{"status": "success", "exit_code": "0", "status_message": "Successfully completed", "activity_name": "PsftActivityFileRemoteCopy", "id": "0", "activity_description": "Copying File to Managed Environment", "data": {}, "action_status": {}}, {"status": "failure", "exit_code": "1", "status_message": "Failed", "activity_name": "PsftReprovisionMTActivity", "id": "1", "activity_description": "Performing Reprovision MT", "data": {"warn_message": ["The puppet profile pt_system Failed."]}, "action_status": {}}, {"status": "unknown", "exit_code": "-1", "status_message": "NIL", "activity_name": "PscEnvInfraCPUVersActivityLnx", "id": "2", "activity_description": "Retrieve Infra CPU Patch information from environment"}]}}, "hostId": 0}}
remote_out.log -
2024-04-19 23:07:56,463 DEBUG psc_activity.py 385 Activity Status: {'status': 'failure', 'exit_code': '1', 'status_message': 'Failed', 'data': {}, 'psft_activity_response': [{'status': 'success', 'exit_code': '0', 'status_message': 'Successfully completed', 'activity_name': 'PsftActivityFileRemoteCopy', 'id': '0', 'activity_description': 'Copying File to Managed Environment', 'data': {}, 'action_status': {}}, {'status': 'failure', 'exit_code': '1', 'status_message': 'Failed', 'activity_name': 'PsftReprovisionMTActivity', 'id': '1', 'activity_description': 'Performing Reprovision MT', 'data': {'warn_message': ['The puppet profile pt_system Failed.']}, 'start_time': '19/04/2024, 23:06:10', 'end_time': '19/04/2024, 23:07:56'}, {'status': 'unknown', 'exit_code': '-1', 'status_message': 'NIL', 'activity_name': 'PscEnvInfraCPUVersActivityLnx', 'id': '2', 'activity_description': 'Retrieve Infra CPU Patch information from environment'}], 'error_description': {'error_code': '15601', 'binding_params_message': ['pt_system'], 'binding_params_action': ['/home/psadm2/psft/data/cloud/cmlogs/envs/<DB Name>/PTU_REPROV_MT_instance_1_20240419_230602/psft_activty_reprovision_mt_1_20240419_230607/pt_system.log']}}
pt_system.log -
2024-04-19 23:07:52 +0000 Puppet Error: Evaluation Error: Error while evaluating a Resource Statement, Duplicate declaration: Group[oinstall] is already declared at (file: /app/psft/.../dpk/puppet/production/modules/pt_profile/manifests/pt_system/groups.pp, line: 36); cannot redeclare (file: /app/psft/.../dpk/puppet/production/modules/pt_profile/manifests/pt_system/groups.pp, line: 36) (file: /app/psft/<host>/dpk/puppet/production/modules/pt_profile/manifests/pt_system/groups.pp, line: 36, column: 9) on node <node/host_name>
The issue can be reproduced at will with the following steps:
1. Import the environment to PeopleSoft Cloud Manager.
2. Initiate the PeopleTools Patch/Upgrade using Cloud Manager.
3. See the Error.
Changes
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 |