From Burly Agouti, 7 Months ago, written in Plain Text.
This paste will shuffle off the mortal coil in 3 Months.
Embed
  1. -----> Starting Kitchen (v1.22.1)
  2. -----> Cleaning up any prior instances of <server-centos-8>
  3. -----> Destroying <server-centos-8>...
  4.        Finished destroying <server-centos-8> (0m0.00s).
  5. -----> Testing <server-centos-8>
  6. -----> Creating <server-centos-8>...
  7.        OpenStack instance with ID of <f2db1e0a-9682-4adf-8eda-ca45a336f351> is ready.
  8.        Waiting for network information to be available...
  9.        Waiting for server to be ready...
  10.        Waiting for SSH service on 10.1.100.58:22, retrying in 3 seconds
  11.        Waiting for SSH service on 10.1.100.58:22, retrying in 3 seconds
  12.        Waiting for SSH service on 10.1.100.58:22, retrying in 3 seconds
  13.        Waiting for SSH service on 10.1.100.58:22, retrying in 3 seconds
  14.        [SSH] Established
  15.        Adding OpenStack hint for ohai
  16.        Finished creating <server-centos-8> (0m34.53s).
  17. -----> Converging <server-centos-8>...
  18.        Preparing files for transfer
  19.        Preparing dna.json
  20.        Resolving cookbook dependencies with Berkshelf 6.3.4...
  21.        Removing non-cookbook files before transfer
  22.        Preparing solo.rb
  23.        el 8 x86_64
  24.        Getting information for chef stable 14 for el...
  25.        downloading https://omnitruck.chef.io/stable/chef/metadata?v=14&p=el&pv=8&m=x86_64
  26.          to file /tmp/install.sh.1109/metadata.txt
  27.        trying wget...
  28.        sha1     37e8eb0d4e5af3c85db0e386f9ffbb5cd1634328
  29.        sha256   92565ba1572fcaf3bad4acfe6c5f48370a6960040081fca294d98607463f3d78
  30.        url      https://packages.chef.io/files/stable/chef/14.14.29/el/8/chef-14.14.29-1.el7.x86_64.rpm
  31.        version  14.14.29
  32.        downloaded metadata file looks valid...
  33.        downloading https://packages.chef.io/files/stable/chef/14.14.29/el/8/chef-14.14.29-1.el7.x86_64.rpm
  34.          to file /tmp/install.sh.1109/chef-14.14.29-1.el7.x86_64.rpm
  35.        trying wget...
  36.        Comparing checksum with sha256sum...
  37.        Installing chef 14
  38.        installing with rpm...
  39.        warning: /tmp/install.sh.1109/chef-14.14.29-1.el7.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID 83ef826a: NOKEY
  40.        Verifying...                          ################################# [100%]
  41.        Preparing...                          ################################# [100%]
  42.        Updating / installing...
  43.           1:chef-14.14.29-1.el7              ################################# [100%]
  44.        Thank you for installing Chef Infra Client! For help getting started visit https://learn.chef.io
  45.        Transferring files to <server-centos-8>
  46.        [rsync] Time taken to upload /tmp/server-centos-8-sandbox-20191115-9717-ua8woh/cookbooks to centos@10.1.100.58<{:user_known_hosts_file=>"/dev/null", :port=>22, :compression=>false, :compression_level=>0, :keepalive=>true, :keepalive_interval=>60, :timeout=>15, :keys_only=>true, :keys=>["/home/andrewda/.ssh/openstack"], :auth_methods=>["publickey"], :paranoid=>false, :logger=>#<Logger:0x00007f1f30bcf010 @level=4, @progname=nil, @default_formatter=#<Logger::Formatter:0x00007f1f30bcefc0 @datetime_format=nil>, @formatter=nil, @logdev=#<Logger::LogDevice:0x00007f1f30bcef70 @shift_period_suffix=nil, @shift_size=nil, @shift_age=nil, @filename=nil, @dev=#<IO:<STDERR>>, @mon_owner=nil, @mon_count=0, @mon_mutex=#<Thread::Mutex:0x00007f1f30bcef20>>>, :password_prompt=>#<Net::SSH::Prompt:0x00007f1f30bceef8>, :user=>"centos"}>:/tmp/kitchen: 0.37 sec
  47.        Starting Chef Client, version 14.14.29
  48.        Creating a new client identity for server-centos-8 using the validator key.
  49.        resolving cookbooks for run list: ["crowd::server"]
  50.        Synchronizing Cookbooks:
  51.          - ark (4.0.0)
  52.          - java (4.3.0)
  53.          - homebrew (5.0.8)
  54.          - postgresql (7.1.4)
  55.          - seven_zip (3.1.2)
  56.          - yum-epel (3.3.0)
  57.          - build-essential (8.2.1)
  58.          - crowd (1.0.1)
  59.          - windows (6.0.1)
  60.          - osl-postgresql (2.0.0)
  61.          - mingw (2.1.0)
  62.          - iptables-ng (4.0.0)
  63.          - firewall (6.2.0)
  64.        Installing Cookbook Gems:
  65.        Compiling Cookbooks...
  66.        Converging 28 resources
  67.        Recipe: osl-postgresql::client
  68.          * postgresql_client_install[default] action install
  69.            * postgresql_repository[Add downloads.postgresql.org repository] action add
  70.              * remote_file[/etc/pki/rpm-gpg/RPM-GPG-KEY-PGDG-9.2] action create
  71.         - create new file /etc/pki/rpm-gpg/RPM-GPG-KEY-PGDG-9.2
  72.         - update content in file /etc/pki/rpm-gpg/RPM-GPG-KEY-PGDG-9.2 from none to 5c7bdb
  73.         --- /etc/pki/rpm-gpg/RPM-GPG-KEY-PGDG-9.2       2019-11-16 00:38:24.356825366 +0000
  74.         +++ /etc/pki/rpm-gpg/.chef-RPM-GPG-KEY-PGDG-920191116-1294-qeghsn.2     2019-11-16 00:38:24.355825317 +0000
  75.         @@ -1 +1,31 @@
  76.         +-----BEGIN PGP PUBLIC KEY BLOCK-----
  77.         +Version: GnuPG v1.4.7 (GNU/Linux)
  78.         +
  79.         +mQGiBEeD8koRBACC1VBRsUwGr9gxFFRho9kZpdRUjBJoPhkeOTvp9LzkdAQMFngr
  80.         +BFi6N0ov1kCX7LLwBmDG+JPR7N+XcH9YR1coSHpLVg+JNy2kFDd4zAyWxJafjZ3a
  81.         +9zFg9Yx+0va1BJ2t4zVcmKS4aOfbgQ5KwIOWUujalQW5Y+Fw39Gn86qjbwCg5dIo
  82.         +tkM0l19h2sx50D027pV5aPsD/2c9pfcFTbMhB0CcKS836GH1qY+NCAdUwPs646ee
  83.         +Ex/k9Uy4qMwhl3HuCGGGa+N6Plyon7V0TzZuRGp/1742dE8IO+I/KLy2L1d1Fxrn
  84.         +XOTBZd8qe6nBwh12OMcKrsPBVBxn+iSkaG3ULsgOtx+HHLfa1/p22L5+GzGdxizr
  85.         +peBuA/90cCp+lYcEwdYaRoFVR501yDOTmmzBc1DrsyWP79QMEGzMqa393G0VnqXt
  86.         +L4pGmunq66Agw2EhPcIt3pDYiCmEt/obdVtSJH6BtmSDB/zYhbE8u3vLP3jfFDa9
  87.         +KXxgtYj0NvuUVoRmxSKm8jtfmj1L7zoKNz3jl+Ba3L0WxIv4+bRBUG9zdGdyZVNR
  88.         +TCBSUE0gQnVpbGRpbmcgUHJvamVjdCA8cGdzcWxycG1zLWhhY2tlcnNAcGdmb3Vu
  89.         +ZHJ5Lm9yZz6IYAQTEQIAIAUCR4PySgIbIwYLCQgHAwIEFQIIAwQWAgMBAh4BAheA
  90.         +AAoJEB8W0uFELfD4jnkAoMqd6ZwwsgYHZ3hP9vt+DJt1uDW7AKDbRwP8ESKFhwdJ
  91.         +8m91RPBeJW/tMLkCDQRHg/JKEAgA64+ZXgcERPYfZYo4p+yMTJAAa9aqnE3U4Ni6
  92.         +ZMB57GPuEy8NfbNya+HiftO8hoozmJdcI6XFyRBCDUVCdZ8SE+PJdOx2FFqZVIu6
  93.         +dKnr8ykhgLpNNEFDG3boK9UfLj/5lYQ3Y550Iym1QKOgyrJYeAp6sZ+Nx2PavsP3
  94.         +nMFCSD67BqAbcLCVQN7a2dAUXfEbfXJjPHXTbo1/kxtzE+KCRTLdXEbSEe3nHO04
  95.         +K/EgTBjeBUOxnciH5RylJ2oGy/v4xr9ed7R1jJtshsDKMdWApwoLlCBJ63jg/4T/
  96.         +z/OtXmu4AvmWaJxaTl7fPf2GqSqqb6jLCrQAH7AIhXr9V0zPZwADBQgAlpptNQHl
  97.         +u7euIdIujFwwcxyQGfee6BG+3zaNSEHMVQMuc6bxuvYmgM9r7aki/b0YMfjJBk8v
  98.         +OJ3Eh1vDH/woJi2iJ13vQ21ot+1JP3fMd6NPR8/qEeDnmVXu7QAtlkmSKI9Rdnjz
  99.         +FFSUJrQPHnKsH4V4uvAM+njwYD+VFiwlBPTKNeL8cdBb4tPN2cdVJzoAp57wkZAN
  100.         +VA2tKxNsTJKBi8wukaLWX8+yPHiWCNWItvyB4WCEp/rZKG4A868NM5sZQMAabpLd
  101.         +l4fTiGu68OYgK9qUPZvhEAL2C1jPDVHPkLm+ZsD+90Pe66w9vB00cxXuHLzm8Pad
  102.         +GaCXCY8h3xi6VIhJBBgRAgAJBQJHg/JKAhsMAAoJEB8W0uFELfD4K4cAoJ4yug8y
  103.         +1U0cZEiF5W25HDzMTtaDAKCaM1m3Cbd+AZ0NGWNg/VvIX9MsPA==
  104.         +=au6K
  105.         +-----END PGP PUBLIC KEY BLOCK-----
  106.         - restore selinux security context
  107.              * yum_repository[PostgreSQL 9.2] action create
  108.         * template[/etc/yum.repos.d/pgdg9.2.repo] action create
  109.           - create new file /etc/yum.repos.d/pgdg9.2.repo
  110.           - update content in file /etc/yum.repos.d/pgdg9.2.repo from none to 4eeb93
  111.           --- /etc/yum.repos.d/pgdg9.2.repo     2019-11-16 00:38:24.417828380 +0000
  112.           +++ /etc/yum.repos.d/.chef-pgdg920191116-1294-1piqn9a.2.repo  2019-11-16 00:38:24.417828380 +0000
  113.           @@ -1 +1,11 @@
  114.           +# This file was generated by Chef
  115.           +# Do NOT modify this file by hand.
  116.           +
  117.           +[pgdg9.2]
  118.           +name=PostgreSQL.org 9.2
  119.           +baseurl=https://download.postgresql.org/pub/repos/yum/9.2/redhat/rhel-$releasever-$basearch
  120.           +enabled=1
  121.           +fastestmirror_enabled=0
  122.           +gpgcheck=1
  123.           +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-PGDG-9.2
  124.           - change mode from '' to '0644'
  125.           - restore selinux security context
  126.         * execute[yum clean metadata pgdg9.2] action run
  127.           - execute yum clean metadata --disablerepo=* --enablerepo=pgdg9.2
  128.         * execute[yum-makecache-pgdg9.2] action run
  129.          
  130.           ================================================================================
  131.           Error executing action `run` on resource 'execute[yum-makecache-pgdg9.2]'
  132.           ================================================================================
  133.          
  134.           Mixlib::ShellOut::ShellCommandFailed
  135.           ------------------------------------
  136.           Expected process to exit with [0], but received '1'
  137.           ---- Begin output of yum -q -y makecache --disablerepo=* --enablerepo=pgdg9.2 ----
  138.           STDOUT:
  139.           STDERR: Error: Failed to synchronize cache for repo 'pgdg9.2'
  140.           ---- End output of yum -q -y makecache --disablerepo=* --enablerepo=pgdg9.2 ----
  141.           Ran yum -q -y makecache --disablerepo=* --enablerepo=pgdg9.2 returned 1
  142.          
  143.           Resource Declaration:
  144.           ---------------------
  145.           # In /opt/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.14.29/lib/chef/provider/yum_repository.rb
  146.          
  147.            60:         declare_resource(:execute, "yum-makecache-#{new_resource.repositoryid}") do
  148.            61:           command "yum -q -y makecache --disablerepo=* --enablerepo=#{new_resource.repositoryid}"
  149.            62:           action :nothing
  150.            63:           only_if { new_resource.enabled }
  151.            64:         end
  152.            65:
  153.          
  154.           Compiled Resource:
  155.           ------------------
  156.           # Declared in /opt/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.14.29/lib/chef/provider/yum_repository.rb:60:in `block in <class:YumRepository>'
  157.          
  158.           execute("yum-makecache-pgdg9.2") do
  159.             action [:nothing]
  160.             default_guard_interpreter :execute
  161.             command "yum -q -y makecache --disablerepo=* --enablerepo=pgdg9.2"
  162.             backup 5
  163.             declared_type :execute
  164.             cookbook_name "osl-postgresql"
  165.             domain nil
  166.             user nil
  167.             only_if { #code block }
  168.           end
  169.          
  170.           System Info:
  171.           ------------
  172.           chef_version=14.14.29
  173.           platform=centos
  174.           platform_version=8.0.1905
  175.           ruby=ruby 2.5.7p206 (2019-10-01 revision 67816) [x86_64-linux]
  176.           program_name=/opt/chef/bin/chef-solo
  177.           executable=/opt/chef/bin/chef-solo
  178.          
  179.        
  180.         ================================================================================
  181.         Error executing action `create` on resource 'yum_repository[PostgreSQL 9.2]'
  182.         ================================================================================
  183.        
  184.         Mixlib::ShellOut::ShellCommandFailed
  185.         ------------------------------------
  186.         execute[yum-makecache-pgdg9.2] (/opt/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.14.29/lib/chef/provider/yum_repository.rb line 60) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1'
  187.         ---- Begin output of yum -q -y makecache --disablerepo=* --enablerepo=pgdg9.2 ----
  188.         STDOUT:
  189.         STDERR: Error: Failed to synchronize cache for repo 'pgdg9.2'
  190.         ---- End output of yum -q -y makecache --disablerepo=* --enablerepo=pgdg9.2 ----
  191.         Ran yum -q -y makecache --disablerepo=* --enablerepo=pgdg9.2 returned 1
  192.        
  193.         Resource Declaration:
  194.         ---------------------
  195.         # In /tmp/kitchen/cache/cookbooks/postgresql/resources/repository.rb
  196.        
  197.          35:     yum_repository "PostgreSQL #{new_resource.version}" do # ~FC005
  198.          36:       repositoryid "pgdg#{new_resource.version}"
  199.          37:       description "PostgreSQL.org #{new_resource.version}"
  200.          38:       baseurl     yum_repo_url('https://download.postgresql.org/pub/repos/yum')
  201.          39:       enabled     new_resource.enable_pgdg
  202.          40:       gpgcheck    true
  203.          41:       gpgkey      "file:///etc/pki/rpm-gpg/RPM-GPG-KEY-PGDG-#{new_resource.version}"
  204.          42:     end
  205.          43:
  206.        
  207.         Compiled Resource:
  208.         ------------------
  209.         # Declared in /tmp/kitchen/cache/cookbooks/postgresql/resources/repository.rb:35:in `block in class_from_file'
  210.        
  211.         yum_repository("PostgreSQL 9.2") do
  212.           action [:create]
  213.           updated true
  214.           updated_by_last_action true
  215.           default_guard_interpreter :default
  216.           declared_type :yum_repository
  217.           cookbook_name "osl-postgresql"
  218.           repositoryid "pgdg9.2"
  219.           baseurl "https://download.postgresql.org/pub/repos/yum/9.2/redhat/rhel-$releasever-$basearch"
  220.           enabled true
  221.           gpgcheck true
  222.           gpgkey "file:///etc/pki/rpm-gpg/RPM-GPG-KEY-PGDG-9.2"
  223.         end
  224.        
  225.         System Info:
  226.         ------------
  227.         chef_version=14.14.29
  228.         platform=centos
  229.         platform_version=8.0.1905
  230.         ruby=ruby 2.5.7p206 (2019-10-01 revision 67816) [x86_64-linux]
  231.         program_name=/opt/chef/bin/chef-solo
  232.         executable=/opt/chef/bin/chef-solo
  233.        
  234.              
  235.              ================================================================================
  236.              Error executing action `add` on resource 'postgresql_repository[Add downloads.postgresql.org repository]'
  237.              ================================================================================
  238.              
  239.              Mixlib::ShellOut::ShellCommandFailed
  240.              ------------------------------------
  241.              yum_repository[PostgreSQL 9.2] (/tmp/kitchen/cache/cookbooks/postgresql/resources/repository.rb line 35) had an error: Mixlib::ShellOut::ShellCommandFailed: execute[yum-makecache-pgdg9.2] (/opt/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.14.29/lib/chef/provider/yum_repository.rb line 60) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1'
  242.              ---- Begin output of yum -q -y makecache --disablerepo=* --enablerepo=pgdg9.2 ----
  243.              STDOUT:
  244.              STDERR: Error: Failed to synchronize cache for repo 'pgdg9.2'
  245.              ---- End output of yum -q -y makecache --disablerepo=* --enablerepo=pgdg9.2 ----
  246.              Ran yum -q -y makecache --disablerepo=* --enablerepo=pgdg9.2 returned 1
  247.              
  248.              Resource Declaration:
  249.              ---------------------
  250.              # In /tmp/kitchen/cache/cookbooks/postgresql/resources/client_install.rb
  251.              
  252.        23:   postgresql_repository 'Add downloads.postgresql.org repository' do
  253.        24:     version new_resource.version
  254.        25:     only_if { new_resource.setup_repo }
  255.        26:   end
  256.        27:
  257.              
  258.              Compiled Resource:
  259.              ------------------
  260.              # Declared in /tmp/kitchen/cache/cookbooks/postgresql/resources/client_install.rb:23:in `block in class_from_file'
  261.              
  262.              postgresql_repository("Add downloads.postgresql.org repository") do
  263.         action [:add]
  264.         updated true
  265.         updated_by_last_action true
  266.         default_guard_interpreter :default
  267.         declared_type :postgresql_repository
  268.         cookbook_name "osl-postgresql"
  269.         version "9.2"
  270.         only_if { #code block }
  271.              end
  272.              
  273.              System Info:
  274.              ------------
  275.              chef_version=14.14.29
  276.              platform=centos
  277.              platform_version=8.0.1905
  278.              ruby=ruby 2.5.7p206 (2019-10-01 revision 67816) [x86_64-linux]
  279.              program_name=/opt/chef/bin/chef-solo
  280.              executable=/opt/chef/bin/chef-solo
  281.              
  282.            
  283.            ================================================================================
  284.            Error executing action `install` on resource 'postgresql_client_install[default]'
  285.            ================================================================================
  286.            
  287.            Mixlib::ShellOut::ShellCommandFailed
  288.            ------------------------------------
  289.            postgresql_repository[Add downloads.postgresql.org repository] (/tmp/kitchen/cache/cookbooks/postgresql/resources/client_install.rb line 23) had an error: Mixlib::ShellOut::ShellCommandFailed: yum_repository[PostgreSQL 9.2] (/tmp/kitchen/cache/cookbooks/postgresql/resources/repository.rb line 35) had an error: Mixlib::ShellOut::ShellCommandFailed: execute[yum-makecache-pgdg9.2] (/opt/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.14.29/lib/chef/provider/yum_repository.rb line 60) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1'
  290.            ---- Begin output of yum -q -y makecache --disablerepo=* --enablerepo=pgdg9.2 ----
  291.            STDOUT:
  292.            STDERR: Error: Failed to synchronize cache for repo 'pgdg9.2'
  293.            ---- End output of yum -q -y makecache --disablerepo=* --enablerepo=pgdg9.2 ----
  294.            Ran yum -q -y makecache --disablerepo=* --enablerepo=pgdg9.2 returned 1
  295.            
  296.            Resource Declaration:
  297.            ---------------------
  298.            # In /tmp/kitchen/cache/cookbooks/osl-postgresql/recipes/client.rb
  299.            
  300.             19: postgresql_client_install 'default' do
  301.             20:   version node['osl-postgresql']['version']
  302.             21: end
  303.            
  304.            Compiled Resource:
  305.            ------------------
  306.            # Declared in /tmp/kitchen/cache/cookbooks/osl-postgresql/recipes/client.rb:19:in `from_file'
  307.            
  308.            postgresql_client_install("default") do
  309.              action [:install]
  310.              updated true
  311.              updated_by_last_action true
  312.              default_guard_interpreter :default
  313.              declared_type :postgresql_client_install
  314.              cookbook_name "osl-postgresql"
  315.              recipe_name "client"
  316.              version "9.2"
  317.            end
  318.            
  319.            System Info:
  320.            ------------
  321.            chef_version=14.14.29
  322.            platform=centos
  323.            platform_version=8.0.1905
  324.            ruby=ruby 2.5.7p206 (2019-10-01 revision 67816) [x86_64-linux]
  325.            program_name=/opt/chef/bin/chef-solo
  326.            executable=/opt/chef/bin/chef-solo
  327.            
  328.        
  329.        Running handlers:
  330.        [2019-11-16T00:38:28+00:00] ERROR: Running exception handlers
  331.        Running handlers complete
  332.        [2019-11-16T00:38:28+00:00] ERROR: Exception handlers complete
  333.        Chef Client failed. 3 resources updated in 08 seconds
  334.        [2019-11-16T00:38:28+00:00] FATAL: Stacktrace dumped to /tmp/kitchen/cache/chef-stacktrace.out
  335.        [2019-11-16T00:38:28+00:00] FATAL: Please provide the contents of the stacktrace.out file if you file a bug report
  336.        [2019-11-16T00:38:28+00:00] FATAL: Mixlib::ShellOut::ShellCommandFailed: postgresql_client_install[default] (osl-postgresql::client line 19) had an error: Mixlib::ShellOut::ShellCommandFailed: postgresql_repository[Add downloads.postgresql.org repository] (/tmp/kitchen/cache/cookbooks/postgresql/resources/client_install.rb line 23) had an error: Mixlib::ShellOut::ShellCommandFailed: yum_repository[PostgreSQL 9.2] (/tmp/kitchen/cache/cookbooks/postgresql/resources/repository.rb line 35) had an error: Mixlib::ShellOut::ShellCommandFailed: execute[yum-makecache-pgdg9.2] (/opt/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.14.29/lib/chef/provider/yum_repository.rb line 60) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1'
  337.        ---- Begin output of yum -q -y makecache --disablerepo=* --enablerepo=pgdg9.2 ----
  338.        STDOUT:
  339.        STDERR: Error: Failed to synchronize cache for repo 'pgdg9.2'
  340.        ---- End output of yum -q -y makecache --disablerepo=* --enablerepo=pgdg9.2 ----
  341.        Ran yum -q -y makecache --disablerepo=* --enablerepo=pgdg9.2 returned 1
  342. >>>>>> ------Exception-------
  343. >>>>>> Class: Kitchen::ActionFailed
  344. >>>>>> Message: 1 actions failed.
  345. >>>>>>     Converge failed on instance <server-centos-8>.  Please see .kitchen/logs/server-centos-8.log for more details
  346. >>>>>> ----------------------
  347. >>>>>> Please see .kitchen/logs/kitchen.log for more details
  348. >>>>>> Also try running `kitchen diagnose --all` for configuration