Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1387545 - Deprecation warnings and false errors are seen during subscription-manager invocation
Deprecation warnings and false errors are seen during subscription-manager in...
Status: CLOSED ERRATA
Product: Red Hat Gluster Storage
Classification: Red Hat
Component: gdeploy (Show other bugs)
unspecified
Unspecified Unspecified
unspecified Severity medium
: ---
: RHGS 3.1.3 Async
Assigned To: Sachidananda Urs
RamaKasturi
: ZStream
Depends On:
Blocks: 1351528
  Show dependency treegraph
 
Reported: 2016-10-21 04:51 EDT by RamaKasturi
Modified: 2017-03-07 12:46 EST (History)
5 users (show)

See Also:
Fixed In Version: gdeploy-2.0.1-3
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2017-02-07 06:35:16 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2017:0260 normal SHIPPED_LIVE Important: ansible and gdeploy security and bug fix update 2017-02-07 11:32:47 EST

  None (edit)
Description RamaKasturi 2016-10-21 04:51:55 EDT
Description of problem:
When running robo.conf using latest gdeploy i see that the following false error messages gets logged on stdout.

TASK [Attach to Red Hat subscription pool] *************************************
fatal: [hostedengineSM1.lab.eng.blr.redhat.com]: FAILED! => {"changed": true, "cmd": ["subscription-manager", "attach", "--pool=8a85f9823e3d5e43013e3ddd4e9509c4"], "delta": "0:00:28.362165", "end": "2016-10-04 04:53:16.321333", "failed": true, "failed_when_result": true, "rc": 0, "start": "2016-10-04 04:52:47.959168", "stderr": "", "stdout": "Successfully attached a subscription for: Employee SKU", "stdout_lines": ["Successfully attached a subscription for: Employee SKU"], "warnings": []}
...ignoring

    I see some deprecation warnings while running engine and robo.conf files. Any updates required in files as suggested in these warnings?

TASK [Create/Enabling yum repos] ***********************************************
[DEPRECATION WARNING]: Skipping task due to undefined Error, in the future this will
be a fatal error.: 'repolist' is undefined.
This feature will be removed in a future
release. Deprecation warnings can be disabled by setting deprecation_warnings=False in
 ansible.cfg.


Version-Release number of selected component (if applicable):
gdeploy-2.0.1-2.el7rhgs.noarch.rpm
ansible-2.2.0-0.50.prerelease.el7.noarch.rpm

How reproducible:
Always

Steps to Reproduce:
1. Install gdeploy and ansible.
2. Run the command 'gdeploy -c engine-robo.conf'
3.

Actual results:
False Errors and warnings given in the description are seen.

Expected results:
False Errors and warnings should not be seen.

Additional info:
Comment 2 Sachidananda Urs 2016-10-21 04:57:14 EDT
Fix: https://github.com/gluster/gdeploy/commit/2322d352 resolves the issue.
Comment 5 Sachidananda Urs 2016-11-03 04:04:41 EDT
Commit: https://github.com/gluster/gdeploy/commit/2322d35290b0f50 fixes the issue.
Comment 7 RamaKasturi 2017-01-03 04:01:16 EST
Verified and works fine with build gdeploy-2.0.1-8.el7rhgs.noarch.

I am not seeing any deprecation warnings and false errors during subscription-manager invocation.
Comment 9 errata-xmlrpc 2017-02-07 06:35:16 EST
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHSA-2017-0260.html

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