Uploaded image for project: 'Puppet Server'
  1. Puppet Server
  2. SERVER-1894

apt-transport-https needs to be installed on debian boxes when installing pdb

    XMLWordPrintable

    Details

    • Type: CI Blocker
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: SERVER 5.1.0
    • Component/s: None
    • Labels:
      None
    • CI Pipeline/s:
      platform puppetserver
    • Team:
      Systems Engineering
    • Sub-team:
    • Story Points:
      1
    • Sprint:
      Server 2017-07-25
    • Release Notes:
      Not Needed
    • QA Risk Assessment:
      Needs Assessment

      Description

      On July 17th a new version of the postgresql module came out which defaults to using https for the apt repo url. This will cause apt-get to fail unless it has the apt-transport-https addon installed. This failure is causing our PuppetDB installation/smoke test to fail to install postgresql. Because we're install PDB in a "test" instead of the "pre-suite" the run continues after unsuccessfully installing PDB.

      Relevant bit from the log

          Notice: /Stage[main]/Postgresql::Repo::Apt_postgresql_org/Apt::Pin[apt_postgresql_org]/Apt::Setting[pref-apt_postgresql_org]/File[/etc/apt/preferences.d/apt_postgresql_org.pref]/ensure: defined content as '{md5}734220c11c6ee4e5e2e2d022e6880efd'
          Notice: /Stage[main]/Postgresql::Repo::Apt_postgresql_org/Apt::Source[apt.postgresql.org]/Apt::Key[Add key: B97B0AFCAA1A47F044F244A07FCC7D46ACCC4CF8 from Apt::Source apt.postgresql.org]/Apt_key[Add key: B97B0AFCAA1A47F044F244A07FCC7D46ACCC4CF8 from Apt::Source apt.postgresql.org]/ensure: created
          Notice: /Stage[main]/Postgresql::Repo::Apt_postgresql_org/Apt::Source[apt.postgresql.org]/Apt::Setting[list-apt.postgresql.org]/File[/etc/apt/sources.list.d/apt.postgresql.org.list]/ensure: defined content as '{md5}cc833cad29d829f0ef6a7144e4655341'
          Info: /Stage[main]/Postgresql::Repo::Apt_postgresql_org/Apt::Source[apt.postgresql.org]/Apt::Setting[list-apt.postgresql.org]/File[/etc/apt/sources.list.d/apt.postgresql.org.list]: Scheduling refresh of Class[Apt::Update]
          Info: Class[Apt::Update]: Scheduling refresh of Exec[apt_update]
          Notice: /Stage[main]/Apt::Update/Exec[apt_update]/returns: E: The method driver /usr/lib/apt/methods/https could not be found.
          Error: /Stage[main]/Apt::Update/Exec[apt_update]: Failed to call refresh: '/usr/bin/apt-get update' returned 100 instead of one of [0]
      

        Attachments

          Activity

            People

            Assignee:
            justin Justin Stoller
            Reporter:
            justin Justin Stoller
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Zendesk Support