Uploaded image for project: 'Puppet'
  1. Puppet
  2. PUP-8008

puppet module install fails to install apt 4.2.0



    • Type: CI Blocker
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: PUP 4.10.9, PUP 5.3.3
    • Component/s: PMT
    • Labels:
    • Environment:

      All OSes tested against PE. Affects the latest builds in hoyt, and also the 2017.2

    • CI Pipeline/s:
    • Team:
      Platform Core
    • Release Notes:
      Bug Fix
    • Release Notes Summary:
      Puppet module install may previously have been unable to install a module from the Forge (like apache or stdlib), when there were many versions of said module available. A bug related to URL encoding in paginated results has been resolved.
    • QA Risk Assessment:
      Needs Assessment



      03:12:34 Failure/Error: install_module_dependencies_on(hosts)
      03:12:34 Beaker::Host::CommandFailure:
      03:12:34   Host 'uacd2e1mnxhnx0t.delivery.puppetlabs.net' exited with 1 running:
      03:12:34    puppet module install puppetlabs-apt -v 4.2.0
      03:12:34   Last 10 lines of output were:
      03:12:34   	Notice: Preparing to install into /etc/puppetlabs/code/environments/production/modules ...
      03:12:34   	Notice: Downloading from https://forgeapi.puppet.com ...
      03:12:34   	Error: Could not install 'puppetlabs-apt' (v4.2.0)
      03:12:34   	  No releases matching '4.2.0' are available from https://forgeapi.puppet.com

      If we run with verbose and debug, we can see that it is using pagination, but not checking the next page.

      [root@n8vja2lvd96dr50 ~]# puppet module install puppetlabs-apt -v 4.2.0 --force --verbose --debug
      Debug: Runtime environment: puppet_version=5.3.1, ruby_version=2.4.1, run_mode=user, default_encoding=UTF-8
      Notice: Preparing to install into /etc/puppetlabs/code/environments/production/modules ...
      Debug: puppetlabs-lvm initialized for i18n:
      Debug: puppetlabs-facter_task initialized for i18n:
      Debug: puppetlabs-package initialized for i18n:
      Debug: puppetlabs-pe_accounts initialized for i18n:
      Debug: puppetlabs-pe_concat initialized for i18n:
      Debug: puppetlabs-pe_hocon initialized for i18n:
      Debug: puppetlabs-pe_infrastructure initialized for i18n:
      Debug: puppetlabs-pe_inifile initialized for i18n:
      Debug: puppetlabs-pe_install initialized for i18n:
      Debug: puppetlabs-pe_java_ks initialized for i18n:
      Debug: puppetlabs-pe_nginx initialized for i18n:
      Debug: puppetlabs-pe_postgresql initialized for i18n:
      Debug: puppetlabs-pe_puppet_authorization initialized for i18n:
      Debug: puppetlabs-pe_r10k initialized for i18n:
      Debug: puppetlabs-pe_razor initialized for i18n:
      Debug: puppetlabs-pe_repo initialized for i18n:
      Debug: puppetlabs-pe_staging initialized for i18n:
      Debug: puppetlabs-pe_support_script initialized for i18n:
      Debug: puppetlabs-puppet_conf initialized for i18n:
      Debug: puppetlabs-puppet_enterprise initialized for i18n:
      Debug: puppetlabs-service initialized for i18n:
      Notice: Downloading from https://forgeapi.puppet.com ...
      Debug: HTTP GET https://forgeapi.puppet.com/v3/releases?module=puppetlabs-apt&module_groups=base pe_only
      Debug: Evicting cache entry for environment 'production'
      Debug: Caching environment 'production' (ttl = 0 sec)
      Debug: HTTP GET https://forgeapi.puppet.com/v3/releases?module=puppetlabs-apt&module_groups=base+pe_only&limit=20&offset=20

      This is prevents users from installing the latest version of postrgesql. It may also affect other modules


          Issue Links



              Unassigned Unassigned
              tp Thomas Honey
              0 Vote for this issue
              12 Start watching this issue



                  Zendesk Support