jwt and rubocop are making ci fail

Bug #1726442 reported by Michele Baldessari
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
puppet-pacemaker
Fix Released
Undecided
Michele Baldessari

Bug Description

Jwt 2.0.0 and later require ruby 2.1 which seem to be prolematic:
http://logs.openstack.org/52/514252/1/check/legacy-puppet-unit-4.8-centos-7/94d06a1/job-output.txt.gz#_2017-10-23_10_5
3_49_684091

 Gem::InstallError: jwt requires Ruby version >= 2.1.
 An error occurred while installing jwt (2.1.0), and Bundler cannot continue.
 Make sure that `gem install jwt -v '2.1.0'` succeeds before bundling.

 In Gemfile:
   beaker-puppet_install_helper was resolved to 0.7.1, which depends on
     beaker was resolved to 2.52.0, which depends on
       google-api-client was resolved to 0.9.4, which depends on
         googleauth was resolved to 0.6.1, which depends on
           signet was resolved to 0.8.1, which depends on
             jwt
 bundler: failed to load command: rake (/home/zuul/workspace/.bundled_gems/bin/rake)

Same goes for rubocop

Changed in puppet-pacemaker:
assignee: nobody → Michele Baldessari (michele)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to puppet-pacemaker (master)

Reviewed: https://review.openstack.org/514270
Committed: https://git.openstack.org/cgit/openstack/puppet-pacemaker/commit/?id=9a46ecd1e71aa44566a642cc10dd311ffad22166
Submitter: Zuul
Branch: master

commit 9a46ecd1e71aa44566a642cc10dd311ffad22166
Author: Michele Baldessari <email address hidden>
Date: Mon Oct 23 14:24:24 2017 +0200

    Pin jwt to 1.5.6 and rubocop to 0.50.0

    Jwt 2.0.0 and later require ruby 2.1 which seem to be prolematic:
    http://logs.openstack.org/52/514252/1/check/legacy-puppet-unit-4.8-centos-7/94d06a1/job-output.txt.gz#_2017-10-23_10_53_49_684091

     Gem::InstallError: jwt requires Ruby version >= 2.1.
     An error occurred while installing jwt (2.1.0), and Bundler cannot continue.
     Make sure that `gem install jwt -v '2.1.0'` succeeds before bundling.

     In Gemfile:
       beaker-puppet_install_helper was resolved to 0.7.1, which depends on
         beaker was resolved to 2.52.0, which depends on
           google-api-client was resolved to 0.9.4, which depends on
             googleauth was resolved to 0.6.1, which depends on
               signet was resolved to 0.8.1, which depends on
                 jwt
     bundler: failed to load command: rake (/home/zuul/workspace/.bundled_gems/bin/rake)

    Same goes for rubocop

    Closes-Bug: #1726442

    Change-Id: Ic1ebf662b21721432a391c13e5f4217fce18796f

Changed in puppet-pacemaker:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to puppet-pacemaker (stable/0.6.x)

Fix proposed to branch: stable/0.6.x
Review: https://review.openstack.org/521317

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to puppet-pacemaker (stable/0.6.x)

Reviewed: https://review.openstack.org/521317
Committed: https://git.openstack.org/cgit/openstack/puppet-pacemaker/commit/?id=1b7b9e99498dbdeaf722054d4d16a3b19e48d6ee
Submitter: Zuul
Branch: stable/0.6.x

commit 1b7b9e99498dbdeaf722054d4d16a3b19e48d6ee
Author: Michele Baldessari <email address hidden>
Date: Mon Oct 23 14:24:24 2017 +0200

    Pin jwt to 1.5.6 and rubocop to 0.50.0 and parse pcs auth output with all pcs versions

    NB: Need to squash two cherry-picks in one due to CI failures

    First commit:
    Jwt 2.0.0 and later require ruby 2.1 which seem to be prolematic:
    http://logs.openstack.org/52/514252/1/check/legacy-puppet-unit-4.8-centos-7/94d06a1/job-output.txt.gz#_2017-10-23_10_53_49_684091

     Gem::InstallError: jwt requires Ruby version >= 2.1.
     An error occurred while installing jwt (2.1.0), and Bundler cannot continue.
     Make sure that `gem install jwt -v '2.1.0'` succeeds before bundling.

     In Gemfile:
       beaker-puppet_install_helper was resolved to 0.7.1, which depends on
         beaker was resolved to 2.52.0, which depends on
           google-api-client was resolved to 0.9.4, which depends on
             googleauth was resolved to 0.6.1, which depends on
               signet was resolved to 0.8.1, which depends on
                 jwt
     bundler: failed to load command: rake (/home/zuul/workspace/.bundled_gems/bin/rake)

    Same goes for rubocop

    Second commit:

    Parse pcs auth output with all pcs versions

    Newer pcs versions don't print "Debug Output" messages anymore
    but use "Debug Stdout". Since the pcs cluster auth functions
    parse that output, let's make sure we match both strings.

    Closes-Bug: #1726442
    Closes-Bug: #1718186

    Change-Id: Ic1ebf662b21721432a391c13e5f4217fce18796f
    (cherry picked from commit 9a46ecd1e71aa44566a642cc10dd311ffad22166)
    (cherry picked from commit a2e9675cda2e9152569ce4ab0f69484c03fc7c93)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/puppet-pacemaker 0.7.0

This issue was fixed in the openstack/puppet-pacemaker 0.7.0 release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.