RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1855705 - [ESXi][RHEL-8.2.1][cloud-init]ERROR log in cloud-init.log after clone VM on ESXi platform
Summary: [ESXi][RHEL-8.2.1][cloud-init]ERROR log in cloud-init.log after clone VM on E...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: cloud-init
Version: 8.2
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: rc
: 8.2
Assignee: Eduardo Otubo
QA Contact: ldu
URL:
Whiteboard:
Depends On: 1839619
Blocks: 1839662
TreeView+ depends on / blocked
 
Reported: 2020-07-10 09:22 UTC by Eduardo Otubo
Modified: 2024-11-20 07:51 UTC (History)
13 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1839619
Environment:
Last Closed: 2020-09-08 12:49:43 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Eduardo Otubo 2020-07-10 09:22:27 UTC
+++ This bug was initially created as a clone of Bug #1839619 +++

Description:
2020-05-22 11:31:53,934 - util.py[DEBUG]: Running command ['vmware-toolbox-cmd', 'config', 'get', 'deployPkg', 'enable-custom-scripts'] with allowed return codes [0] (shell=False, capture=True)
2020-05-22 11:31:53,949 - guestcust_util.py[ERROR]: Failed running ['vmware-toolbox-cmd', 'config', 'get', 'deployPkg', 'enable-custom-scripts'][69]
2020-05-22 11:31:53,950 - guestcust_util.py[ERROR]: Unexpected error while running command.
Command: ['vmware-toolbox-cmd', 'config', 'get', 'deployPkg', 'enable-custom-scripts']
Exit code: 69
Reason: -
Stdout: [deployPkg] enable-custom-scripts UNSET
Stderr:
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/cloudinit/sources/helpers/vmware/imc/guestcust_util.py", line 140, in get_tools_config
    (outText, _) = util.subp(cmd)
  File "/usr/lib/python2.7/site-packages/cloudinit/util.py", line 2084, in subp
    cmd=args)
ProcessExecutionError: Unexpected error while running command.
Command: ['vmware-toolbox-cmd', 'config', 'get', 'deployPkg', 'enable-custom-scripts']
Exit code: 69
Reason: -
Stdout: [deployPkg] enable-custom-scripts UNSET


Version-Release number of selected components (if applicable):
RHEL-7.9
cloud-init-19.4-7.el7.x86_64

How reproducible:
100%

Steps to Reproduce:
1. Start a RHEL-7.9 VM in ESXi. Install cloud-init: 
# yum install cloud-init
2. Confirm open-vm-tools installation and running in VM.
3. Create a customization specification with a new host name, domain name, timezone, Static IP settings in the Network settings.
4. Clone and customize the Guest with specification created at step 3
5. Power on the Guest cloned, check the new host name, domain name, timezone and network setting customized correct or not on the Guest cloned
6. Check Customization log from /var/log/cloud-init.log


Actual results:
There are error messages in /var/log/cloud-init.log

Expected results:
No error message

Additional info:
- It's a regression issue. It doesn't exist in RHEL7.8 cloud-init-18.5-6.el7.

--- Additional comment from RHEL Program Management on 2020-05-25 04:06:10 UTC ---

Since this bug report was entered in Red Hat Bugzilla, the release flag has been set to ? to ensure that it is properly evaluated for this release.

--- Additional comment from ldu on 2020-05-26 00:28:05 UTC ---

Test this issue on RHEL7.8 guest with cloud-init-19.4-7.el7.x86_64, still meet this issue, so this bug should not related to open-vm-tools version.

--- Additional comment from Rick Barry on 2020-06-24 19:01:57 UTC ---

This is a batch update to clean-up back-log RHEL 7.9 Virt team BZs:

RHEL 7.9 is the last minor release for RHEL 7. Only High/Urgent and CVE BZs will be approved for z-stream updates going forward.

This BZ is a candidate to be closed or moved to RHEL 8 because its priority is one of (unspecified, low, medium), was created before RHEL 7.9 bug freeze (June 8, 2020) and is not a CVE.

Please review and take one of these actions before July 3:

1. If there are no plans to fix this BZ, set status to CLOSED.
2. If you plan to fix this BZ in a RHEL 7.9.z batch update, set Priority to High.
3. Otherwise:
   - If there is already a RHEL/RHEL-AV 8 BZ for this issue, then set this BZ to CLOSE/DEFFERED.
   - Move this BZ to RHEL/RHEL-AV 8 (or clone the BZ to RHEL/RHEL-AV 8 and set status for this BZ to CLOSED/DEFERRED, whichever your standard process is for moving BZs from RHEL 7 to 8).

If no action is taken by July 3, this BZ will be set to CLOSED/WONTFIX.

--- Additional comment from Rick Barry on 2020-07-03 18:55:07 UTC ---

This BZ is being auto-closed as CLOSED/WONTFIX. If this is not appropriate and a fix is critical for RHEL 7, please re-open.

Note that RHEL 7.9 is the last minor release for RHEL 7. Security and critical bug-fixes will continue to be delivered via RHEL 7 batch updates.

--- Additional comment from Eduardo Otubo on 2020-07-10 09:10:04 UTC ---

(In reply to Rick Barry from comment #3)
> This is a batch update to clean-up back-log RHEL 7.9 Virt team BZs:
> 
> RHEL 7.9 is the last minor release for RHEL 7. Only High/Urgent and CVE BZs
> will be approved for z-stream updates going forward.
> 
> This BZ is a candidate to be closed or moved to RHEL 8 because its priority
> is one of (unspecified, low, medium), was created before RHEL 7.9 bug freeze
> (June 8, 2020) and is not a CVE.
> 
> Please review and take one of these actions before July 3:
> 
> 1. If there are no plans to fix this BZ, set status to CLOSED.
> 2. If you plan to fix this BZ in a RHEL 7.9.z batch update, set Priority to
> High.

Setting priority to high for fix in RHEL-7.9.z batch update and ASSIGNED.

This issue is fixed in commit:

  commit c6d09af67626c2f2241c64c10c9e27e8752ba87b
  Author: chengcheng-chcheng <63850735+chengcheng-chcheng.github.com>
  Date:   Wed Jun 10 00:20:47 2020 +0800

      When tools.conf does not exist, running cmd "vmware-toolbox-cmd config get
      deployPkg enable-custom-scripts", the return code will be EX_UNAVAILABLE(69)
      on this condition, it should not take it as error. (#413)

I'll backport to rhel-7.9.z and all other 19.4 branches.

> 3. Otherwise:
>    - If there is already a RHEL/RHEL-AV 8 BZ for this issue, then set this
> BZ to CLOSE/DEFFERED.
>    - Move this BZ to RHEL/RHEL-AV 8 (or clone the BZ to RHEL/RHEL-AV 8 and
> set status for this BZ to CLOSED/DEFERRED, whichever your standard process
> is for moving BZs from RHEL 7 to 8).
> 
> If no action is taken by July 3, this BZ will be set to CLOSED/WONTFIX.

Comment 3 GOS QA 2020-07-13 02:01:12 UTC
We cannot see the problem description and any comments of this bug.
May anyone help us to access this bug?

Comment 11 Jason Friedrich 2020-11-09 08:33:12 UTC
We are running into this problem right now and it is a critical issue for us. We will use 7.x until end of Q1 2021 and need to deploy new VMs in our ESXi environments. We cannot due to this bug. We need either a solution to fix this problem ourselves or need a new version of cloud-init and/or open-vm-tools. It's a regression issue. It doesn't exist in RHEL7.8 cloud-init-18.5-6.el7.


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