Bug 1487547
| Summary: | PyGIWarning: GnomeKeyring was imported without specifying a version first. | |||
|---|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Masaki Furuta ( RH ) <mfuruta> | |
| Component: | python-keyring | Assignee: | Prasanth Anbalagan <panbalag> | |
| Status: | CLOSED ERRATA | QA Contact: | Prasanth Anbalagan <panbalag> | |
| Severity: | medium | Docs Contact: | ||
| Priority: | medium | |||
| Version: | 9.0 (Mitaka) | CC: | akaris, amedeo.salvati, apevec, apevec, cb20777, christer.j.eriksson, dahorak, dondavis, ecerqueira, extras-qa, fritz, i, ikke, jan.public, jdennis, jholmes, jose.castro.leon, jruzicka, juan, kevin, kvolny, lars, lhh, mark, mburns, ncross, nkinder, panbalag, p, praiskup, rbean, rhos-maint, rmascena, rtnpro, srevivo, vashirov, whayutin, xinhua.bao | |
| Target Milestone: | zstream | Keywords: | Reopened, Triaged, ZStream | |
| Target Release: | 9.0 (Mitaka) | |||
| Hardware: | All | |||
| OS: | Linux | |||
| Whiteboard: | ||||
| Fixed In Version: | python-keyring-5.0-5.el7ost | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | 1259747 | |||
| : | 1494144 1494148 (view as bug list) | Environment: | ||
| Last Closed: | 2017-11-08 18:41:23 UTC | Type: | Bug | |
| Regression: | --- | Mount Type: | --- | |
| Documentation: | --- | CRM: | ||
| Verified Versions: | Category: | --- | ||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
| Cloudforms Team: | --- | Target Upstream Version: | ||
| Embargoed: | ||||
| Bug Depends On: | 1259747 | |||
| Bug Blocks: | 1494144, 1494148 | |||
|
Description
Masaki Furuta ( RH )
2017-09-01 08:58:06 UTC
Hi, I found OSP10 or later has python-keyring-5.7.1-1.el7ost, which already include fix at https://bugzilla.redhat.com/show_bug.cgi?id=1259747#c2. But OSP9 and 8 has still have older python-keyring-5.0-3.el7ost, which warns "PyGIWarning: GnomeKeyring was imported without specifying a version first." Just a note from a content inclusion criteria perspective, this is flagged as medium and OSP 9 is production phase 2. A significant rebase like this is generally frowned upon in prod phase 2 releases. (In reply to Mike Burns from comment #2) > Just a note from a content inclusion criteria perspective, this is flagged > as medium and OSP 9 is production phase 2. A significant rebase like this > is generally frowned upon in prod phase 2 releases. I don't think a rebase is needed. We really would just need to take python-keyring-5.0-5 from Fedora. According to the changelog for the Fedora package, the only code change is the fix for this bug: -------------------------------------------------------------------------------- * Sun Oct 02 2016 Kevin Fenzi <kevin> - 5.0-5 - Fix useless warning message for openstack module use. Fixes bug #1259747 * Thu Feb 04 2016 Fedora Release Engineering <releng> - 5.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild -------------------------------------------------------------------------------- You can see the full changelog here in koji: https://koji.fedoraproject.org/koji/buildinfo?buildID=806225 I think that this makes sense to backport. I hit this issue as well with another customer. I'm making all case comments public. I can only stress that we're an OpenSource company and making our case comments private doesn't do anybody any good :-) + hit by another customer. So 2 new cases, OSP 7 and 8. It looks as if this is breaking OSP Director minor updates for both of these versions. This seems to be pretty easy to work around and doesn't seem to have any dependency issues ... https://apps.fedoraproject.org/packages/python-keyring [stack@undercloud-7 ~]$ rpm -qa | grep python-keyring python-keyring-5.0-1.el7ost.noarch [stack@undercloud-7 ~]$ wget https://kojipkgs.fedoraproject.org//packages/python-keyring/5.0/5.fc24/noarch/python-keyring-5.0-5.fc24.noarch.rpm --2017-09-09 17:10:11-- https://kojipkgs.fedoraproject.org//packages/python-keyring/5.0/5.fc24/noarch/python-keyring-5.0-5.fc24.noarch.rpm Resolving kojipkgs.fedoraproject.org (kojipkgs.fedoraproject.org)... 209.132.181.16, 209.132.181.15 Connecting to kojipkgs.fedoraproject.org (kojipkgs.fedoraproject.org)|209.132.181.16|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 121994 (119K) [application/x-rpm] Saving to: ‘python-keyring-5.0-5.fc24.noarch.rpm’ 100%[============================================================================>] 121,994 629KB/s in 0.2s 2017-09-09 17:10:12 (629 KB/s) - ‘python-keyring-5.0-5.fc24.noarch.rpm’ saved [121994/121994] [stack@undercloud-7 ~]$ sudo yum localinstall python-keyring-5.0-5.fc24.noarch.rpm Loaded plugins: priorities, search-disabled-repos Repodata is over 2 weeks old. Install yum-cron? Or run: yum makecache fast Examining python-keyring-5.0-5.fc24.noarch.rpm: python-keyring-5.0-5.fc24.noarch Marking python-keyring-5.0-5.fc24.noarch.rpm as an update to python-keyring-5.0-1.el7ost.noarch Resolving Dependencies --> Running transaction check ---> Package python-keyring.noarch 0:5.0-1.el7ost will be updated ---> Package python-keyring.noarch 0:5.0-5.fc24 will be an update --> Finished Dependency Resolution Dependencies Resolved ====================================================================================================================== Package Arch Version Repository Size ====================================================================================================================== Updating: python-keyring noarch 5.0-5.fc24 /python-keyring-5.0-5.fc24.noarch 443 k Transaction Summary ====================================================================================================================== Upgrade 1 Package Total size: 443 k Is this ok [y/d/N]: y Downloading packages: Running transaction check Running transaction test Transaction test succeeded Running transaction Updating : python-keyring-5.0-5.fc24.noarch 1/2 Cleanup : python-keyring-5.0-1.el7ost.noarch 2/2 Verifying : python-keyring-5.0-5.fc24.noarch 1/2 Verifying : python-keyring-5.0-1.el7ost.noarch 2/2 Updated: python-keyring.noarch 0:5.0-5.fc24 Complete! [stack@undercloud-7 ~]$ Workaround for https://bugzilla.redhat.com/show_bug.cgi?id=1259747 and https://bugzilla.redhat.com/show_bug.cgi?id=1487547 Modify stackrc and overclourc, change the PYTHONWARNINGS to: ~~~ export PYTHONWARNINGS="ignore:Certificate has no, ignore:A true SSLContext object is not available,ignore:GnomeKeyring was imported" ~~~ This is obviously only for the CLI, the services internally will still log this same warning message (e.g. in log of os-collect-config) Verified as follows - No error message observed. [stack@undercloud-0 ~]$ yum list installed | grep python-novaclient python-novaclient.noarch 1:3.3.2-1.el7ost @rhelosp-9.0-puddle [stack@undercloud-0 ~]$ [stack@undercloud-0 ~]$ yum list installed | grep python-keyring python-keyring.noarch 5.0-5.el7ost @rhelosp-9.0-puddle [stack@undercloud-0 ~]$ nova list +----+------+--------+------------+-------------+----------+ | ID | Name | Status | Task State | Power State | Networks | +----+------+--------+------------+-------------+----------+ +----+------+--------+------------+-------------+----------+ 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://access.redhat.com/errata/RHBA-2017:3154 |