Uploaded image for project: 'Bigtop'
  1. Bigtop
  2. BIGTOP-3025

ci.bigtop.apache.org certificate is expired and causes errors

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.3.0
    • Component/s: ci
    • Labels:
      None

      Description

      The certificate provided by https://ci.bigtop.apache.org/ expired on April 29th, 2018.

      This causes errors. For instance, in the zookeeper-relation-changed juju hook of the kafka charm:

      Debug: Executing '/usr/bin/apt-get update'
       Notice: /Stage[main]/Bigtop_repo/Exec[bigtop-apt-update]/returns: Hit:1 http://archive.ubuntu.com/ubuntu xenial InRelease
       Notice: /Stage[main]/Bigtop_repo/Exec[bigtop-apt-update]/returns: Hit:2 http://archive.ubuntu.com/ubuntu xenial-updates InRelease
       Notice: /Stage[main]/Bigtop_repo/Exec[bigtop-apt-update]/returns: Hit:3 http://archive.ubuntu.com/ubuntu xenial-backports InRelease
       Notice: /Stage[main]/Bigtop_repo/Exec[bigtop-apt-update]/returns: Hit:4 http://security.ubuntu.com/ubuntu xenial-security InRelease
       Notice: /Stage[main]/Bigtop_repo/Exec[bigtop-apt-update]/returns: Ign:5 https://ci.bigtop.apache.org/job/Bigtop-trunk-repos/OS=ubuntu-16.04,label=docker-slave/ws/output/apt bigtop InRelease
       Notice: /Stage[main]/Bigtop_repo/Exec[bigtop-apt-update]/returns: Ign:6 https://ci.bigtop.apache.org/job/Bigtop-trunk-repos/OS=ubuntu-16.04,label=docker-slave/ws/output/apt bigtop Release
       Notice: /Stage[main]/Bigtop_repo/Exec[bigtop-apt-update]/returns: Ign:7 https://ci.bigtop.apache.org/job/Bigtop-trunk-repos/OS=ubuntu-16.04,label=docker-slave/ws/output/apt bigtop/contrib amd64 Packages
       Notice: /Stage[main]/Bigtop_repo/Exec[bigtop-apt-update]/returns: Ign:8 https://ci.bigtop.apache.org/job/Bigtop-trunk-repos/OS=ubuntu-16.04,label=docker-slave/ws/output/apt bigtop/contrib all Packages
       Notice: /Stage[main]/Bigtop_repo/Exec[bigtop-apt-update]/returns: Ign:9 https://ci.bigtop.apache.org/job/Bigtop-trunk-repos/OS=ubuntu-16.04,label=docker-slave/ws/output/apt bigtop/contrib Translation-en_US
       Notice: /Stage[main]/Bigtop_repo/Exec[bigtop-apt-update]/returns: Ign:10 https://ci.bigtop.apache.org/job/Bigtop-trunk-repos/OS=ubuntu-16.04,label=docker-slave/ws/output/apt bigtop/contrib Translation-en
       Notice: /Stage[main]/Bigtop_repo/Exec[bigtop-apt-update]/returns: Ign:7 https://ci.bigtop.apache.org/job/Bigtop-trunk-repos/OS=ubuntu-16.04,label=docker-slave/ws/output/apt bigtop/contrib amd64 Packages
       Notice: /Stage[main]/Bigtop_repo/Exec[bigtop-apt-update]/returns: Ign:8 https://ci.bigtop.apache.org/job/Bigtop-trunk-repos/OS=ubuntu-16.04,label=docker-slave/ws/output/apt bigtop/contrib all Packages
       Notice: /Stage[main]/Bigtop_repo/Exec[bigtop-apt-update]/returns: Ign:9 https://ci.bigtop.apache.org/job/Bigtop-trunk-repos/OS=ubuntu-16.04,label=docker-slave/ws/output/apt bigtop/contrib Translation-en_US
       Notice: /Stage[main]/Bigtop_repo/Exec[bigtop-apt-update]/returns: Ign:10 https://ci.bigtop.apache.org/job/Bigtop-trunk-repos/OS=ubuntu-16.04,label=docker-slave/ws/output/apt bigtop/contrib Translation-en
       Notice: /Stage[main]/Bigtop_repo/Exec[bigtop-apt-update]/returns: Ign:7 https://ci.bigtop.apache.org/job/Bigtop-trunk-repos/OS=ubuntu-16.04,label=docker-slave/ws/output/apt bigtop/contrib amd64 Packages
       Notice: /Stage[main]/Bigtop_repo/Exec[bigtop-apt-update]/returns: Ign:8 https://ci.bigtop.apache.org/job/Bigtop-trunk-repos/OS=ubuntu-16.04,label=docker-slave/ws/output/apt bigtop/contrib all Packages
       Notice: /Stage[main]/Bigtop_repo/Exec[bigtop-apt-update]/returns: Ign:9 https://ci.bigtop.apache.org/job/Bigtop-trunk-repos/OS=ubuntu-16.04,label=docker-slave/ws/output/apt bigtop/contrib Translation-en_US
       Notice: /Stage[main]/Bigtop_repo/Exec[bigtop-apt-update]/returns: Ign:10 https://ci.bigtop.apache.org/job/Bigtop-trunk-repos/OS=ubuntu-16.04,label=docker-slave/ws/output/apt bigtop/contrib Translation-en
       Notice: /Stage[main]/Bigtop_repo/Exec[bigtop-apt-update]/returns: Ign:7 https://ci.bigtop.apache.org/job/Bigtop-trunk-repos/OS=ubuntu-16.04,label=docker-slave/ws/output/apt bigtop/contrib amd64 Packages
       Notice: /Stage[main]/Bigtop_repo/Exec[bigtop-apt-update]/returns: Ign:8 https://ci.bigtop.apache.org/job/Bigtop-trunk-repos/OS=ubuntu-16.04,label=docker-slave/ws/output/apt bigtop/contrib all Packages
       Notice: /Stage[main]/Bigtop_repo/Exec[bigtop-apt-update]/returns: Ign:9 https://ci.bigtop.apache.org/job/Bigtop-trunk-repos/OS=ubuntu-16.04,label=docker-slave/ws/output/apt bigtop/contrib Translation-en_US
       Notice: /Stage[main]/Bigtop_repo/Exec[bigtop-apt-update]/returns: Ign:10 https://ci.bigtop.apache.org/job/Bigtop-trunk-repos/OS=ubuntu-16.04,label=docker-slave/ws/output/apt bigtop/contrib Translation-en
       Notice: /Stage[main]/Bigtop_repo/Exec[bigtop-apt-update]/returns: Ign:7 https://ci.bigtop.apache.org/job/Bigtop-trunk-repos/OS=ubuntu-16.04,label=docker-slave/ws/output/apt bigtop/contrib amd64 Packages
       Notice: /Stage[main]/Bigtop_repo/Exec[bigtop-apt-update]/returns: Ign:8 https://ci.bigtop.apache.org/job/Bigtop-trunk-repos/OS=ubuntu-16.04,label=docker-slave/ws/output/apt bigtop/contrib all Packages
       Notice: /Stage[main]/Bigtop_repo/Exec[bigtop-apt-update]/returns: Ign:9 https://ci.bigtop.apache.org/job/Bigtop-trunk-repos/OS=ubuntu-16.04,label=docker-slave/ws/output/apt bigtop/contrib Translation-en_US
       Notice: /Stage[main]/Bigtop_repo/Exec[bigtop-apt-update]/returns: Ign:10 https://ci.bigtop.apache.org/job/Bigtop-trunk-repos/OS=ubuntu-16.04,label=docker-slave/ws/output/apt bigtop/contrib Translation-en
       Notice: /Stage[main]/Bigtop_repo/Exec[bigtop-apt-update]/returns: Err:7 https://ci.bigtop.apache.org/job/Bigtop-trunk-repos/OS=ubuntu-16.04,label=docker-slave/ws/output/apt bigtop/contrib amd64 Packages
       Notice: /Stage[main]/Bigtop_repo/Exec[bigtop-apt-update]/returns: server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none
       Notice: /Stage[main]/Bigtop_repo/Exec[bigtop-apt-update]/returns: Ign:8 https://ci.bigtop.apache.org/job/Bigtop-trunk-repos/OS=ubuntu-16.04,label=docker-slave/ws/output/apt bigtop/contrib all Packages
       Notice: /Stage[main]/Bigtop_repo/Exec[bigtop-apt-update]/returns: Ign:9 https://ci.bigtop.apache.org/job/Bigtop-trunk-repos/OS=ubuntu-16.04,label=docker-slave/ws/output/apt bigtop/contrib Translation-en_US
       Notice: /Stage[main]/Bigtop_repo/Exec[bigtop-apt-update]/returns: Ign:10 https://ci.bigtop.apache.org/job/Bigtop-trunk-repos/OS=ubuntu-16.04,label=docker-slave/ws/output/apt bigtop/contrib Translation-en
       Notice: /Stage[main]/Bigtop_repo/Exec[bigtop-apt-update]/returns: Reading package lists...
       Notice: /Stage[main]/Bigtop_repo/Exec[bigtop-apt-update]/returns: W: The repository 'https://ci.bigtop.apache.org/job/Bigtop-trunk-repos/OS=ubuntu-16.04,label=docker-slave/ws/output/apt bigtop Release' does not have a Release file.
       Notice: /Stage[main]/Bigtop_repo/Exec[bigtop-apt-update]/returns: E: Failed to fetch https://ci.bigtop.apache.org/job/Bigtop-trunk-repos/OS=ubuntu-16.04,label=docker-slave/ws/output/apt/dists/bigtop/contrib/binary-amd64/Packages server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none
       Notice: /Stage[main]/Bigtop_repo/Exec[bigtop-apt-update]/returns: E: Some index files failed to download. They have been ignored, or old ones used instead.
       Error: /usr/bin/apt-get update returned 100 instead of one of [0]
       Error: /Stage[main]/Bigtop_repo/Exec[bigtop-apt-update]/returns: change from notrun to 0 failed: /usr/bin/apt-get update returned 100 instead of one of [0]
       Debug: Prefetching apt resources for package
       Debug: Executing '/usr/bin/dpkg-query -W --showformat '${Status} ${Package} ${Version}\n''
       Notice: /Package[kafka-server]: Dependency Exec[bigtop-apt-update] has failures: true
       Warning: /Package[kafka-server]: Skipping because of failed dependencies
       Debug: Class[Bigtop_repo]: The container Stage[main] will propagate my refresh event
       Notice: /Package[kafka]: Dependency Exec[bigtop-apt-update] has failures: true
       Warning: /Package[kafka]: Skipping because of failed dependencies
       Notice: /Stage[main]/Kafka::Server/File[/etc/kafka/conf/server.properties]: Dependency Exec[bigtop-apt-update] has failures: true
       Warning: /Stage[main]/Kafka::Server/File[/etc/kafka/conf/server.properties]: Skipping because of failed dependencies
       Notice: /Stage[main]/Kafka::Server/Service[kafka-server]: Dependency Exec[bigtop-apt-update] has failures: true
       Warning: /Stage[main]/Kafka::Server/Service[kafka-server]: Skipping because of failed dependencies
       Debug: Finishing transaction 35382420
       Debug: Storing state
       Debug: Stored state in 0.02 seconds
       Notice: Finished catalog run in 13.30 seconds
       Debug: Executing '/etc/puppet/etckeeper-commit-post'
       Debug: Using settings: adding file resource 'rrddir': 'File[/var/lib/puppet/rrd]{:path=>"/var/lib/puppet/rrd", :mode=>"750", :owner=>"puppet", :group=>"puppet", :ensure=>:directory, :loglevel=>:debug, :links=>:follow, :backup=>false}'
       Debug: Finishing transaction 24505340
       Debug: Received report to process from juju-8aa388-0.lxd
       Debug: Evicting cache entry for environment 'production'
       Debug: Caching environment 'production' (ttl = 0 sec)
       Debug: Processing report from juju-8aa388-0.lxd with processor Puppet::Reports::Store
       Traceback (most recent call last):
       {{ File "./hooks/zookeeper-relation-changed", line 19, in <module>}}
       {{ main()}}
       {{ File "/usr/local/lib/python3.5/dist-packages/charms/reactive/_init_.py", line 72, in main}}
       {{ bus.dispatch(restricted=restricted_mode)}}
       {{ File "/usr/local/lib/python3.5/dist-packages/charms/reactive/bus.py", line 375, in dispatch}}
       {{ _invoke(other_handlers)}}
       {{ File "/usr/local/lib/python3.5/dist-packages/charms/reactive/bus.py", line 351, in _invoke}}
       {{ handler.invoke()}}
       {{ File "/usr/local/lib/python3.5/dist-packages/charms/reactive/bus.py", line 173, in invoke}}
       {{ self._action(*args)}}
       {{ File "/var/lib/juju/agents/unit-kafka-0/charm/reactive/kafka.py", line 43, in configure_kafka}}
       {{ kafka.configure_kafka(zks)}}
       {{ File "lib/charms/layer/bigtop_kafka.py", line 64, in configure_kafka}}
       {{ bigtop.trigger_puppet()}}
       {{ File "lib/charms/layer/apache_bigtop_base.py", line 721, in trigger_puppet}}
       {{ java_home()),}}
       {{ File "/usr/local/lib/python3.5/dist-packages/jujubigdata/utils.py", line 195, in re_edit_in_place}}
       {{ with Path(filename).in_place(encoding=encoding) as (reader, writer):}}
       {{ File "/usr/lib/python3.5/contextlib.py", line 59, in _enter_}}
       {{ return next(self.gen)}}
       {{ File "/usr/local/lib/python3.5/dist-packages/path.py", line 1475, in in_place}}
       {{ os.rename(self, backup_fn)}}
       FileNotFoundError: [Errno 2] No such file or directory: Path('/etc/default/bigtop-utils') -> Path('/etc/default/bigtop-utils.bak') 

        Attachments

          Activity

            People

            • Assignee:
              evans_ye Evans Ye
              Reporter:
              alexpirine Alexandre Syenchuk
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 1.5h
                1.5h
                Remaining:
                Remaining Estimate - 1.5h
                1.5h
                Logged:
                Time Spent - Not Specified
                Not Specified