|
./rtf platform setup dev
|
|
Taking base network 192.168.0.0/24
|
|
Bringing machine 'dev_server' up with 'virtualbox' provider...
|
|
==> dev_server: Importing base box 'normation/debian-10-64'...
|
|
==> dev_server: Matching MAC address for NAT networking...
|
|
==> dev_server: Checking if box 'normation/debian-10-64' version '1.0' is up to date...
|
|
==> dev_server: A newer version of the box 'normation/debian-10-64' for provider 'virtualbox' is
|
|
==> dev_server: available! You currently have version '1.0'. The latest is version
|
|
==> dev_server: '2.0'. Run `vagrant box update` to update.
|
|
==> dev_server: Setting the name of the VM: dev_server
|
|
==> dev_server: Clearing any previously set network interfaces...
|
|
==> dev_server: Preparing network interfaces based on configuration...
|
|
dev_server: Adapter 1: nat
|
|
dev_server: Adapter 2: hostonly
|
|
==> dev_server: Forwarding ports...
|
|
dev_server: 80 (guest) => 8280 (host) (adapter 1)
|
|
dev_server: 443 (guest) => 8281 (host) (adapter 1)
|
|
dev_server: 389 (guest) => 1389 (host) (adapter 1)
|
|
dev_server: 5432 (guest) => 15432 (host) (adapter 1)
|
|
dev_server: 22 (guest) => 2222 (host) (adapter 1)
|
|
==> dev_server: Running 'pre-boot' VM customizations...
|
|
==> dev_server: Booting VM...
|
|
==> dev_server: Waiting for machine to boot. This may take a few minutes...
|
|
dev_server: SSH address: 127.0.0.1:2222
|
|
dev_server: SSH username: vagrant
|
|
dev_server: SSH auth method: private key
|
|
dev_server:
|
|
dev_server: Vagrant insecure key detected. Vagrant will automatically replace
|
|
dev_server: this with a newly generated keypair for better security.
|
|
dev_server:
|
|
dev_server: Inserting generated public key within guest...
|
|
dev_server: Removing insecure key from the guest if it's present...
|
|
dev_server: Key inserted! Disconnecting and reconnecting using new SSH key...
|
|
==> dev_server: Machine booted and ready!
|
|
==> dev_server: Checking for guest additions in VM...
|
|
==> dev_server: Setting hostname...
|
|
==> dev_server: Configuring and enabling network interfaces...
|
|
==> dev_server: Mounting shared folders...
|
|
dev_server: /vagrant => /home/elaad/rudder-tests
|
|
dev_server: /var/rudder/share => /var/rudder/share
|
|
dev_server: /var/rudder/inventories => /var/rudder/inventories
|
|
dev_server: /var/rudder/cfengine-community/inputs => /var/rudder/cfengine-community/inputs
|
|
==> dev_server: Running provisioner: shell...
|
|
dev_server: Running: inline script
|
|
dev_server: ++ echo dev_server
|
|
dev_server: ++ echo 'Starting VM setup'
|
|
dev_server: Starting VM setup
|
|
dev_server: ++ /vagrant/scripts/cleanbox.sh /vagrant
|
|
dev_server: apt-get is /usr/bin/apt-get
|
|
dev_server: Reading package lists...
|
|
dev_server: Building dependency tree...
|
|
dev_server: Reading state information...
|
|
dev_server: The following additional packages will be installed:
|
|
dev_server: libevent-2.1-6 libutempter0
|
|
dev_server: The following NEW packages will be installed:
|
|
dev_server: libevent-2.1-6 libutempter0 tmux
|
|
dev_server: 0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
|
|
dev_server: Need to get 487 kB of archives.
|
|
dev_server: After this operation, 1,177 kB of additional disk space will be used.
|
|
dev_server: Get:1 http://deb.debian.org/debian buster/main amd64 libevent-2.1-6 amd64 2.1.8-stable-4 [177 kB]
|
|
dev_server: Get:2 http://deb.debian.org/debian buster/main amd64 libutempter0 amd64 1.1.6-3 [7,812 B]
|
|
dev_server: Get:3 http://deb.debian.org/debian buster/main amd64 tmux amd64 2.8-3 [302 kB]
|
|
dev_server: Fetched 487 kB in 0s (1,430 kB/s)
|
|
dev_server: Selecting previously unselected package libevent-2.1-6:amd64.
|
|
dev_server: (Reading database ...
|
|
dev_server: (Reading database ... 5%
|
|
dev_server: (Reading database ... 10%
|
|
dev_server: (Reading database ... 15%
|
|
dev_server: (Reading database ... 20%
|
|
dev_server: (Reading database ... 25%
|
|
dev_server: (Reading database ... 30%
|
|
dev_server: (Reading database ... 35%
|
|
dev_server: (Reading database ... 40%
|
|
dev_server: (Reading database ... 45%
|
|
dev_server: (Reading database ... 50%
|
|
dev_server: (Reading database ... 55%
|
|
dev_server: (Reading database ... 60%
|
|
dev_server: (Reading database ... 65%
|
|
dev_server: (Reading database ... 70%
|
|
dev_server: (Reading database ... 75%
|
|
dev_server: (Reading database ... 80%
|
|
dev_server: (Reading database ... 85%
|
|
dev_server: (Reading database ... 90%
|
|
dev_server: (Reading database ... 95%
|
|
dev_server: (Reading database ... 100%
|
|
dev_server: (Reading database ...
|
|
dev_server: 59047 files and directories currently installed.)
|
|
dev_server: Preparing to unpack .../libevent-2.1-6_2.1.8-stable-4_amd64.deb ...
|
|
dev_server: Unpacking libevent-2.1-6:amd64 (2.1.8-stable-4) ...
|
|
dev_server: Selecting previously unselected package libutempter0:amd64.
|
|
dev_server: Preparing to unpack .../libutempter0_1.1.6-3_amd64.deb ...
|
|
dev_server: Unpacking libutempter0:amd64 (1.1.6-3) ...
|
|
dev_server: Selecting previously unselected package tmux.
|
|
dev_server: Preparing to unpack .../archives/tmux_2.8-3_amd64.deb ...
|
|
dev_server: Unpacking tmux (2.8-3) ...
|
|
dev_server: Setting up libevent-2.1-6:amd64 (2.1.8-stable-4) ...
|
|
dev_server: Setting up libutempter0:amd64 (1.1.6-3) ...
|
|
dev_server: Setting up tmux (2.8-3) ...
|
|
dev_server: Processing triggers for man-db (2.8.5-2) ...
|
|
dev_server: Processing triggers for libc-bin (2.28-10) ...
|
|
dev_server: ++ /vagrant/scripts/network.sh 192.168.2 2 'server relay agent1 agent2'
|
|
dev_server: ++ set +x
|
|
dev_server: ++ head -n 1G
|
|
dev_server: ++ DEV_MODE=true
|
|
dev_server: ++ PLUGINS_VERSION=
|
|
dev_server: ++ FORGET_CREDENTIALS=
|
|
dev_server: ++ DISABLE_AUTODETECT_NETWORKS=yes
|
|
dev_server: ++ ALLOWEDNETWORK=192.168.2.0/24
|
|
dev_server: ++ UNSUPPORTED=
|
|
dev_server: ++ ADMIN_PASSWORD=admin
|
|
dev_server: ++ REPO_PREFIX=rtf/
|
|
dev_server: ++ /usr/local/bin/rudder-setup setup-server 6.2-nightly rudder-plugin-scale-out-relay
|
|
dev_server: Warning: apt-key output should not be parsed (stdout is not a terminal)
|
|
dev_server: Reading package lists...
|
|
dev_server: Building dependency tree...
|
|
dev_server: Reading state information...
|
|
dev_server: apt-transport-https is already the newest version (1.8.2).
|
|
dev_server: 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
|
|
dev_server: OK
|
|
dev_server: Get:1 http://security.debian.org/debian-security buster/updates InRelease [65.4 kB]
|
|
dev_server: Get:2 http://deb.debian.org/debian buster InRelease [121 kB]
|
|
dev_server: Get:3 http://deb.debian.org/debian buster-updates InRelease [51.9 kB]
|
|
dev_server: Get:4 https://download.rudder.io/rtf/apt/6.2-nightly buster InRelease [10.9 kB]
|
|
dev_server: Get:5 http://security.debian.org/debian-security buster/updates/main Sources [168 kB]
|
|
dev_server: Get:6 http://deb.debian.org/debian buster/main Sources [7,842 kB]
|
|
dev_server: Get:7 http://security.debian.org/debian-security buster/updates/main amd64 Packages [260 kB]
|
|
dev_server: Get:8 https://download.rudder.io/rtf/apt/6.2-nightly buster/main amd64 Packages [2,729 B]
|
|
dev_server: Get:9 http://security.debian.org/debian-security buster/updates/main Translation-en [142 kB]
|
|
dev_server: Get:10 http://deb.debian.org/debian buster-updates/main Sources.diff/Index [4,672 B]
|
|
dev_server: Get:11 http://deb.debian.org/debian buster-updates/main amd64 Packages.diff/Index [4,672 B]
|
|
dev_server: Get:12 http://deb.debian.org/debian buster-updates/main Translation-en.diff/Index [3,196 B]
|
|
dev_server: Get:13 http://deb.debian.org/debian buster-updates/main Sources 2020-02-23-2017.41.pdiff [924 B]
|
|
dev_server: Get:14 http://deb.debian.org/debian buster-updates/main Sources 2020-06-04-2016.16.pdiff [239 B]
|
|
dev_server: Get:15 http://deb.debian.org/debian buster-updates/main Sources 2020-06-07-1403.53.pdiff [540 B]
|
|
dev_server: Get:16 http://deb.debian.org/debian buster-updates/main Sources 2020-06-13-2000.26.pdiff [690 B]
|
|
dev_server: Get:17 http://deb.debian.org/debian buster-updates/main Sources 2020-10-24-2001.35.pdiff [414 B]
|
|
dev_server: Get:18 http://deb.debian.org/debian buster-updates/main Sources 2020-12-24-1401.30.pdiff [415 B]
|
|
dev_server: Get:19 http://deb.debian.org/debian buster-updates/main amd64 Packages 2020-02-23-2017.41.pdiff [2,162 B]
|
|
dev_server: Get:20 http://deb.debian.org/debian buster-updates/main amd64 Packages 2020-06-04-2016.16.pdiff [1,101 B]
|
|
dev_server: Get:21 http://deb.debian.org/debian buster-updates/main amd64 Packages 2020-06-07-1403.53.pdiff [439 B]
|
|
dev_server: Get:22 http://deb.debian.org/debian buster-updates/main amd64 Packages 2020-06-13-2000.26.pdiff [552 B]
|
|
dev_server: Get:23 http://deb.debian.org/debian buster-updates/main amd64 Packages 2020-10-24-2001.35.pdiff [286 B]
|
|
dev_server: Get:24 http://deb.debian.org/debian buster-updates/main amd64 Packages 2020-12-24-1401.30.pdiff [286 B]
|
|
dev_server: Get:18 http://deb.debian.org/debian buster-updates/main Sources 2020-12-24-1401.30.pdiff [415 B]
|
|
dev_server: Get:24 http://deb.debian.org/debian buster-updates/main amd64 Packages 2020-12-24-1401.30.pdiff [286 B]
|
|
dev_server: Get:25 http://deb.debian.org/debian buster-updates/main Translation-en 2020-02-23-2017.41.pdiff [1,700 B]
|
|
dev_server: Get:26 http://deb.debian.org/debian buster-updates/main Translation-en 2020-06-07-1403.53.pdiff [368 B]
|
|
dev_server: Get:27 http://deb.debian.org/debian buster-updates/main Translation-en 2020-06-13-2000.26.pdiff [423 B]
|
|
dev_server: Get:27 http://deb.debian.org/debian buster-updates/main Translation-en 2020-06-13-2000.26.pdiff [423 B]
|
|
dev_server: Get:28 http://deb.debian.org/debian buster/main amd64 Packages [7,907 kB]
|
|
dev_server: Get:29 http://deb.debian.org/debian buster/main Translation-en [5,971 kB]
|
|
dev_server: Fetched 22.6 MB in 10s (2,368 kB/s)
|
|
dev_server: Reading package lists...
|
|
dev_server: Reading package lists...
|
|
dev_server: Building dependency tree...
|
|
dev_server: Reading state information...
|
|
dev_server: The following additional packages will be installed:
|
|
dev_server: acl augeas-lenses augeas-tools dbconfig-common jq libaugeas0 libjq1 libltdl7
|
|
dev_server: libonig5 libxml-treepp-perl libyaml-0-2 net-tools postgresql-client
|
|
dev_server: python3-bs4 python3-distutils python3-html5lib python3-lib2to3 python3-lxml
|
|
dev_server: python3-soupsieve python3-webencodings rsyslog-pgsql rudder-agent
|
|
dev_server: rudder-reports rudder-server-relay rudder-webapp
|
|
dev_server: Suggested packages:
|
|
dev_server: augeas-doc dbconfig-mysql | dbconfig-pgsql | dbconfig-sqlite
|
|
dev_server: | dbconfig-sqlite3 | dbconfig-no-thanks python3-genshi python3-lxml-dbg
|
|
dev_server: python-lxml-doc
|
|
dev_server: The following NEW packages will be installed:
|
|
dev_server: acl augeas-lenses augeas-tools dbconfig-common jq libaugeas0 libjq1 libltdl7
|
|
dev_server: libonig5 libxml-treepp-perl libyaml-0-2 net-tools postgresql-client
|
|
dev_server: python
|
|
dev_server: 3-bs4 python3-distutils python3-html5lib python3-lib2to3 python3-lxml
|
|
dev_server: python3-soupsieve python3-webencodings rsyslog-pgsql rudder-agent
|
|
dev_server: rudder-reports rudder-server-relay rudder-server-root rudder-webapp
|
|
dev_server: 0 upgraded, 26 newly installed, 0 to remove and 105 not upgraded.
|
|
dev_server: Need to get 145 MB of archives.
|
|
dev_server: After this operation, 225 MB of additional disk space will be used.
|
|
dev_server: Get:1 http://security.debian.org/debian-security buster/updates/main amd64 python3-lxml amd64 4.3.2-1+deb10u2 [1,162 kB]
|
|
dev_server: Get:2 http://deb.debian.org/debian buster/main amd64 python3-lib2to3 all 3.7.3-1 [76.7 kB]
|
|
dev_server: Get:3 https://download.rudder.io/rtf/apt/6.2-nightly buster/main amd64 rudder-agent amd64 6.2.1~rc1~git202101072215-debian10 [3,205 kB]
|
|
dev_server: Get:4 http://deb.debian.org/debian buster/main amd64 python3-distutils all 3.7.3-1 [142 kB]
|
|
dev_server: Get:5 http://deb.debian.org/debian buster/main amd64 libyaml-0-2 amd64 0.2.1-1 [47.2 kB]
|
|
dev_server: Get:6 http://deb.debian.org/debian buster/main amd64 net-tools amd64 1.60+git20180626.aebd88e-1 [248 kB]
|
|
dev_server: Get:7 http://deb.debian.org/debian buster/main amd64 libxml-treepp-perl all 0.43-1 [21.7 kB]
|
|
dev_server: Get:8 http://deb.debian.org/debian buster/main amd64 augeas-lenses all 1.11.0-3 [442 kB]
|
|
dev_server: Get:9 http://deb.debian.org/debian buster/main amd64 libaugeas0 amd64 1.11.0-3 [301 kB]
|
|
dev_server: Get:10 http://deb.debian.org/debian buster/main amd64 augeas-tools amd64 1.11.0-3 [173 kB]
|
|
dev_server: Get:11 http://deb.debian.org/debian buster/main amd64 libonig5 amd64 6.9.1-1 [171 kB]
|
|
dev_server: Get:12 http://deb.debian.org/debian buster/main amd64 libjq1 amd64 1.5+dfsg-2+b1 [124 kB]
|
|
dev_server: Get:13 http://deb.debian.org/debian buster/main amd64 jq amd64 1.5+dfsg-2+b1 [59.4 kB]
|
|
dev_server: Get:14 http://deb.debian.org/debian buster/main amd64 libltdl7 amd64 2.4.6-9 [390 kB]
|
|
dev_server: Get:15 http://deb.debian.org/debian buster/main amd64 postgresql-client all 11+200+deb10u4 [61.1 kB]
|
|
dev_server: Get:16 http://deb.debian.org/debian buster/main amd64 acl amd64 2.2.53-4 [60.3 kB]
|
|
dev_server: Get:17 http://deb.debian.org/debian buster/main amd64 dbconfig-common all 2.0.11+deb10u1 [599 kB]
|
|
dev_server: Get:18 http://deb.debian.org/debian buster/main amd64 rsyslog-pgsql amd64 8.1901.0-1 [250 kB]
|
|
dev_server: Get:19 https://download.rudder.io/rtf/apt/6.2-nightly buster/main amd64 rudder-server-relay amd64 6.2.1~rc1~git202101072215-debian10 [2,213 kB]
|
|
dev_server: Get:20 http://deb.debian.org/debian buster/main amd64 python3-soupsieve all 1.8+dfsg-1 [27.6 kB]
|
|
dev_server: Get:21 http://deb.debian.org/debian buster/main amd64 python3-bs4 all 4.7.1-1 [94.1 kB]
|
|
dev_server: Get:22 http://deb.debian.org/debian buster/main amd64 python3-webencodings all 0.5.1-1 [10.9 kB]
|
|
dev_server: Get:23 http://deb.debian.org/debian buster/main amd64 python3-html5lib all 1.0.1-1 [89.5 kB]
|
|
dev_server: Get:24 https://download.rudder.io/rtf/apt/6.2-nightly buster/main amd64 rudder-reports all 6.2.1~rc1~git202101072215-debian10 [8,584 B]
|
|
dev_server: Get:25 https://download.rudder.io/rtf/apt/6.2-nightly buster/main amd64 rudder-webapp amd64 6.2.1~rc1~git202101072215-debian10 [135 MB]
|
|
dev_server: Get:26 https://download.rudder.io/rtf/apt/6.2-nightly buster/main amd64 rudder-server-root all 6.2.1~rc1~git202101072215-debian10 [3,372 B]
|
|
dev_server: Preconfiguring packages ...
|
|
dev_server: Fetched 145 MB in 53s (2,737 kB/s)
|
|
dev_server: Selecting previously unselected package python3-lib2to3.
|
|
(Reading database ... 59071 files and directories currently installed.)
|
|
dev_server: Preparing to unpack .../00-python3-lib2to3_3.7.3-1_all.deb ...
|
|
dev_server: Unpacking python3-lib2to3 (3.7.3-1) ...
|
|
dev_server: Selecting previously unselected package python3-distutils.
|
|
dev_server: Preparing to unpack .../01-python3-distutils_3.7.3-1_all.deb ...
|
|
dev_server: Unpacking python3-distutils (3.7.3-1) ...
|
|
dev_server: Selecting previously unselected package python3-lxml:amd64.
|
|
dev_server:
|
|
dev_server: Preparing to unpack .../02-python3-lxml_4.3.2-1+deb10u2_amd64.deb ...
|
|
dev_server: Unpacking python3-lxml:amd64 (4.3.2-1+deb10u2) ...
|
|
dev_server: Selecting previously unselected package libyaml-0-2:amd64.
|
|
dev_server: Preparing to unpack .../03-libyaml-0-2_0.2.1-1_amd64.deb ...
|
|
dev_server: Unpacking libyaml-0-2:amd64 (0.2.1-1) ...
|
|
dev_server: Selecting previously unselected package net-tools.
|
|
dev_server: Preparing to unpack .../04-net-tools_1.60+git20180626.aebd88e-1_amd64.deb ...
|
|
dev_server: Unpacking net-tools (1.60+git20180626.aebd88e-1) ...
|
|
dev_server: Selecting previously unselected package libxml-treepp-perl.
|
|
dev_server: Preparing to unpack .../05-libxml-treepp-perl_0.43-1_all.deb ...
|
|
dev_server: Unpacking libxml-treepp-perl (0.43-1) ...
|
|
dev_server: Selecting previously unselected package augeas-lenses.
|
|
dev_server: Preparing to unpack .../06-augeas-lenses_1.11.0-3_all.deb ...
|
|
dev_server: Unpacking augeas-lenses (1.11.0-3) ...
|
|
dev_server: Selecting previously unselected package libaugeas0:amd64.
|
|
dev_server: Preparing to unpack .../07-libaugeas0_1.11.0-3_amd64.deb ...
|
|
dev_server: Unpacking libaugeas0:amd64 (1.11.0-3) ...
|
|
dev_server: Selecting previously unselected package augeas-tools.
|
|
dev_server: Preparing to unpack .../08-augeas-tools_1.11.0-3_amd64.deb ...
|
|
dev_server: Unpacking augeas-tools (1.11.0-3) ...
|
|
dev_server: Selecting previously unselected package libonig5:amd64.
|
|
dev_server: Preparing to unpack .../09-libonig5_6.9.1-1_amd64.deb ...
|
|
dev_server: Unpacking libonig5:amd64 (6.9.1-1) ...
|
|
dev_server: Selecting previously unselected package libjq1:amd64.
|
|
dev_server: Preparing to unpack .../10-libjq1_1.5+dfsg-2+b1_amd64.deb ...
|
|
dev_server: Unpacking libjq1:amd64 (1.5+dfsg-2+b1) ...
|
|
dev_server: Selecting previously unselected package jq.
|
|
dev_server: Preparing to unpack .../11-jq_1.5+dfsg-2+b1_amd64.deb ...
|
|
dev_server: Unpacking jq (1.5+dfsg-2+b1) ...
|
|
dev_server: Selecting previously unselected package rudder-agent.
|
|
dev_server: Preparing to unpack .../12-rudder-agent_6.2.1~rc1~git202101072215-debian10_amd64.deb ...
|
|
dev_server: Unpacking rudder-agent (6.2.1~rc1~git202101072215-debian10) ...
|
|
dev_server: Selecting previously unselected package rudder-server-relay.
|
|
dev_server: Preparing to unpack .../13-rudder-server-relay_6.2.1~rc1~git202101072215-debian10_amd64.deb ...
|
|
dev_server: Unpacking rudder-server-relay (6.2.1~rc1~git202101072215-debian10) ...
|
|
dev_server: Selecting previously unselected package libltdl7:amd64.
|
|
dev_server: Preparing to unpack .../14-libltdl7_2.4.6-9_amd64.deb ...
|
|
dev_server: Unpacking libltdl7:amd64 (2.4.6-9) ...
|
|
dev_server: Selecting previously unselected package postgresql-client.
|
|
dev_server: Preparing to unpack .../15-postgresql-client_11+200+deb10u4_all.deb ...
|
|
dev_server: Unpacking postgresql-client (11+200+deb10u4) ...
|
|
dev_server: Selecting previously unselected package acl.
|
|
dev_server: Preparing to unpack .../16-acl_2.2.53-4_amd64.deb ...
|
|
dev_server: Unpacking acl (2.2.53-4) ...
|
|
dev_server: Selecting previously unselected package dbconfig-common.
|
|
dev_server: Preparing to unpack .../17-dbconfig-common_2.0.11+deb10u1_all.deb ...
|
|
dev_server: Unpacking dbconfig-common (2.0.11+deb10u1) ...
|
|
dev_server: Selecting previously unselected package rsyslog-pgsql.
|
|
dev_server: Preparing to unpack .../18-rsyslog-pgsql_8.1901.0-1_amd64.deb ...
|
|
dev_server: Unpacking rsyslog-pgsql (8.1901.0-1) ...
|
|
dev_server: Selecting previously unselected package rudder-reports.
|
|
dev_server: Preparing to unpack .../19-rudder-reports_6.2.1~rc1~git202101072215-debian10_all.deb ...
|
|
dev_server: Unpacking rudder-reports (6.2.1~rc1~git202101072215-debian10) ...
|
|
dev_server: Setting up python3-lib2to3 (3.7.3-1) ...
|
|
dev_server: Setting up python3-distutils (3.7.3-1) ...
|
|
dev_server: Setting up python3-lxml:amd64 (4.3.2-1+deb10u2) ...
|
|
dev_server: Setting up libyaml-0-2:amd64 (0.2.1-1) ...
|
|
dev_server: Setting up net-tools (1.60+git20180626.aebd88e-1) ...
|
|
dev_server: Setting up libxml-treepp-perl (0.43-1) ...
|
|
dev_server: Setting up augeas-lenses (1.11.0-3) ...
|
|
dev_server: Setting up libaugeas0:amd64 (1.11.0-3) ...
|
|
dev_server: Setting up augeas-tools (1.11.0-3) ...
|
|
dev_server: Setting up libonig5:amd64 (6.9.1-1) ...
|
|
dev_server: Setting up libjq1:amd64 (1.5+dfsg-2+b1) ...
|
|
dev_server: Setting up jq (1.5+dfsg-2+b1) ...
|
|
dev_server: Setting up rudder-agent (6.2.1~rc1~git202101072215-debian10) ...
|
|
dev_server: Created symlink /etc/systemd/system/multi-user.target.wants/rudder-agent.service → /lib/systemd/system/rudder-agent.service.
|
|
dev_server: Created symlink /etc/systemd/system/multi-user.target.wants/rudder-cf-execd.service → /lib/systemd/system/rudder-cf-execd.service.
|
|
dev_server: Created symlink /etc/systemd/system/rudder-agent.service.requires/rudder-cf-execd.service → /lib/systemd/system/rudder-cf-execd.service.
|
|
dev_server: Created symlink /etc/systemd/system/multi-user.targe
|
|
dev_server: t.wants/rudder-cf-serverd.service → /lib/systemd/system/rudder-cf-serverd.service.
|
|
dev_server: Created symlink /etc/systemd/system/rudder-agent.service.wants/rudder-cf-serverd.service → /lib/systemd/system/rudder-cf-serverd.service.
|
|
dev_server: INFO: Scheduling an inventory during next run...
|
|
dev_server: INFO: The UUID of the node does not exist and no backup exist. A new one will be generated... Done
|
|
dev_server: INFO: Agent keys are missing, creating them ... Done
|
|
dev_server: INFO: Agent certificate is missing, creating it... Done
|
|
dev_server: ********************************************************************************
|
|
dev_server: rudder-agent has been installed (not started). This host can be a Rudder node.
|
|
dev_server: To get started, configure your Rudder server's hostname and continue the process:
|
|
dev_server: # echo 'rudder.server' > /var/rudder/cfengine-community/policy_server.dat
|
|
dev_server: # rudder agent check
|
|
dev_server: This node will then appear in the Rudder web interface under 'Accept new nodes'.
|
|
dev_server: ********************************************************************************
|
|
dev_server: Setting up rudder-server-relay (6.2.1~rc1~git202101072215-debian10) ...
|
|
dev_server: INFO: Creating users ... Done
|
|
dev_server: INFO: Configuring systemd services...Created symlink /etc/systemd/system/multi-user.target.wants/rudder-relayd.service → /lib/systemd/system/rudder-relayd.service.
|
|
dev_server: Created symlink /etc/systemd/system/rudder-server.service.requires/rudder-relayd.service → /lib/systemd/system/rudder-relayd.service.
|
|
dev_server: Done
|
|
dev_server: INFO: No usable SSL certificate detected for Rudder relay HTTPS support, generating one automatically...Generating a RSA private key
|
|
dev_server: .......................+++++
|
|
dev_server: ..............................+++++
|
|
dev_server: writing new private key to '/opt/rudder/etc/ssl/rudder.key'
|
|
dev_server: -----
|
|
dev_server: Done
|
|
dev_server: INFO: Starting services... Done
|
|
dev_server: INFO: rudder-server-relay setup complete.
|
|
dev_server:
|
|
dev_server: *****************************************************************************************
|
|
dev_server: INFO: Now run on your root server:
|
|
dev_server: INFO: 'rudder server node-to-relay d696422c-af90-402a-b3f4-37265d4c24e2
|
|
dev_server: INFO: Please look at the documentation for details (Section 'Relay servers')
|
|
dev_server: *****************************************************************************************
|
|
dev_server: Selecting previously unselected package rudder-webapp.
|
|
(Reading database ... 63004 files and directories currently installed.)
|
|
dev_server: Preparing to unpack .../0-rudder-webapp_6.2.1~rc1~git202101072215-debian10_amd64.deb ...
|
|
dev_server: Unpacking rudder-webapp (6.2.1~rc1~git202101072215-debian10) ...
|
|
dev_server: Selecting previously unselected package python3-soupsieve.
|
|
dev_server: Preparing to unpack .../1-python3-soupsieve_1.8+dfsg-1_all.deb ...
|
|
dev_server: Unpacking python3-soupsieve (1.8+dfsg-1) ...
|
|
dev_server: Selecting previously unselected package python3-bs4.
|
|
dev_server: Preparing to unpack .../2-python3-bs4_4.7.1-1_all.deb ...
|
|
dev_server: Unpacking python3-bs4 (4.7.1-1) ...
|
|
dev_server: Selecting previously unselected package python3-webencodings.
|
|
dev_server: Preparing to unpack .../3-python3-webencodings_0.5.1-1_all.deb ...
|
|
dev_server: Unpacking python3-webencodings (0.5.1-1) ...
|
|
dev_server: Selecting previously unselected package python3-html5lib.
|
|
dev_server: Preparing to unpack .../4-python3-html5lib_1.0.1-1_all.deb ...
|
|
dev_server: Unpacking python3-html5lib (1.0.1-1) ...
|
|
dev_server: Selecting previously unselected package rudder-server-root.
|
|
dev_server: Preparing to unpack .../5-rudder-server-root_6.2.1~rc1~git202101072215-debian10_all.deb ...
|
|
dev_server: Unpacking rudder-server-root (6.2.1~rc1~git202101072215-debian10) ...
|
|
dev_server: Setting up postgresql-client (11+200+deb10u4) ...
|
|
dev_server: Setting up dbconfig-common (2.0.11+deb10u1) ...
|
|
dev_server:
|
|
dev_server: Creating config file /etc/dbconfig-common/config with new version
|
|
dev_server: Se
|
|
dev_server: tting up python3-webencodings (0.5.1-1) ...
|
|
dev_server: Setting up acl (2.2.53-4) ...
|
|
dev_server: Setting up python3-html5lib (1.0.1-1) ...
|
|
dev_server: Setting up libltdl7:amd64 (2.4.6-9) ...
|
|
dev_server: Setting up python3-soupsieve (1.8+dfsg-1) ...
|
|
dev_server: Setting up rsyslog-pgsql (8.1901.0-1) ...
|
|
dev_server: dbconfig-common: writing config to /etc/dbconfig-common/rsyslog-pgsql.conf
|
|
dev_server:
|
|
dev_server: Creating config file /etc/dbconfig-common/rsyslog-pgsql.conf with new version
|
|
dev_server:
|
|
dev_server: Creating config file /etc/rsyslog.d/pgsql.conf with new version
|
|
dev_server: creating postgres user rsyslog: success.
|
|
dev_server: verifying creation of user: success.
|
|
dev_server: creating database Syslog: success.
|
|
dev_server: verifying database Syslog exists: success.
|
|
dev_server: populating database via sql... done.
|
|
dev_server: dbconfig-common: flushing administrative password
|
|
dev_server: Setting up rudder-reports (6.2.1~rc1~git202101072215-debian10) ...
|
|
dev_server: INFO: Setting PostgreSQL as a boot service...Synchronizing state of postgresql.service with SysV service script with /lib/systemd/systemd-sysv-install.
|
|
dev_server: Executing: /lib/systemd/systemd-sysv-install enable postgresql
|
|
dev_server: Done
|
|
dev_server: INFO: Waiting for PostgreSQL to be up... Done
|
|
dev_server: INFO: Creating Rudder PostgreSQL user...Done
|
|
dev_server: INFO: Creating Rudder PostgreSQL database... Done
|
|
dev_server: Setting up rudder-webapp (6.2.1~rc1~git202101072215-debian10) ...
|
|
dev_server: INFO: Creating groups ... Done
|
|
dev_server: INFO: Creating users ... Done
|
|
dev_server: INFO: Removing ncf-api-venv user and group ... Done
|
|
dev_server: INFO: Setting up systemd ...Created symlink /etc/systemd/system/multi-user.target.wants/rudder-jetty.service → /lib/systemd/system/rudder-jetty.service.
|
|
dev_server: Created symlink /etc/systemd/system/rudder-server.service.requires/rudder-jetty.service → /lib/systemd/system/rudder-jetty.service.
|
|
dev_server: Created symlink /etc/systemd/system/multi-user.target.wants/rudder-slapd.service → /lib/systemd/system/rudder-slapd.service.
|
|
dev_server: Created symlink /etc/systemd/system/rudder-server.service.requires/rudder-slapd.service → /lib/systemd/system/rudder-slapd.service.
|
|
dev_server: INFO: Restarting rudder-slapd... Done
|
|
dev_server:
|
|
dev_server: SUMMARY OF OPTIONS:
|
|
dev_server:
|
|
dev_server: Allowed networks: 192.168.0.0/16 10.0.2.15/32 192.168.2.2/32
|
|
dev_server: Force LDAP reset: no
|
|
dev_server:
|
|
dev_server: Initializing LDAP database... done.
|
|
dev_server:
|
|
dev_server: Updating Rudder password file with random passwords... done.
|
|
dev_server: Cleaning up temporary directories... done.
|
|
dev_server:
|
|
dev_server: Reinitialization complete, Rudder is currently reloading.
|
|
dev_server:
|
|
dev_server: You can access it via https://server.rudder.local/rudder
|
|
dev_server:
|
|
dev_server: INFO: Launching script to check if a migration is needed ...
|
|
dev_server: Done
|
|
dev_server: INFO: Re-generate rudder-lang libraries ...
|
|
dev_server: Done
|
|
dev_server: INFO: Make sure Rudder webapp is started... Done
|
|
dev_server: INFO: Make sure Apache HTTPd is started... Done
|
|
dev_server: INFO: Agent certificate is missing, creating it... Done
|
|
dev_server: INFO: No disable file detected and no agent executor process either. Restarting agent service... Done
|
|
dev_server: INFO: Inventory older than 3 days, resending ...Rudder agent 6.2.1~rc1~git202101072215-debian10
|
|
dev_server: Node uuid: root
|
|
dev_server: M| State Technique Component Key Message
|
|
dev_server: E| repaired Common Compute inventory splay Scheduling rudder_run_inventory was repaired
|
|
dev_server: Start execution with config [0]
|
|
dev_server:
|
|
dev_server: error: Finished command related to promiser '/var/rudder/inventories/server-root.ocs.*' -- an error occurred, returned 22
|
|
dev_server: error: Transformer '/var/rudder/inventories/server-root.ocs.sign' => '/usr/bin/curl --tlsv1.2 --location --insecure --fail --silent --proxy '' --user rudder:rudder --upload-file /var/rudder/inventories/server-root.ocs.sign https://127.0.0.1/inventories/' returned error
|
|
dev_server: error: Finished command related to promiser '/var/rudder/inventories/server-root.ocs.*' -- an error occurred, returned 22
|
|
dev_server: error: Transformer '/var/rudder/inventories/server-root.ocs.gz' => '/usr/bin/curl --tlsv1.2 --location --insecure --fail --silent --proxy '' --user rudder:rudder --upload-file /var/rudder/inventories/server-root.ocs.gz https://127.0.0.1/inventories/' returned error
|
|
dev_server: E| compliant Inventory inventory The inventory has been successfully sent
|
|
dev_server: error: Method 'sendInventory' failed in some repairs
|
|
dev_server: error: Method 'doInventory_always'
|
|
dev_server: failed in some repairs
|
|
dev_server: info Rudder agent was run on a subset of policies - not all policies were checked
|
|
dev_server:
|
|
dev_server: ## Summary #####################################################################
|
|
dev_server: 2 components verified in 4 directives
|
|
dev_server: => 2 components in Enforce mode
|
|
dev_server: -> 1 compliant
|
|
dev_server: -> 1 repaired
|
|
dev_server: Execution time: 20.11s
|
|
dev_server: ################################################################################
|
|
dev_server: Done
|
|
dev_server: FINISH: Rudder agent check ran properly, please look at messages above to see if there has been any error.
|
|
dev_server: Setting up python3-bs4 (4.7.1-1) ...
|
|
dev_server: Setting up rudder-server-root (6.2.1~rc1~git202101072215-debian10) ...
|
|
dev_server: Created symlink /etc/systemd/system/multi-user.target.wants/rudder-server.service → /lib/systemd/system/rudder-server.service.
|
|
dev_server: Processing triggers for rsyslog (8.1901.0-1) ...
|
|
dev_server: Processing triggers for man-db (2.8.5-2) ...
|
|
dev_server: Processing triggers for libc-bin (2.28-10) ...
|
|
dev_server: Restarting postgresql (via systemctl): postgresql.service.
|
|
dev_server: Rudder agent 6.2.1~rc1~git202101072215-debian10
|
|
dev_server: Node uuid: root
|
|
dev_server: Start execution with config [0]
|
|
dev_server:
|
|
dev_server: M| State Technique Component Key Message
|
|
dev_server: E| repaired Common ncf Initialization Configuration library initialization was repaired
|
|
dev_server: E| repaired Common Security parameters Some internal security parameters were adjusted
|
|
dev_server: E| compliant Common CRON Daemon CRON is correctly running
|
|
dev_server: E| compliant Common Compute inventory splay Scheduling rudder_run_inventory was correct
|
|
dev_server: E| compliant Inventory inventory Next inventory scheduled between 00:00 and 06:00
|
|
dev_server: E| compliant server-roles Check logrotate configur| The logrotate configuration is correct
|
|
dev_server: E| compliant server-roles Check postgresql process postgresql service running was correct
|
|
dev_server: E| compliant server-roles Check postgresql boot sc| postgresql service enabled was correct
|
|
dev_server: E| repaired server-roles Check LDAP in rudder-web| Web interface configuration files (checked LDAP password) was repaired
|
|
dev_server: E| repaired server-roles Check LDAP credentials OpenLDAP configuration file (rootdn password) was repaired
|
|
dev_server: E| compliant server-roles Check rudder-passwords.c| Presence and permissions of Rudder password file was correct
|
|
dev_server: E| repaired server-roles Check pgpass file Presence and permissions of pgsql password file was repaired
|
|
dev_server: E| repaired server-roles Check SQL in rudder-weba| Web interface configuration files (SQL password) was repaired
|
|
dev_server: E| repaired server-roles Check SQL credentials PostgreSQL user account's password was repaired
|
|
dev_server: E| compliant server-roles Check relayd process relayd service running was correct
|
|
dev_server: E| compliant server-roles Check relayd boot script relayd service enabled was correct
|
|
dev_server: E| repaired server-roles Relayd service configura| rudder-relayd configration was repaired
|
|
dev_server: E| repaired server-roles Check allowed networks c| Allowed networks configuration has been repaired
|
|
dev_server: E| repaired server-roles Check WebDAV properties Rudder WebDAV properties was repaired
|
|
dev_server: E| repaired server-roles Check WebDAV credentials Apache WebDAV user and password was repaired
|
|
dev_server: E| compliant server-roles Check apache process apache service running was correct
|
|
dev_server: E| compliant server-roles Check apache boot script apache service en
|
|
dev_server: Cloning into 'rudder'...
|
|
dev_server: abled was correct
|
|
dev_server: E| compliant server-roles Check jetty process jetty service running was correct
|
|
dev_server: E| compliant server-roles Check jetty boot script jetty service enabled was correct
|
|
dev_server: E| compliant server-roles Check configuration-repo| The /var/rudder/configuration-repository directory is present
|
|
dev_server: E| compliant server-roles Check configuration-repo| The /var/rudder/configuration-repository git lock file is not present or not older than 5 minutes
|
|
dev_server: E| compliant server-roles Check rudder status The http://localhost:8080/rudder/api/status web interface is running
|
|
dev_server: E| compliant server-roles Check slapd process slapd service running was correct
|
|
dev_server: E| compliant server-roles Check slapd boot script slapd service enabled was correct
|
|
dev_server:
|
|
dev_server: ## Summary #####################################################################
|
|
dev_server: 29 components verified in 5 directives
|
|
dev_server: => 29 components in Enforce mode
|
|
dev_server: -> 18 compliant
|
|
dev_server: -> 11 repaired
|
|
dev_server: Execution time: 48.91s
|
|
dev_server: ################################################################################
|
|
dev_server: downloading https://download.rudder.io/plugins/licenses/demo-normation/cve.license
|
|
dev_server: downloading https://download.rudder.io/plugins/licenses/demo-normation/change-validation.license
|
|
dev_server: downloading https://download.rudder.io/plugins/licenses/demo-normation/aix.license
|
|
dev_server: downloading https://download.rudder.io/plugins/licenses/demo-normation/license.key
|
|
dev_server: downloading https://download.rudder.io/plugins/licenses/demo-normation/scale-out-relay.license
|
|
dev_server: downloading https://download.rudder.io/plugins/licenses/demo-normation/branding.license
|
|
dev_server: downloading https://download.rudder.io/plugins/licenses/demo-normation/datasources.license
|
|
dev_server: downloading https://download.rudder.io/plugins/licenses/demo-normation/user-management.license
|
|
dev_server: downloading https://download.rudder.io/plugins/licenses/demo-normation/solaris.license
|
|
dev_server: downloading https://download.rudder.io/plugins/licenses/demo-normation/api-authorizations.license
|
|
dev_server: downloading https://download.rudder.io/plugins/licenses/demo-normation/reporting.license
|
|
dev_server: downloading https://download.rudder.io/plugins/licenses/demo-normation/create-node-api.license
|
|
dev_server: downloading https://download.rudder.io/plugins/licenses/demo-normation/node-external-reports.license
|
|
dev_server: downloading https://download.rudder.io/plugins/licenses/demo-normation/auth-backends.license
|
|
dev_server: downloading https://download.rudder.io/plugins/licenses/demo-normation/dsc.license
|
|
dev_server: downloading https://download.rudder.io/plugins/licenses/demo-normation/node-external-reports.license
|
|
dev_server: downloading https://download.rudder.io/plugins/licenses/demo-normation/branding.license
|
|
dev_server: downloading https://download.rudder.io/plugins/licenses/demo-normation/scale-out-relay.license
|
|
dev_server: downloading https://download.rudder.io/plugins/licenses/demo-normation/user-management.license
|
|
dev_server: downloading https://download.rudder.io/plugins/licenses/demo-normation/api-authorizations.license
|
|
dev_server: downloading https://download.rudder.io/plugins/licenses/demo-normation/create-node-api.license
|
|
dev_server: downloading https://download.rudder.io/plugins/licenses/demo-normation/aix.license
|
|
dev_server: downloading https://download.rudder.io/plugins/licenses/demo-normation/cve.license
|
|
dev_server: downloading https://download.rudder.io/plugins/licenses/demo-normation/solaris.license
|
|
dev_server: downloading https://download.rudder.io/plugins/licenses/demo-normation/datasources.license
|
|
dev_server: downloading https://download.rudder.io/plugins/licenses/demo-normation/license.key
|
|
dev_server: downloading https://download.rudder.io/plugins/licenses/demo-normation/auth-backends.license
|
|
dev_server: downloading https://download.rudder.io/plugins/licenses/demo-normation/dsc.license
|
|
dev_server: downloading https://download.rudder.io/plugins/licenses/demo-normation/change-validation.license
|
|
dev_server: downloading https://download.rudder.io/plugins/licenses/demo-normation/reporting.license
|
|
dev_server: downloading rpkg file https://download.rudder.io/plugins/./6.2/scale-o
|
|
dev_server: gpg: WARNING: unsafe permissions on homedir '/opt/rudder/etc/rudder-pkg
|
|
dev_server: '
|
|
dev_server: gpg: Signature made Wed 09 Dec 2020 05:08:00 PM CET
|
|
dev_server: gpg: using RSA key 7C1698177904212DD58CB4D19322C330474A19E8
|
|
dev_server: gpg:
|
|
dev_server: checking the trustdb
|
|
dev_server: gpg: marginals needed: 3 completes needed: 1 trust model: pgp
|
|
dev_server: gpg: depth: 0 valid: 1 signed: 0 trust: 0-, 0q, 0n, 0m, 0f, 1
|
|
dev_server: u
|
|
dev_server: gpg: Good signature from "Rudder Project (release key) <security@rudder-project.org>" [ultimate
|
|
dev_server: ]
|
|
dev_server: ut-relay/release/rudder-plugin-scale-out-relay-6.2-1.5.rpkg
|
|
dev_server: downloading shasum file https://download.rudder.io/plugins/./6.2/scale-out-relay/release/SHA512SUMS
|
|
dev_server: downloading shasum sign file https://download.rudder.io/plugins/./6.2/scale-out-relay/release/SHA512SUMS.asc
|
|
dev_server: verifying shasum file signature /usr/bin/gpg --homedir /opt/rudder/etc/rudder-pkg --verify /var/rudder/tmp/plugins/./6.2/scale-out-relay/release/SHA512SUMS.asc /var/rudder/tmp/plugins/./6.2/scale-out-relay/release/SHA512SUMS
|
|
dev_server: => OK!
|
|
dev_server:
|
|
dev_server: verifying file hash
|
|
dev_server: => OK!
|
|
dev_server:
|
|
dev_server: Installing /var/rudder/tmp/plugins/./6.2/scale-out-relay/release/rudder-plugin-scale-out-relay-6.2-1.5.rpkg
|
|
dev_server: []
|
|
dev_server: Restarting jetty
|
|
dev_server: $ service rudder-jetty restart
|
|
dev_server: done
|
|
dev_server: OK
|
|
dev_server: ++ /vagrant/scripts/dev.sh
|
|
==> dev_server: Running action triggers after up ...
|
|
==> dev_server: Running trigger...
|
|
Bringing machine 'dev_relay' up with 'virtualbox' provider...
|
|
==> dev_relay: Importing base box 'normation/debian-10-64'...
|
|
==> dev_relay: Matching MAC address for NAT networking...
|
|
==> dev_relay: Checking if box 'normation/debian-10-64' version '1.0' is up to date...
|
|
==> dev_relay: Setting the name of the VM: dev_relay
|
|
==> dev_relay: Fixed port collision for 22 => 2222. Now on port 2200.
|
|
==> dev_relay: Clearing any previously set network interfaces...
|
|
==> dev_relay: Preparing network interfaces based on configuration...
|
|
dev_relay: Adapter 1: nat
|
|
dev_relay: Adapter 2: hostonly
|
|
==> dev_relay: Forwarding ports...
|
|
dev_relay: 22 (guest) => 2200 (host) (adapter 1)
|
|
==> dev_relay: Running 'pre-boot' VM customizations...
|
|
==> dev_relay: Booting VM...
|
|
==> dev_relay: Waiting for machine to boot. This may take a few minutes...
|
|
dev_relay: SSH address: 127.0.0.1:2200
|
|
dev_relay: SSH username: vagrant
|
|
dev_relay: SSH auth method: private key
|
|
dev_relay:
|
|
dev_relay: Vagrant insecure key detected. Vagrant will automatically replace
|
|
dev_relay: this with a newly generated keypair for better security.
|
|
dev_relay:
|
|
dev_relay: Inserting generated public key within guest...
|
|
dev_relay: Removing insecure key from the guest if it's present...
|
|
dev_relay: Key inserted! Disconnecting and reconnecting using new SSH key...
|
|
==> dev_relay: Machine booted and ready!
|
|
==> dev_relay: Checking for guest additions in VM...
|
|
==> dev_relay: Setting hostname...
|
|
==> dev_relay: Configuring and enabling network interfaces...
|
|
==> dev_relay: Mounting shared folders...
|
|
dev_relay: /vagrant => /home/elaad/rudder-tests
|
|
==> dev_relay: Running provisioner: shell...
|
|
dev_relay: Running: inline script
|
|
dev_relay: ++ echo dev_relay
|
|
dev_relay: ++ echo 'Starting VM setup'
|
|
dev_relay: Starting VM setup
|
|
dev_relay: ++ /vagrant/scripts/cleanbox.sh /vagrant
|
|
dev_relay: apt-get is /usr/bin/apt-get
|
|
dev_relay: Reading package lists...
|
|
dev_relay: Building dependency tree...
|
|
dev_relay: Reading state information...
|
|
dev_relay: The following additional packages will be installed:
|
|
dev_relay: libevent-2.1-6 libutempter0
|
|
dev_relay: The following NEW packages will be installed:
|
|
dev_relay: libevent-2.1-6 libutempter0 tmux
|
|
dev_relay: 0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
|
|
dev_relay: Need to get 487 kB of archives.
|
|
dev_relay: After this operation, 1,177 kB of additional disk space will be used.
|
|
dev_relay: Get:1 http://deb.debian.org/debian buster/main amd64 libevent-2.1-6 amd64 2.1.8-stable-4 [177 kB]
|
|
dev_relay: Get:2 http://deb.debian.org/debian buster/main amd64 libutempter0 amd64 1.1.6-3 [7,812 B]
|
|
dev_relay: Get:3 http://deb.debian.org/debian buster/main amd64 tmux amd64 2.8-3 [302 kB]
|
|
dev_relay: Fetched 487 kB in 0s (1,131 kB/s)
|
|
dev_relay: Selecting previously unselected package libevent-2.1-6:amd64.
|
|
dev_relay: (Reading database ...
|
|
dev_relay: (Reading database ... 5%
|
|
dev_relay: (Reading database ... 10%
|
|
dev_relay: (Reading database ... 15%
|
|
dev_relay: (Reading database ... 20%
|
|
dev_relay: (Reading database ... 25%
|
|
dev_relay: (Reading database ... 30%
|
|
dev_relay: (Reading database ... 35%
|
|
dev_relay: (Reading database ... 40%
|
|
dev_relay: (Reading database ... 45%
|
|
dev_relay: (Reading database ... 50%
|
|
dev_relay: (Reading database ... 55%
|
|
dev_relay: (Reading database ... 60%
|
|
dev_relay: (Reading database ... 65%
|
|
dev_relay: (Reading database ... 70%
|
|
dev_relay: (Reading database ... 75%
|
|
dev_relay: (Reading database ... 80%
|
|
dev_relay: (Reading database ... 85%
|
|
dev_relay: (Reading database ... 90%
|
|
dev_relay: (Reading database ... 95%
|
|
dev_relay: (Reading database ... 100%
|
|
dev_relay: (Reading database ...
|
|
dev_relay: 59047 files and directories currently installed.)
|
|
dev_relay: Preparing to unpack .../libevent-2.1-6_2.1.8-stable-4_amd64.deb ...
|
|
dev_relay: Unpacking libevent-2.1-6:amd64 (2.1.8-stable-4) ...
|
|
dev_relay: Selecting previously unselected package libutempter0:amd64.
|
|
dev_relay: Preparing to unpack .../libutempter0_1.1.6-3_amd64.deb ...
|
|
dev_relay: Unpacking libutempter0:amd64 (1.1.6-3) ...
|
|
dev_relay: Selecting previously unselected package tmux.
|
|
dev_relay: Preparing to unpack .../archives/tmux_2.8-3_amd64.deb ...
|
|
dev_relay: Unpacking tmux (2.8-3) ...
|
|
dev_relay: Setting up libevent-2.1-6:amd64 (2.1.8-stable-4) ...
|
|
dev_relay: Setting up libutempter0:amd64 (1.1.6-3) ...
|
|
dev_relay: Setting up tmux (2.8-3) ...
|
|
dev_relay: Processing triggers for man-db (2.8.5-2) ...
|
|
dev_relay: Processing triggers for libc-bin (2.28-10) ...
|
|
dev_relay: ++ /vagrant/scripts/network.sh 192.168.2 2 'server relay agent1 agent2'
|
|
dev_relay: ++ set +x
|
|
dev_relay: ++ head -n 1G
|
|
dev_relay: ++ PLUGINS_VERSION=
|
|
dev_relay: ++ FORGET_CREDENTIALS=
|
|
dev_relay: ++ DISABLE_AUTODETECT_NETWORKS=yes
|
|
dev_relay: ++ ALLOWEDNETWORK=192.168.2.0/24
|
|
dev_relay: ++ UNSUPPORTED=
|
|
dev_relay: ++ ADMIN_PASSWORD=admin
|
|
dev_relay: ++ REPO_PREFIX=rtf/
|
|
dev_relay: ++ /usr/local/bin/rudder-setup setup-relay 6.2-nightly server
|
|
dev_relay: Warning: apt-key output should not be parsed (stdout is not a terminal)
|
|
dev_relay: Reading package lists...
|
|
dev_relay: Building dependency tree...
|
|
dev_relay: Reading state information...
|
|
dev_relay: apt-transport-https is already the newest version (1.8.2).
|
|
dev_relay: 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
|
|
dev_relay: OK
|
|
dev_relay: Get:1 http://security.debian.org/debian-security buster/updates InRelease [65.4 kB]
|
|
dev_relay: Get:2 http://deb.debian.org/debian buster InRelease [121 kB]
|
|
dev_relay: Get:3 https://download.rudder.io/rtf/apt/6.2-nightly buster InRelease [10.9 kB]
|
|
dev_relay: Get:4 http://deb.debian.org/debian buster-updates InRelease [51.9 kB]
|
|
dev_relay: Get:5 http://security.debian.org/debian-security buster/updates/main Sources [168 kB]
|
|
dev_relay: Get:6 http://deb.debian.org/debian buster/main Sources [7,842 kB]
|
|
dev_relay: Get:7 http://security.debian.org/debian-security buster/updates/main amd64 Packages [260 kB]
|
|
dev_relay: Get:8 https://download.rudder.io/rtf/apt/6.2-nightly buster/main amd64 Packages [2,729 B]
|
|
dev_relay: Get:9 http://security.debian.org/debian-security buster/updates/main Translation-en [142 kB]
|
|
dev_relay: Get:10 http://deb.debian.org/debian buster-updates/main Sources.diff/Index [4,672 B]
|
|
dev_relay: Get:11 http://deb.debian.org/debian buster-updates/main amd64 Packages.diff/Index [4,672 B]
|
|
dev_relay: Get:12 http://deb.debian.org/debian buster-updates/main Translation-en.diff/Index [3,196 B]
|
|
dev_relay: Get:13 http://deb.debian.org/debian buster-updates/main Sources 2020-02-23-2017.41.pdiff [924 B]
|
|
dev_relay: Get:14 http://deb.debian.org/debian buster-updates/main Sources 2020-06-04-2016.16.pdiff [239 B]
|
|
dev_relay: Get:15 http://deb.debian.org/debian buster-updates/main Sources 2020-06-07-1403.53.pdiff [540 B]
|
|
dev_relay: Get:16 http://deb.debian.org/debian buster-updates/main Sources 2020-06-13-2000.26.pdiff [690 B]
|
|
dev_relay: Get:17 http://deb.debian.org/debian buster-updates/main Sources 2020-10-24-2001.35.pdiff [414 B]
|
|
dev_relay: Get:18 http://deb.debian.org/debian buster-updates/main Sources 2020-12-24-1401.30.pdiff [415 B]
|
|
dev_relay: Get:19 http://deb.debian.org/debian buster-updates/main amd64 Packages 2020-02-23-2017.41.pdiff [2,162 B]
|
|
dev_relay: Get:20 http://deb.debian.org/debian buster-updates/main amd64 Packages 2020-06-04-2016.16.pdiff [1,101 B]
|
|
dev_relay: Get:21 http://deb.debian.org/debian buster-updates/main amd64 Packages 2020-06-07-1403.53.pdiff [439 B]
|
|
dev_relay: Get:22 http://deb.debian.org/debian buster-updates/main amd64 Packages 2020-06-13-2000.26.pdiff [552 B]
|
|
dev_relay: Get:23 http://deb.debian.org/debian buster-updates/main amd64 Packages 2020-10-24-2001.35.pdiff [286 B]
|
|
dev_relay: Get:24 http://deb.debian.org/debian buster-updates/main amd64 Packages 2020-12-24-1401.30.pdiff [286 B]
|
|
dev_relay: Get:18 http://deb.debian.org/debian buster-updates/main Sources 2020-12-24-1401.30.pdiff [415 B]
|
|
dev_relay: Get:24 http://deb.debian.org/debian buster-updates/main amd64 Packages 2020-12-24-1401.30.pdiff [286 B]
|
|
dev_relay: Get:25 http://deb.debian.org/debian buster-updates/main Translation-en 2020-02-23-2017.41.pdiff [1,700 B]
|
|
dev_relay: Get:26 http://deb.debian.org/debian buster-updates/main Translation-en 2020-06-07-1403.53.pdiff [368 B]
|
|
dev_relay: Get:27 http://deb.debian.org/debian buster-updates/main Translation-en 2020-06-13-2000.26.pdiff [423 B]
|
|
dev_relay: Get:27 http://deb.debian.org/debian buster-updates/main Translation-en 2020-06-13-2000.26.pdiff [423 B]
|
|
dev_relay: Get:28 http://deb.debian.org/debian buster/main amd64 Packages [7,907 kB]
|
|
dev_relay: Get:29 http://deb.debian.org/debian buster/main Translation-en [5,971 kB]
|
|
dev_relay: Fetched 22.6 MB in 15s (1,487 kB/s)
|
|
dev_relay: Reading package lists...
|
|
dev_relay: Reading package lists...
|
|
dev_relay: Building dependency tree...
|
|
dev_relay: Reading state information...
|
|
dev_relay: The following additional packages will be installed:
|
|
dev_relay: augeas-lenses augeas-tools jq libaugeas0 libjq1 libonig5 libxml-treepp-perl
|
|
dev_relay: libyaml-0-2 net-tools python3-bs4 python3-distutils python3-html5lib
|
|
dev_relay: python3-lib2to3 python3-lxml python3-soupsieve python3-webencodings
|
|
dev_relay: rudder-agent
|
|
dev_relay: Suggested packages:
|
|
dev_relay: augeas-doc python3-genshi python3-lxml-dbg python-lxml-doc
|
|
dev_relay: The following NEW packages will be installed:
|
|
dev_relay: augeas-lenses augeas-tools jq libaugeas0 libjq1 libonig5 libxml-treepp-perl
|
|
dev_relay: libyaml-0-2 net-tools python3-bs4 python3-distutils python3-html5lib
|
|
dev_relay: python3-lib2to3 python3-lxml python3-soupsieve python3-webencodings
|
|
dev_relay: rudder-agent rudder-server-relay
|
|
dev_relay: 0 upgraded, 18 newly installed, 0 to remove and 105 not upgraded.
|
|
dev_relay: Need to get 8,608 kB of archives.
|
|
dev_relay: After thi
|
|
dev_relay: s operation, 52.8 MB of additional disk space will be used.
|
|
dev_relay: Get:1 http://security.debian.org/debian-security buster/updates/main amd64 python3-lxml amd64 4.3.2-1+deb10u2 [1,162 kB]
|
|
dev_relay: Get:2 http://deb.debian.org/debian buster/main amd64 augeas-lenses all 1.11.0-3 [442 kB]
|
|
dev_relay: Get:3 https://download.rudder.io/rtf/apt/6.2-nightly buster/main amd64 rudder-agent amd64 6.2.1~rc1~git202101072215-debian10 [3,205 kB]
|
|
dev_relay: Get:4 http://deb.debian.org/debian buster/main amd64 libaugeas0 amd64 1.11.0-3 [301 kB]
|
|
dev_relay: Get:5 http://deb.debian.org/debian buster/main amd64 augeas-tools amd64 1.11.0-3 [173 kB]
|
|
dev_relay: Get:6 http://deb.debian.org/debian buster/main amd64 libonig5 amd64 6.9.1-1 [171 kB]
|
|
dev_relay: Get:7 http://deb.debian.org/debian buster/main amd64 libjq1 amd64 1.5+dfsg-2+b1 [124 kB]
|
|
dev_relay: Get:8 http://deb.debian.org/debian buster/main amd64 jq amd64 1.5+dfsg-2+b1 [59.4 kB]
|
|
dev_relay: Get:9 http://deb.debian.org/debian buster/main amd64 libxml-treepp-perl all 0.43-1 [21.7 kB]
|
|
dev_relay: Get:10 http://deb.debian.org/debian buster/main amd64 libyaml-0-2 amd64 0.2.1-1 [47.2 kB]
|
|
dev_relay: Get:11 http://deb.debian.org/debian buster/main amd64 net-tools amd64 1.60+git20180626.aebd88e-1 [248 kB]
|
|
dev_relay: Get:12 http://deb.debian.org/debian buster/main amd64 python3-soupsieve all 1.8+dfsg-1 [27.6 kB]
|
|
dev_relay: Get:13 http://deb.debian.org/debian buster/main amd64 python3-bs4 all 4.7.1-1 [94.1 kB]
|
|
dev_relay: Get:14 http://deb.debian.org/debian buster/main amd64 python3-lib2to3 all 3.7.3-1 [76.7 kB]
|
|
dev_relay: Get:15 http://deb.debian.org/debian buster/main amd64 python3-distutils all 3.7.3-1 [142 kB]
|
|
dev_relay: Get:16 http://deb.debian.org/debian buster/main amd64 python3-webencodings all 0.5.1-1 [10.9 kB]
|
|
dev_relay: Get:17 http://deb.debian.org/debian buster/main amd64 python3-html5lib all 1.0.1-1 [89.5 kB]
|
|
dev_relay: Get:18 https://download.rudder.io/rtf/apt/6.2-nightly buster/main amd64 rudder-server-relay amd64 6.2.1~rc1~git202101072215-debian10 [2,213 kB]
|
|
dev_relay: Preconfiguring packages ...
|
|
dev_relay: Fetched 8,608 kB in 5s (1,824 kB/s)
|
|
dev_relay: Selecting previously unselected package augeas-lenses.
|
|
(Reading database ... 59071 files and directories currently installed.)
|
|
dev_relay: Preparing to unpack .../00-augeas-lenses_1.11.0-3_all.deb ...
|
|
dev_relay: Unpacking augeas-lenses (1.11.0-3) ...
|
|
dev_relay: Selecting previously unselected package libaugeas0:amd64.
|
|
dev_relay: Preparing to unpack .../01-libaugeas0_1.11.0-3_amd64.deb ...
|
|
dev_relay: Unpacking libaugeas0:amd64 (1.11.0-3) ...
|
|
dev_relay: Selecting previously unselected package augeas-tools.
|
|
dev_relay: Preparing to unpack .../02-augeas-tools_1.11.0-3_amd64.deb ...
|
|
dev_relay: Unpacking augeas-tools (1.11.0-3) ...
|
|
dev_relay: Selecting previously unselected package libonig5:amd64.
|
|
dev_relay: Preparing to unpack .../03-libonig5_6.9.1-1_amd64.deb ...
|
|
dev_relay: Unpacking libonig5:amd64 (6.9.1-1) ...
|
|
dev_relay: Selecting previously unselected package libjq1:amd64.
|
|
dev_relay: Preparing to unpack .../04-libjq1_1.5+dfsg-2+b1_amd64.deb ...
|
|
dev_relay: Unpacking libjq1:amd64 (1.5+dfsg-2+b1) ...
|
|
dev_relay: Selecting previously unselected package jq.
|
|
dev_relay: Preparing to unpack .../05-jq_1.5+dfsg-2+b1_amd64.deb ...
|
|
dev_relay: Unpacking jq (1.5+dfsg-2+b1) ...
|
|
dev_relay: Selecting previously unselected package libxml-treepp-perl.
|
|
dev_relay: Preparing to unpack .../06-libxml-treepp-perl_0.43-1_all.deb ...
|
|
dev_relay: Unpacking libxml-treepp-perl (0.43-1) ...
|
|
dev_relay: Selecting previously unselected package libyaml-0-2:amd64.
|
|
dev_relay: Preparing to unpack .../07-libyaml-0-2_0.2.1-1_amd64.deb ...
|
|
dev_relay: Unpacking libyaml-0-2:amd64 (0.2.1-1) ...
|
|
dev_relay: Selecting previously unselected package net-tools.
|
|
dev_relay: Preparing to unpack .../08-net-tools_1.60+git20180626.aebd88e-1_amd64.deb ...
|
|
dev_relay: Unpacking net-tools (1.60+git20180626.aebd88e-1) ...
|
|
dev_relay: Selecting previously unselected package python3-soupsieve.
|
|
dev_relay: Preparing to unpack .../09-python3-soupsieve_1.8+dfsg-1_all.de
|
|
dev_relay: b ...
|
|
dev_relay: Unpacking python3-soupsieve (1.8+dfsg-1) ...
|
|
dev_relay: Selecting previously unselected package python3-bs4.
|
|
dev_relay: Preparing to unpack .../10-python3-bs4_4.7.1-1_all.deb ...
|
|
dev_relay: Unpacking python3-bs4 (4.7.1-1) ...
|
|
dev_relay: Selecting previously unselected package python3-lib2to3.
|
|
dev_relay: Preparing to unpack .../11-python3-lib2to3_3.7.3-1_all.deb ...
|
|
dev_relay: Unpacking python3-lib2to3 (3.7.3-1) ...
|
|
dev_relay: Selecting previously unselected package python3-distutils.
|
|
dev_relay: Preparing to unpack .../12-python3-distutils_3.7.3-1_all.deb ...
|
|
dev_relay: Unpacking python3-distutils (3.7.3-1) ...
|
|
dev_relay: Selecting previously unselected package python3-webencodings.
|
|
dev_relay: Preparing to unpack .../13-python3-webencodings_0.5.1-1_all.deb ...
|
|
dev_relay: Unpacking python3-webencodings (0.5.1-1) ...
|
|
dev_relay: Selecting previously unselected package python3-html5lib.
|
|
dev_relay: Preparing to unpack .../14-python3-html5lib_1.0.1-1_all.deb ...
|
|
dev_relay: Unpacking python3-html5lib (1.0.1-1) ...
|
|
dev_relay: Selecting previously unselected package python3-lxml:amd64.
|
|
dev_relay: Preparing to unpack .../15-python3-lxml_4.3.2-1+deb10u2_amd64.deb ...
|
|
dev_relay: Unpacking python3-lxml:amd64 (4.3.2-1+deb10u2) ...
|
|
dev_relay: Selecting previously unselected package rudder-agent.
|
|
dev_relay: Preparing to unpack .../16-rudder-agent_6.2.1~rc1~git202101072215-debian10_amd64.deb ...
|
|
dev_relay: Unpacking rudder-agent (6.2.1~rc1~git202101072215-debian10) ...
|
|
dev_relay: Selecting previously unselected package rudder-server-relay.
|
|
dev_relay: Preparing to unpack .../17-rudder-server-relay_6.2.1~rc1~git202101072215-debian10_amd64.deb ...
|
|
dev_relay: Unpacking rudder-server-relay (6.2.1~rc1~git202101072215-debian10) ...
|
|
dev_relay: Setting up net-tools (1.60+git20180626.aebd88e-1) ...
|
|
dev_relay: Setting up augeas-lenses (1.11.0-3) ...
|
|
dev_relay: Setting up libyaml-0-2:amd64 (0.2.1-1) ...
|
|
dev_relay: Setting up python3-webencodings (0.5.1-1) ...
|
|
dev_relay: Setting up libaugeas0:amd64 (1.11.0-3) ...
|
|
dev_relay: Setting up libxml-treepp-perl (0.43-1) ...
|
|
dev_relay: Setting up python3-html5lib (1.0.1-1) ...
|
|
dev_relay: Setting up python3-lxml:amd64 (4.3.2-1+deb10u2) ...
|
|
dev_relay: Setting up python3-lib2to3 (3.7.3-1) ...
|
|
dev_relay: Setting up python3-soupsieve (1.8+dfsg-1) ...
|
|
dev_relay: Setting up libonig5:amd64 (6.9.1-1) ...
|
|
dev_relay: Setting up python3-distutils (3.7.3-1) ...
|
|
dev_relay: Setting up libjq1:amd64 (1.5+dfsg-2+b1) ...
|
|
dev_relay: Setting up python3-bs4 (4.7.1-1) ...
|
|
dev_relay: Setting up augeas-tools (1.11.0-3) ...
|
|
dev_relay: Setting up jq (1.5+dfsg-2+b1) ...
|
|
dev_relay: Setting up rudder-agent (6.2.1~rc1~git202101072215-debian10) ...
|
|
dev_relay: Created symlink /etc/systemd/system/multi-user.target.wants/rudder-agent.service → /lib/systemd/system/rudder-agent.service.
|
|
dev_relay: Created symlink /etc/systemd/system/multi-user.target.wants/rudder-cf-execd.service → /lib/systemd/system/rudder-cf-execd.service.
|
|
dev_relay: Created symlink /etc/systemd/system/rudder-agent.service.requires/rudder-cf-execd.service → /lib/systemd/system/rudder-cf-execd.service.
|
|
dev_relay: Created symlink /etc/systemd/system/multi-user.target.wants/rudder-cf-serverd.service → /lib/systemd/system/rudder-cf-serverd.service.
|
|
dev_relay: Created symlink /etc/systemd/system/rudder-agent.service.wants/rudder-cf-serverd.service → /lib/systemd/system/rudder-cf-serverd.service.
|
|
dev_relay: INFO: Scheduling an inventory during next run...
|
|
dev_relay: INFO: The UUID of the node does not exist and no backup exist. A new one will be generated... Done
|
|
dev_relay: INFO: Agent keys are missing, creating them ... Done
|
|
dev_relay: INFO: Agent certificate is missing, creating it... Done
|
|
dev_relay: INFO: Policies absent, restoring initial version, and updating ... error: Failed to establish TLS connection: underlying network error (Connection reset by peer)
|
|
dev_relay: error: No suitable server found
|
|
dev_relay: error: Failed to establish TLS connection: underlying network error (Connection reset by peer)
|
|
dev_relay: error: No suitable server found
|
|
dev_relay: R: *********************************************************************************
|
|
dev_relay: * rudder-agent could not get an its configuration from the policy server. *
|
|
dev_relay: * This can be caused by: *
|
|
dev_relay: * * a networking issue *
|
|
dev_relay: * * an unavailable server *
|
|
dev_relay: * * if the node's IP in not if the allowed networks of its policy server. *
|
|
dev_relay: *******************************************
|
|
dev_relay: Agent is currently in bootstrap policies, cannot run an inventory. Please download initial policies from the server with command "rudder agent update" first. If problem persists, use "rudder agent check" for diagnostic
|
|
dev_relay: **************************************
|
|
dev_relay: error: Rudder agent policies could not be updated.
|
|
dev_relay: ok: Rudder agent state has been reset.
|
|
dev_relay: Done
|
|
dev_relay: INFO: No disable file detected and no agent executor process either. Restarting agent service... Done
|
|
dev_relay: INFO: Inventory older than 3 days, resending ...Agent is currently in bootstrap policies, cannot run an inventory. Please download initial policies from the server with command "rudder agent update" first. If problem persists, use "rudder agent check" for diagnostic
|
|
dev_relay: Done
|
|
dev_relay: FINISH: Rudder agent check ran properly, please look at messages above to see if there has been any error.
|
|
dev_relay: Setting up rudder-server-relay (6.2.1~rc1~git202101072215-debian10) ...
|
|
dev_relay: INFO: Creating users ... Done
|
|
dev_relay: INFO: Configuring systemd services...Created symlink /etc/systemd/system/multi-user.target.wants/rudder-relayd.service → /lib/systemd/system/rudder-relayd.service.
|
|
dev_relay: Created symlink /etc/systemd/system/rudder-server.service.requires/rudder-relayd.service → /lib/systemd/system/rudder-relayd.service.
|
|
dev_relay: Done
|
|
dev_relay: INFO: No usable SSL certificate detected for Rudder relay HTTPS support, generating one automatically...Generating a RSA private key
|
|
dev_relay: .....................................................................+++++
|
|
dev_relay: ................................+++++
|
|
dev_relay: writing new private key to '/opt/rudder/etc/ssl/rudder.key'
|
|
dev_relay: -----
|
|
dev_relay: Done
|
|
dev_relay: INFO: Starting services... Done
|
|
dev_relay: INFO: rudder-server-relay setup complete.
|
|
dev_relay:
|
|
dev_relay: *****************************************************************************************
|
|
dev_relay: INFO: Now run on your root server:
|
|
dev_relay: INFO: 'rudder server node-to-relay 75d6cce4-1b03-4059-95e1-7b54730dc589
|
|
dev_relay: INFO: Please look at the documentation for details (Section 'Relay servers')
|
|
dev_relay: *****************************************************************************************
|
|
dev_relay: Processing triggers for man-db (2.8.5-2) ...
|
|
dev_relay: Processing triggers for libc-bin (2.28-10) ...
|
|
==> dev_relay: Running action triggers after up ...
|
|
==> dev_relay: Running trigger...
|
|
Waiting for acceptation of 75d6cce4-1b03-4059-95e1-7b54730dc589
|
|
Waiting 60s for command to return ok on dev_server
|
|
curl --insecure --silent --header \"X-API-Token: \$(cat /var/rudder/run/api-token)\" https://localhost/rudder/api/latest/nodes/75d6cce4-1b03-4059-95e1-7b54730dc589 | grep -q success
|
|
Timeout
|
|
+vagrant ssh dev_server -c "sudo /bin/sh -c 'PATH=\$PATH:/vagrant/scripts LANG=C curl --insecure --silent --header \"X-API-Token: \$(cat /var/rudder/run/api-token)\" --request POST https://localhost/rudder/api/latest/nodes/pending/75d6cce4-1b03-4059-95e1-7b54730dc589 --data \"status=accepted\"'" --
|
|
<html>
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
|
|
<title>Error 404 Not Found</title>
|
|
</head>
|
|
<body><h2>HTTP ERROR 404 Not Found</h2>
|
|
<table>
|
|
<tr><th>URI:</th><td>/rudder/api/latest/nodes/pending/75d6cce4-1b03-4059-95e1-7b54730dc589</td></tr>
|
|
<tr><th>STATUS:</th><td>404</td></tr>
|
|
<tr><th>MESSAGE:</th><td>Not Found</td></tr>
|
|
<tr><th>SERVLET:</th><td>default</td></tr>
|
|
</table>
|
|
<hr><a href="https://eclipse.org/jetty">Powered by Jetty:// 9.4.32.v20200930</a><hr/>
|
|
|
|
</body>
|
|
</html>
|
|
Connection to 127.0.0.1 closed.
|
|
+vagrant ssh dev_server -c "sudo /bin/sh -c 'PATH=\$PATH:/vagrant/scripts LANG=C rudder server node-to-relay 75d6cce4-1b03-4059-95e1-7b54730dc589'" --
|
|
Rudder relay installation script starting, using UUID 75d6cce4-1b03-4059-95e1-7b54730dc589.
|
|
parse error: Invalid numeric literal at line 2, column 0
|
|
ERROR: Unknow response format, parsing failed. Code 4
|
|
Connection to 127.0.0.1 closed.
|
|
Waiting for 75d6cce4-1b03-4059-95e1-7b54730dc589 generation
|
|
Waiting 60s for command to return ok on dev_server
|
|
[ -f /var/rudder/share/75d6cce4-1b03-4059-95e1-7b54730dc589/rules/cfengine-community/rudder_promises_generated ] && [ \"\$(cat /var/rudder/share/75d6cce4-1b03-4059-95e1-7b54730dc589/rules/cfengine-community/rudder_promises_generated)\" -gt 1610363315484 ]
|
|
Timeout
|
|
+vagrant ssh dev_server -c "sudo /bin/sh -c 'PATH=\$PATH:/vagrant/scripts LANG=C rudder agent run -u'" --
|
|
Rudder agent 6.2.1~rc1~git202101072215-debian10
|
|
Node uuid: root
|
|
ok: Rudder agent policies were updated.
|
|
Start execution with config [0]
|
|
|
|
M| State Technique Component Key Message
|
|
E| compliant Common ncf Initialization Configuration library initialization was correct
|
|
E| compliant Common Update Configuration library already up to date on this root server. No action required.
|
|
E| compliant Common Security parameters The internal environment security is acceptable
|
|
E| compliant Common CRON Daemon CRON is correctly running
|
|
E| compliant Common Compute inventory splay Scheduling rudder_run_inventory was correct
|
|
E| compliant Inventory inventory Next inventory scheduled between 00:00 and 06:00
|
|
E| compliant server-roles Check logrotate configur| The logrotate configuration is correct
|
|
E| compliant server-roles Check postgresql process postgresql service running was correct
|
|
E| compliant server-roles Check postgresql boot sc| postgresql service enabled was correct
|
|
E| compliant server-roles Check LDAP in rudder-web| Web interface configuration files (checked LDAP password) was correct
|
|
E| compliant server-roles Check LDAP credentials OpenLDAP configuration file (rootdn password) was correct
|
|
E| compliant server-roles Check rudder-passwords.c| Presence and permissions of Rudder password file was correct
|
|
E| compliant server-roles Check pgpass file Presence and permissions of pgsql password file was correct
|
|
E| compliant server-roles Check SQL in rudder-weba| Web interface configuration files (SQL password) was correct
|
|
E| compliant server-roles Check SQL credentials PostgreSQL user account's already correct.
|
|
E| compliant server-roles Check relayd process relayd service running was correct
|
|
E| compliant server-roles Check relayd boot script relayd service enabled was correct
|
|
E| compliant server-roles Relayd service configura| rudder-relayd configration was correct
|
|
E| compliant server-roles Check allowed networks c| Allowed networks configuration is correct
|
|
E| compliant server-roles Check WebDAV properties Rudder WebDAV properties was correct
|
|
E| repaired server-roles Check WebDAV credentials Apache WebDAV user and password was repaired
|
|
E| compliant server-roles Check apache process apache service running was correct
|
|
E| compliant server-roles Check apache boot script apache service enabled was correct
|
|
E| compliant server-roles Check jetty process jetty service running was correct
|
|
E| compliant server-roles Check jetty boot script jetty service enabled was correct
|
|
E| compliant server-roles Check configuration-repo| The /var/rudder/configuration-repository directory is present
|
|
E| compliant server-roles Check configuration-repo| The /var/rudder/configuration-repository git lock file is not present or not older than 5 minutes
|
|
E| compliant server-roles Check rudder status The http://localhost:8080/rudder/api/status web interface is running
|
|
E| compliant server-roles Check slapd process slapd service running was correct
|
|
E| compliant server-roles Check slapd boot script slapd service enabled was correct
|
|
|
|
## Summary #####################################################################
|
|
30 components verified in 5 directives
|
|
=> 30 components in Enforce mode
|
|
-> 29 compliant
|
|
-> 1 repaired
|
|
Execution time: 4.18s
|
|
################################################################################
|
|
Connection to 127.0.0.1 closed.
|
|
+vagrant ssh dev_relay -c "sudo /bin/sh -c 'PATH=\$PATH:/vagrant/scripts LANG=C rudder agent run -ui'" --
|
|
Rudder agent 6.2.1~rc1~git202101072215-debian10
|
|
Node uuid: 75d6cce4-1b03-4059-95e1-7b54730dc589
|
|
error: Failed to establish TLS connection: underlying network error ()
|
|
error: No suitable server found
|
|
error: Failed to establish TLS connection: underlying network error (Connection reset by peer)
|
|
error: No suitable server found
|
|
R: *********************************************************************************
|
|
* rudder-agent could not get an its configuration from the policy server. *
|
|
* This can be caused by: *
|
|
* * a networking issue *
|
|
* * an unavailable server *
|
|
* * if the node's IP in not if the allowed networks of its policy server. *
|
|
*********************************************************************************
|
|
error: Rudder agent policies could not be updated.
|
|
error: Failed to establish TLS connection: underlying network error (Connection reset by peer)
|
|
rudder info: Unable to establish connection to 'server'
|
|
error: No suitable server found
|
|
rudder info: Promise belongs to bundle 'update' in file '/var/rudder/cfengine-community/inputs/promises.cf' near line 94
|
|
error: Failed to establish TLS connection: underlying network error (Connection reset by peer)
|
|
rudder info: Unable to establish connection to 'server'
|
|
error: No suitable server found
|
|
rudder info: Promise belongs to bundle 'update' in file '/var/rudder/cfengine-community/inputs/promises.cf' near line 102
|
|
R: *********************************************************************************
|
|
* rudder-agent could not get an its configuration from the policy server. *
|
|
* This can be caused by: *
|
|
* * a networking issue *
|
|
* * an unavailable server *
|
|
* * if the node's IP in not if the allowed networks of its policy server. *
|
|
*********************************************************************************
|
|
error Rudder agent was interrupted during execution by a fatal error
|
|
|
|
## Summary #####################################################################
|
|
0 components verified in 1 directives
|
|
This summary is incomplete as the agent was interrupted during execution
|
|
Execution time: 0.06s
|
|
################################################################################
|
|
Connection to 127.0.0.1 closed.
|
|
Bringing machine 'dev_agent1' up with 'virtualbox' provider...
|
|
==> dev_agent1: Importing base box 'normation/debian-10-64'...
|
|
==> dev_agent1: Matching MAC address for NAT networking...
|
|
==> dev_agent1: Checking if box 'normation/debian-10-64' version '1.0' is up to date...
|
|
==> dev_agent1: Setting the name of the VM: dev_agent1
|
|
==> dev_agent1: Fixed port collision for 22 => 2222. Now on port 2201.
|
|
==> dev_agent1: Clearing any previously set network interfaces...
|
|
==> dev_agent1: Preparing network interfaces based on configuration...
|
|
dev_agent1: Adapter 1: nat
|
|
dev_agent1: Adapter 2: hostonly
|
|
==> dev_agent1: Forwarding ports...
|
|
dev_agent1: 22 (guest) => 2201 (host) (adapter 1)
|
|
==> dev_agent1: Running 'pre-boot' VM customizations...
|
|
==> dev_agent1: Booting VM...
|
|
==> dev_agent1: Waiting for machine to boot. This may take a few minutes...
|
|
dev_agent1: SSH address: 127.0.0.1:2201
|
|
dev_agent1: SSH username: vagrant
|
|
dev_agent1: SSH auth method: private key
|
|
dev_agent1:
|
|
dev_agent1: Vagrant insecure key detected. Vagrant will automatically replace
|
|
dev_agent1: this with a newly generated keypair for better security.
|
|
dev_agent1:
|
|
dev_agent1: Inserting generated public key within guest...
|
|
dev_agent1: Removing insecure key from the guest if it's present...
|
|
dev_agent1: Key inserted! Disconnecting and reconnecting using new SSH key...
|
|
==> dev_agent1: Machine booted and ready!
|
|
==> dev_agent1: Checking for guest additions in VM...
|
|
==> dev_agent1: Setting hostname...
|
|
==> dev_agent1: Configuring and enabling network interfaces...
|
|
==> dev_agent1: Mounting shared folders...
|
|
dev_agent1: /vagrant => /home/elaad/rudder-tests
|
|
==> dev_agent1: Running provisioner: shell...
|
|
dev_agent1: Running: inline script
|
|
dev_agent1: ++ echo dev_agent1
|
|
dev_agent1: ++ echo 'Starting VM setup'
|
|
dev_agent1: Starting VM setup
|
|
dev_agent1: ++ /vagrant/scripts/cleanbox.sh /vagrant
|
|
dev_agent1: apt-get is /usr/bin/apt-get
|
|
dev_agent1: Reading package lists...
|
|
dev_agent1: Building dependency tree...
|
|
dev_agent1: Reading state information...
|
|
dev_agent1: The following additional packages will be installed:
|
|
dev_agent1: libevent-2.1-6 libutempter0
|
|
dev_agent1: The following NEW packages will be installed:
|
|
dev_agent1: libevent-2.1-6 libutempter0 tmux
|
|
dev_agent1: 0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
|
|
dev_agent1: Need to get 487 kB of archives.
|
|
dev_agent1: After this operation, 1,177 kB of additional disk space will be used.
|
|
dev_agent1: Get:1 http://deb.debian.org/debian buster/main amd64 libevent-2.1-6 amd64 2.1.8-stable-4 [177 kB]
|
|
dev_agent1: Get:2 http://deb.debian.org/debian buster/main amd64 libutempter0 amd64 1.1.6-3 [7,812 B]
|
|
dev_agent1: Get:3 http://deb.debian.org/debian buster/main amd64 tmux amd64 2.8-3 [302 kB]
|
|
dev_agent1: Fetched 487 kB in 5s (89.9 kB/s)
|
|
dev_agent1: Selecting previously unselected package libevent-2.1-6:amd64.
|
|
dev_agent1: (Reading database ...
|
|
dev_agent1: (Reading database ... 5%
|
|
dev_agent1: (Reading database ... 10%
|
|
dev_agent1: (Reading database ... 15%
|
|
dev_agent1: (Reading database ... 20%
|
|
dev_agent1: (Reading database ... 25%
|
|
dev_agent1: (Reading database ... 30%
|
|
dev_agent1: (Reading database ... 35%
|
|
dev_agent1: (Reading database ... 40%
|
|
dev_agent1: (Reading database ... 45%
|
|
dev_agent1: (Reading database ... 50%
|
|
dev_agent1: (Reading database ... 55%
|
|
dev_agent1: (Reading database ... 60%
|
|
dev_agent1: (Reading database ... 65%
|
|
dev_agent1: (Reading database ... 70%
|
|
dev_agent1: (Reading database ... 75%
|
|
dev_agent1: (Reading database ... 80%
|
|
dev_agent1: (Reading database ... 85%
|
|
dev_agent1: (Reading database ... 90%
|
|
dev_agent1: (Reading database ... 95%
|
|
dev_agent1: (Reading database ... 100%
|
|
dev_agent1: (Reading database ...
|
|
dev_agent1: 59047 files and directories currently installed.)
|
|
dev_agent1: Preparing to unpack .../libevent-2.1-6_2.1.8-stable-4_amd64.deb ...
|
|
dev_agent1: Unpacking libevent-2.1-6:amd64 (2.1.8-stable-4) ...
|
|
dev_agent1: Selecting previously unselected package libutempter0:amd64.
|
|
dev_agent1: Preparing to unpack .../libutempter0_1.1.6-3_amd64.deb ...
|
|
dev_agent1: Unpacking libutempter0:amd64 (1.1.6-3) ...
|
|
dev_agent1: Selecting previously unselected package tmux.
|
|
dev_agent1: Preparing to unpack .../archives/tmux_2.8-3_amd64.deb ...
|
|
dev_agent1: Unpacking tmux (2.8-3) ...
|
|
dev_agent1: Setting up libevent-2.1-6:amd64 (2.1.8-stable-4) ...
|
|
dev_agent1: Setting up libutempter0:amd64 (1.1.6-3) ...
|
|
dev_agent1: Setting up tmux (2.8-3) ...
|
|
dev_agent1: Processing triggers for man-db (2.8.5-2) ...
|
|
dev_agent1: Processing triggers for libc-bin (2.28-10) ...
|
|
dev_agent1: ++ /vagrant/scripts/network.sh 192.168.2 2 'server relay agent1 agent2'
|
|
dev_agent1: ++ set +x
|
|
dev_agent1: ++ head -n 1G
|
|
dev_agent1: ++ PLUGINS_VERSION=
|
|
dev_agent1: ++ FORGET_CREDENTIALS=
|
|
dev_agent1: ++ DISABLE_AUTODETECT_NETWORKS=yes
|
|
dev_agent1: ++ ALLOWEDNETWORK=192.168.2.0/24
|
|
dev_agent1: ++ UNSUPPORTED=
|
|
dev_agent1: ++ ADMIN_PASSWORD=admin
|
|
dev_agent1: ++ REPO_PREFIX=rtf/
|
|
dev_agent1: ++ /usr/local/bin/rudder-setup setup-agent 6.2-nightly relay
|
|
dev_agent1: Warning: apt-key output should not be parsed (stdout is not a terminal)
|
|
dev_agent1: Reading package lists...
|
|
dev_agent1: Building dependency tree...
|
|
dev_agent1: Reading state information...
|
|
dev_agent1: apt-transport-https is already the newest version (1.8.2).
|
|
dev_agent1: 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
|
|
dev_agent1: OK
|
|
dev_agent1: Get:1 http://security.debian.org/debian-security buster/updates InRelease [65.4 kB]
|
|
dev_agent1: Get:2 http://deb.debian.org/debian buster InRelease [121 kB]
|
|
dev_agent1: Get:3 http://deb.debian.org/debian buster-updates InRelease [51.9 kB]
|
|
dev_agent1: Get:4 https://download.rudder.io/rtf/apt/6.2-nightly buster InRelease [10.9 kB]
|
|
dev_agent1: Get:5 http://security.debian.org/debian-security buster/updates/main Sources [168 kB]
|
|
dev_agent1: Get:6 http://security.debian.org/debian-security buster/updates/main amd64 Packages [260 kB]
|
|
dev_agent1: Get:7 http://deb.debian.org/debian buster/main Sources [7,842 kB]
|
|
dev_agent1: Get:8 http://security.debian.org/debian-security buster/updates/main Translation-en [142 kB]
|
|
dev_agent1: Get:9 https://download.rudder.io/rtf/apt/6.2-nightly buster/main amd64 Packages [2,729 B]
|
|
dev_agent1: Get:10 http://deb.debian.org/debian buster-updates/main Sources.diff/Index [4,672 B]
|
|
dev_agent1: Get:11 http://deb.debian.org/debian buster-updates/main amd64 Packages.diff/Index [4,672 B]
|
|
dev_agent1: Get:12 http://deb.debian.org/debian buster-updates/main Translation-en.diff/Index [3,196 B]
|
|
dev_agent1: Get:13 http://deb.debian.org/debian buster-updates/main Sources 2020-02-23-2017.41.pdiff [924 B]
|
|
dev_agent1: Get:14 http://deb.debian.org/debian buster-updates/main Sources 2020-06-04-2016.16.pdiff [239 B]
|
|
dev_agent1: Get:15 http://deb.debian.org/debian buster-updates/main Sources 2020-06-07-1403.53.pdiff [540 B]
|
|
dev_agent1: Get:16 http://deb.debian.org/debian buster-updates/main Sources 2020-06-13-2000.26.pdiff [690 B]
|
|
dev_agent1: Get:17 http://deb.debian.org/debian buster-updates/main Sources 2020-10-24-2001.35.pdiff [414 B]
|
|
dev_agent1: Get:18 http://deb.debian.org/debian buster-updates/main Sources 2020-12-24-1401.30.pdiff [415 B]
|
|
dev_agent1: Get:19 http://deb.debian.org/debian buster-updates/main amd64 Packages 2020-02-23-2017.41.pdiff [2,162 B]
|
|
dev_agent1: Get:20 http://deb.debian.org/debian buster-updates/main amd64 Packages 2020-06-04-2016.16.pdiff [1,101 B]
|
|
dev_agent1: Get:21 http://deb.debian.org/debian buster-updates/main amd64 Packages 2020-06-07-1403.53.pdiff [439 B]
|
|
dev_agent1: Get:22 http://deb.debian.org/debian buster-updates/main amd64 Packages 2020-06-13-2000.26.pdiff [552 B]
|
|
dev_agent1: Get:23 http://deb.debian.org/debian buster-updates/main amd64 Packages 2020-10-24-2001.35.pdiff [286 B]
|
|
dev_agent1: Get:24 http://deb.debian.org/debian buster-updates/main amd64 Packages 2020-12-24-1401.30.pdiff [286 B]
|
|
dev_agent1: Get:18 http://deb.debian.org/debian buster-updates/main Sources 2020-12-24-1401.30.pdiff [415 B]
|
|
dev_agent1: Get:25 http://deb.debian.org/debian buster-updates/main Translation-en 2020-02-23-2017.41.pdiff [1,700 B]
|
|
dev_agent1: Get:26 http://deb.debian.org/debian buster-updates/main Translation-en 2020-06-07-1403.53.pdiff [368 B]
|
|
dev_agent1: Get:27 http://deb.debian.org/debian buster-updates/main Translation-en 2020-06-13-2000.26.pdiff [423 B]
|
|
dev_agent1: Get:27 http://deb.debian.org/debian buster-updates/main Translation-en 2020-06-13-2000.26.pdiff [423 B]
|
|
dev_agent1: Get:24 http://deb.debian.org/debian buster-updates/main amd64 Packages 2020-12-24-1401.30.pdiff [286 B]
|
|
dev_agent1: Get:28 http://deb.debian.org/debian buster/main amd64 Packages [7,907 kB]
|
|
dev_agent1: Get:29 http://deb.debian.org/debian buster/main Translation-en [5,971 kB]
|
|
dev_agent1: Fetched 22.6 MB in 20s (1,132 kB/s)
|
|
dev_agent1: Reading package lists...
|
|
dev_agent1: Reading package lists...
|
|
dev_agent1: Building dependency tree...
|
|
dev_agent1: Reading state information...
|
|
dev_agent1: The following additional packages will be installed:
|
|
dev_agent1: augeas-lenses augeas-tools jq libaugeas0 libjq1 libonig5 libxml-treepp-perl
|
|
dev_agent1: libyaml-0-2 net-tools
|
|
dev_agent1: Suggested packages:
|
|
dev_agent1: augeas-doc
|
|
dev_agent1: The following NEW packages will be installed:
|
|
dev_agent1: augeas-lenses augeas-tools jq libaugeas0 libjq1 libonig5 libxml-treepp-perl
|
|
dev_agent1: libyaml-0-2 net-tools rudder-agent
|
|
dev_agent1: 0 upgraded, 10 newly installed, 0 to remove and 105 not upgraded.
|
|
dev_agent1: Need to get 4,792 kB of archives.
|
|
dev_agent1: After this operation, 37.7 MB of additional disk space will be used.
|
|
dev_agent1: Get:1 http://deb.debian.org/debian buster/main amd64 augeas-lenses all 1.11.0-3 [442 kB]
|
|
dev_agent1: Get:2 https://download.rudder.io/rtf/apt/6.2-nightly buster/main amd64 rudder-agent amd64 6.2.1~rc1~git202101072215-debian10 [3,205 kB]
|
|
dev_agent1: Get:3 http://deb.debian.org/debian
|
|
dev_agent1: buster/main amd64 libaugeas0 amd64 1.11.0-3 [301 kB]
|
|
dev_agent1: Get:4 http://deb.debian.org/debian buster/main amd64 augeas-tools amd64 1.11.0-3 [173 kB]
|
|
dev_agent1: Get:5 http://deb.debian.org/debian buster/main amd64 libonig5 amd64 6.9.1-1 [171 kB]
|
|
dev_agent1: Get:6 http://deb.debian.org/debian buster/main amd64 libjq1 amd64 1.5+dfsg-2+b1 [124 kB]
|
|
dev_agent1: Get:7 http://deb.debian.org/debian buster/main amd64 jq amd64 1.5+dfsg-2+b1 [59.4 kB]
|
|
dev_agent1: Get:8 http://deb.debian.org/debian buster/main amd64 libxml-treepp-perl all 0.43-1 [21.7 kB]
|
|
dev_agent1: Get:9 http://deb.debian.org/debian buster/main amd64 libyaml-0-2 amd64 0.2.1-1 [47.2 kB]
|
|
dev_agent1: Get:10 http://deb.debian.org/debian buster/main amd64 net-tools amd64 1.60+git20180626.aebd88e-1 [248 kB]
|
|
dev_agent1: Preconfiguring packages ...
|
|
dev_agent1: Fetched 4,792 kB in 3s (1,548 kB/s)
|
|
dev_agent1: Selecting previously unselected package augeas-lenses.
|
|
(Reading database ... 59071 files and directories currently installed.)
|
|
dev_agent1: Preparing to unpack .../0-augeas-lenses_1.11.0-3_all.deb ...
|
|
dev_agent1: Unpacking augeas-lenses (1.11.0-3) ...
|
|
dev_agent1: Selecting previously unselected package libaugeas0:amd64.
|
|
dev_agent1: Preparing to unpack .../1-libaugeas0_1.11.0-3_amd64.deb ...
|
|
dev_agent1: Unpacking libaugeas0:amd64 (1.11.0-3) ...
|
|
dev_agent1: Selecting previously unselected package augeas-tools.
|
|
dev_agent1: Preparing to unpack .../2-augeas-tools_1.11.0-3_amd64.deb ...
|
|
dev_agent1: Unpacking augeas-tools (1.11.0-3) ...
|
|
dev_agent1: Selecting previously unselected package libonig5:amd64.
|
|
dev_agent1: Preparing to unpack .../3-libonig5_6.9.1-1_amd64.deb ...
|
|
dev_agent1: Unpacking libonig5:amd64 (6.9.1-1) ...
|
|
dev_agent1: Selecting previously unselected package libjq1:amd64.
|
|
dev_agent1: Preparing to unpack .../4-libjq1_1.5+dfsg-2+b1_amd64.deb ...
|
|
dev_agent1: Unpacking libjq1:amd64 (1.5+dfsg-2+b1) ...
|
|
dev_agent1: Selecting previously unselected package jq.
|
|
dev_agent1: Preparing to unpack .../5-jq_1.5+dfsg-2+b1_amd64.deb ...
|
|
dev_agent1: Unpacking jq (1.5+dfsg-2+b1) ...
|
|
dev_agent1: Selecting previously unselected package libxml-treepp-perl.
|
|
dev_agent1: Preparing to unpack .../6-libxml-treepp-perl_0.43-1_all.deb ...
|
|
dev_agent1: Unpacking libxml-treepp-perl (0.43-1) ...
|
|
dev_agent1: Selecting previously unselected package libyaml-0-2:amd64.
|
|
dev_agent1: Preparing to unpack .../7-libyaml-0-2_0.2.1-1_amd64.deb ...
|
|
dev_agent1: Unpacking libyaml-0-2:amd64 (0.2.1-1) ...
|
|
dev_agent1: Selecting previously unselected package net-tools.
|
|
dev_agent1: Preparing to unpack .../8-net-tools_1.60+git20180626.aebd88e-1_amd64.deb ...
|
|
dev_agent1: Unpacking net-tools (1.60+git20180626.aebd88e-1) ...
|
|
dev_agent1: Selecting previously unselected package rudder-agent.
|
|
dev_agent1: Preparing to unpack .../9-rudder-agent_6.2.1~rc1~git202101072215-debian10_amd64.deb ...
|
|
dev_agent1: Unpacking rudder-agent (6.2.1~rc1~git202101072215-debian10) ...
|
|
dev_agent1: Setting up net-tools (1.60+git20180626.aebd88e-1) ...
|
|
dev_agent1: Setting up augeas-lenses (1.11.0-3) ...
|
|
dev_agent1: Setting up libyaml-0-2:amd64 (0.2.1-1) ...
|
|
dev_agent1: Setting up libaugeas0:amd64 (1.11.0-3) ...
|
|
dev_agent1: Setting up libxml-treepp-perl (0.43-1) ...
|
|
dev_agent1: Setting up libonig5:amd64 (6.9.1-1) ...
|
|
dev_agent1: Setting up libjq1:amd64 (1.5+dfsg-2+b1) ...
|
|
dev_agent1: Setting up augeas-tools (1.11.0-3) ...
|
|
dev_agent1: Setting up jq (1.5+dfsg-2+b1) ...
|
|
dev_agent1: Setting up rudder-agent (6.2.1~rc1~git202101072215-debian10) ...
|
|
dev_agent1: Created symlink /etc/systemd/system/multi-user.target.wants/rudder-agent.service → /lib/systemd/system/rudder-agent.service.
|
|
dev_agent1: Created symlink /etc/systemd/system/multi-user.target.wants/rudder-cf-execd.service → /lib/systemd/system/rudder-cf-execd.service.
|
|
dev_agent1: Created symlink /etc/systemd/system/rudder-agent.service.requires/rudder-cf-execd.service → /lib/systemd/system/rudder-cf-execd.service.
|
|
dev_agent1: Created symlink /etc/systemd/system/multi-user.target.wants/rudder-cf-serverd.service → /lib/systemd/system/rudder-cf-serverd.service.
|
|
dev_agent1: Created symlink /etc/systemd/system/rudder-agent.service.wants/rudder-cf
|
|
dev_agent1: Agent is currently in bootstrap policies, cannot run an inventory. Please download initial policies from the server with command "rudder agent update" first. If problem persists, use "rudder agent check" for diagnostic
|
|
dev_agent1: -serverd.service → /lib/systemd/system/rudder-cf-serverd.service.
|
|
dev_agent1: INFO: Scheduling an inventory during next run...
|
|
dev_agent1: INFO: The UUID of the node does not exist and no backup exist. A new one will be generated... Done
|
|
dev_agent1: INFO: Agent keys are missing, creating them ... Done
|
|
dev_agent1: INFO: Agent certificate is missing, creating it... Done
|
|
dev_agent1: INFO: Policies absent, restoring initial version, and updating ... notice: Trusting new key: MD5=a6d58e2d6cd04d205237e7068894b79b
|
|
dev_agent1: error: Connection unexpectedly closed (SSL_read): socket closed
|
|
dev_agent1: error: Connection was hung up while receiving line:
|
|
dev_agent1: error: Connection was hung up during identification! (3)
|
|
dev_agent1: error: No suitable server found
|
|
dev_agent1: error: Connection unexpectedly closed (SSL_read): socket closed
|
|
dev_agent1: error: Connection was hung up while receiving line:
|
|
dev_agent1: error: Connection was hung up during identification! (3)
|
|
dev_agent1: error: No suitable server found
|
|
dev_agent1: R: *********************************************************************************
|
|
dev_agent1: * rudder-agent could not get an its configuration from the policy server. *
|
|
dev_agent1: * This can be caused by: *
|
|
dev_agent1: * * a networking issue *
|
|
dev_agent1: * * an unavailable server *
|
|
dev_agent1: * * if the node's IP in not if the allowed networks of its policy server. *
|
|
dev_agent1: *********************************************************************************
|
|
dev_agent1: error: Rudder agent policies could not be updated.
|
|
dev_agent1: ok: Rudder agent state has been reset.
|
|
dev_agent1: Done
|
|
dev_agent1: INFO: No disable file detected and no agent executor process either. Restarting agent service... Done
|
|
dev_agent1: INFO: Inventory older than 3 days, resending ...Agent is currently in bootstrap policies, cannot run an inventory. Please download initial policies from the server with command "rudder agent update" first. If problem persists, use "rudder agent check" for diagnostic
|
|
dev_agent1: Done
|
|
dev_agent1: FINISH: Rudder agent check ran properly, please look at messages above to see if there has been any error.
|
|
dev_agent1: Processing triggers for man-db (2.8.5-2) ...
|
|
dev_agent1: Processing triggers for libc-bin (2.28-10) ...
|
|
==> dev_agent1: Running action triggers after up ...
|
|
==> dev_agent1: Running trigger...
|
|
Waiting for acceptation of 3f3968e9-799e-4a49-a2c4-22eeef42d1d2
|
|
Waiting 60s for command to return ok on dev_server
|
|
curl --insecure --silent --header \"X-API-Token: \$(cat /var/rudder/run/api-token)\" https://localhost/rudder/api/latest/nodes/3f3968e9-799e-4a49-a2c4-22eeef42d1d2 | grep -q success
|
|
Timeout
|
|
+vagrant ssh dev_server -c "sudo /bin/sh -c 'PATH=\$PATH:/vagrant/scripts LANG=C curl --insecure --silent --header \"X-API-Token: \$(cat /var/rudder/run/api-token)\" --request POST https://localhost/rudder/api/latest/nodes/pending/3f3968e9-799e-4a49-a2c4-22eeef42d1d2 --data \"status=accepted\"'" --
|
|
<html>
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
|
|
<title>Error 404 Not Found</title>
|
|
</head>
|
|
<body><h2>HTTP ERROR 404 Not Found</h2>
|
|
<table>
|
|
<tr><th>URI:</th><td>/rudder/api/latest/nodes/pending/3f3968e9-799e-4a49-a2c4-22eeef42d1d2</td></tr>
|
|
<tr><th>STATUS:</th><td>404</td></tr>
|
|
<tr><th>MESSAGE:</th><td>Not Found</td></tr>
|
|
<tr><th>SERVLET:</th><td>default</td></tr>
|
|
</table>
|
|
<hr><a href="https://eclipse.org/jetty">Powered by Jetty:// 9.4.32.v20200930</a><hr/>
|
|
|
|
</body>
|
|
</html>
|
|
Connection to 127.0.0.1 closed.
|
|
Waiting for 75d6cce4-1b03-4059-95e1-7b54730dc589/share/3f3968e9-799e-4a49-a2c4-22eeef42d1d2 generation
|
|
Waiting 60s for command to return ok on dev_server
|
|
[ -f /var/rudder/share/75d6cce4-1b03-4059-95e1-7b54730dc589/share/3f3968e9-799e-4a49-a2c4-22eeef42d1d2/rules/cfengine-community/rudder_promises_generated ] && [ \"\$(cat /var/rudder/share/75d6cce4-1b03-4059-95e1-7b54730dc589/share/3f3968e9-799e-4a49-a2c4-22eeef42d1d2/rules/cfengine-community/rudder_promises_generated)\" -gt 1610363723317 ]
|
|
Timeout
|
|
Waiting for 75d6cce4-1b03-4059-95e1-7b54730dc589 generation
|
|
Waiting 60s for command to return ok on dev_server
|
|
[ -f /var/rudder/share/75d6cce4-1b03-4059-95e1-7b54730dc589/rules/cfengine-community/rudder_promises_generated ] && [ \"\$(cat /var/rudder/share/75d6cce4-1b03-4059-95e1-7b54730dc589/rules/cfengine-community/rudder_promises_generated)\" -gt 1610363723317 ]
|
|
Timeout
|
|
+vagrant ssh dev_server -c "sudo /bin/sh -c 'PATH=\$PATH:/vagrant/scripts LANG=C rudder agent run -u'" --
|
|
Rudder agent 6.2.1~rc1~git202101072215-debian10
|
|
Node uuid: root
|
|
ok: Rudder agent policies were updated.
|
|
Start execution with config [0]
|
|
|
|
M| State Technique Component Key Message
|
|
E| compliant Common ncf Initialization Configuration library initialization was correct
|
|
E| compliant Common Update Configuration library already up to date on this root server. No action required.
|
|
E| compliant Common Security parameters The internal environment security is acceptable
|
|
E| compliant Common CRON Daemon CRON is correctly running
|
|
E| compliant Common Compute inventory splay Scheduling rudder_run_inventory was correct
|
|
E| compliant Inventory inventory Next inventory scheduled between 00:00 and 06:00
|
|
E| compliant server-roles Check logrotate configur| The logrotate configuration is correct
|
|
E| compliant server-roles Check postgresql process postgresql service running was correct
|
|
E| compliant server-roles Check postgresql boot sc| postgresql service enabled was correct
|
|
E| compliant server-roles Check LDAP in rudder-web| Web interface configuration files (checked LDAP password) was correct
|
|
E| compliant server-roles Check LDAP credentials OpenLDAP configuration file (rootdn password) was correct
|
|
E| compliant server-roles Check rudder-passwords.c| Presence and permissions of Rudder password file was correct
|
|
E| compliant server-roles Check pgpass file Presence and permissions of pgsql password file was correct
|
|
E| compliant server-roles Check SQL in rudder-weba| Web interface configuration files (SQL password) was correct
|
|
E| compliant server-roles Check SQL credentials PostgreSQL user account's already correct.
|
|
E| compliant server-roles Check relayd process relayd service running was correct
|
|
E| compliant server-roles Check relayd boot script relayd service enabled was correct
|
|
E| compliant server-roles Relayd service configura| rudder-relayd configration was correct
|
|
E| compliant server-roles Check allowed networks c| Allowed networks configuration is correct
|
|
E| compliant server-roles Check WebDAV properties Rudder WebDAV properties was correct
|
|
E| repaired server-roles Check WebDAV credentials Apache WebDAV user and password was repaired
|
|
E| compliant server-roles Check apache process apache service running was correct
|
|
E| compliant server-roles Check apache boot script apache service enabled was correct
|
|
E| compliant server-roles Check jetty process jetty service running was correct
|
|
E| compliant server-roles Check jetty boot script jetty service enabled was correct
|
|
E| compliant server-roles Check configuration-repo| The /var/rudder/configuration-repository directory is present
|
|
E| compliant server-roles Check configuration-repo| The /var/rudder/configuration-repository git lock file is not present or not older than 5 minutes
|
|
E| compliant server-roles Check rudder status The http://localhost:8080/rudder/api/status web interface is running
|
|
E| compliant server-roles Check slapd process slapd service running was correct
|
|
E| compliant server-roles Check slapd boot script slapd service enabled was correct
|
|
|
|
## Summary #####################################################################
|
|
30 components verified in 5 directives
|
|
=> 30 components in Enforce mode
|
|
-> 29 compliant
|
|
-> 1 repaired
|
|
Execution time: 2.01s
|
|
################################################################################
|
|
Connection to 127.0.0.1 closed.
|
|
+vagrant ssh dev_relay -c "sudo /bin/sh -c 'PATH=\$PATH:/vagrant/scripts LANG=C rudder agent run -u'" --
|
|
Rudder agent 6.2.1~rc1~git202101072215-debian10
|
|
Node uuid: 75d6cce4-1b03-4059-95e1-7b54730dc589
|
|
error: Failed to establish TLS connection: underlying network error (Connection reset by peer)
|
|
error: No suitable server found
|
|
error: Failed to establish TLS connection: underlying network error ()
|
|
error: No suitable server found
|
|
R: *********************************************************************************
|
|
* rudder-agent could not get an its configuration from the policy server. *
|
|
* This can be caused by: *
|
|
* * a networking issue *
|
|
* * an unavailable server *
|
|
* * if the node's IP in not if the allowed networks of its policy server. *
|
|
*********************************************************************************
|
|
error: Rudder agent policies could not be updated.
|
|
error: Failed to establish TLS connection: underlying network error (Connection reset by peer)
|
|
error: No suitable server found
|
|
error: Failed to establish TLS connection: underlying network error (Connection reset by peer)
|
|
error: No suitable server found
|
|
error Rudder agent was interrupted during execution by a fatal error
|
|
Run with -i to see log messages.
|
|
|
|
## Summary #####################################################################
|
|
0 components verified in 1 directives
|
|
This summary is incomplete as the agent was interrupted during execution
|
|
Execution time: 0.07s
|
|
################################################################################
|
|
Connection to 127.0.0.1 closed.
|
|
+vagrant ssh dev_agent1 -c "sudo /bin/sh -c 'PATH=\$PATH:/vagrant/scripts LANG=C rudder agent run -ui'" --
|
|
Rudder agent 6.2.1~rc1~git202101072215-debian10
|
|
Node uuid: 3f3968e9-799e-4a49-a2c4-22eeef42d1d2
|
|
error: Connection unexpectedly closed (SSL_read): socket closed
|
|
error: Connection was hung up while receiving line:
|
|
error: Connection was hung up during identification! (3)
|
|
error: No suitable server found
|
|
error: Connection unexpectedly closed (SSL_read): socket closed
|
|
error: Connection was hung up while receiving line:
|
|
error: Connection was hung up during identification! (3)
|
|
error: No suitable server found
|
|
R: *********************************************************************************
|
|
* rudder-agent could not get an its configuration from the policy server. *
|
|
* This can be caused by: *
|
|
* * a networking issue *
|
|
* * an unavailable server *
|
|
* * if the node's IP in not if the allowed networks of its policy server. *
|
|
*********************************************************************************
|
|
error: Rudder agent policies could not be updated.
|
|
error: Connection unexpectedly closed (SSL_read): socket closed
|
|
error: Connection was hung up while receiving line:
|
|
error: Connection was hung up during identification! (3)
|
|
rudder info: Unable to establish connection to 'relay'
|
|
error: No suitable server found
|
|
rudder info: Promise belongs to bundle 'update' in file '/var/rudder/cfengine-community/inputs/promises.cf' near line 94
|
|
error: Connection unexpectedly closed (SSL_read): socket closed
|
|
error: Connection was hung up while receiving line:
|
|
error: Connection was hung up during identification! (3)
|
|
rudder info: Unable to establish connection to 'relay'
|
|
error: No suitable server found
|
|
rudder info: Promise belongs to bundle 'update' in file '/var/rudder/cfengine-community/inputs/promises.cf' near line 102
|
|
R: *********************************************************************************
|
|
* rudder-agent could not get an its configuration from the policy server. *
|
|
* This can be caused by: *
|
|
* * a networking issue *
|
|
* * an unavailable server *
|
|
* * if the node's IP in not if the allowed networks of its policy server. *
|
|
*********************************************************************************
|
|
error Rudder agent was interrupted during execution by a fatal error
|
|
|
|
## Summary #####################################################################
|
|
0 components verified in 1 directives
|
|
This summary is incomplete as the agent was interrupted during execution
|
|
Execution time: 0.20s
|
|
################################################################################
|
|
Connection to 127.0.0.1 closed.
|
|
Bringing machine 'dev_agent2' up with 'virtualbox' provider...
|
|
==> dev_agent2: Importing base box 'normation/debian-6-64'...
|
|
==> dev_agent2: Matching MAC address for NAT networking...
|
|
==> dev_agent2: Checking if box 'normation/debian-6-64' version '1.0' is up to date...
|
|
==> dev_agent2: A newer version of the box 'normation/debian-6-64' for provider 'virtualbox' is
|
|
==> dev_agent2: available! You currently have version '1.0'. The latest is version
|
|
==> dev_agent2: '2.0'. Run `vagrant box update` to update.
|
|
==> dev_agent2: Setting the name of the VM: dev_agent2
|
|
==> dev_agent2: Fixed port collision for 22 => 2222. Now on port 2202.
|
|
==> dev_agent2: Clearing any previously set network interfaces...
|
|
==> dev_agent2: Preparing network interfaces based on configuration...
|
|
dev_agent2: Adapter 1: nat
|
|
dev_agent2: Adapter 2: hostonly
|
|
==> dev_agent2: Forwarding ports...
|
|
dev_agent2: 22 (guest) => 2202 (host) (adapter 1)
|
|
==> dev_agent2: Running 'pre-boot' VM customizations...
|
|
==> dev_agent2: Booting VM...
|
|
==> dev_agent2: Waiting for machine to boot. This may take a few minutes...
|
|
dev_agent2: SSH address: 127.0.0.1:2202
|
|
dev_agent2: SSH username: vagrant
|
|
dev_agent2: SSH auth method: private key
|
|
dev_agent2:
|
|
dev_agent2: Vagrant insecure key detected. Vagrant will automatically replace
|
|
dev_agent2: this with a newly generated keypair for better security.
|
|
dev_agent2:
|
|
dev_agent2: Inserting generated public key within guest...
|
|
dev_agent2: Removing insecure key from the guest if it's present...
|
|
dev_agent2: Key inserted! Disconnecting and reconnecting using new SSH key...
|
|
==> dev_agent2: Machine booted and ready!
|
|
==> dev_agent2: Checking for guest additions in VM...
|
|
dev_agent2: The guest additions on this VM do not match the installed version of
|
|
dev_agent2: VirtualBox! In most cases this is fine, but in rare cases it can
|
|
dev_agent2: prevent things such as shared folders from working properly. If you see
|
|
dev_agent2: shared folder errors, please make sure the guest additions within the
|
|
dev_agent2: virtual machine match the version of VirtualBox you have installed on
|
|
dev_agent2: your host and reload your VM.
|
|
dev_agent2:
|
|
dev_agent2: Guest Additions Version: 5.1.26
|
|
dev_agent2: VirtualBox Version: 6.0
|
|
==> dev_agent2: Setting hostname...
|
|
==> dev_agent2: Configuring and enabling network interfaces...
|
|
==> dev_agent2: Rsyncing folder: /home/elaad/rudder-tests/scripts/ => /vagrant/scripts
|
|
==> dev_agent2: Running provisioner: shell...
|
|
dev_agent2: Running: inline script
|
|
dev_agent2: ++ echo dev_agent2
|
|
dev_agent2: ++ echo 'Starting VM setup'
|
|
dev_agent2: Starting VM setup
|
|
dev_agent2: ++ /vagrant/scripts/cleanbox.sh /vagrant
|
|
dev_agent2: apt-get is /usr/bin/apt-get
|
|
dev_agent2: Reading package lists...
|
|
dev_agent2: Building dependency tree...
|
|
dev_agent2: Reading state information...
|
|
dev_agent2: The following NEW packages will be installed:
|
|
dev_agent2: tmux
|
|
dev_agent2: 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
|
|
dev_agent2: Need to get 225 kB of archives.
|
|
dev_agent2: After this operation, 508 kB of additional disk space will be used.
|
|
dev_agent2: Get:1 http://archive.debian.org/debian/ squeeze/main tmux amd64 1.3-2+squeeze1 [225 kB]
|
|
dev_agent2: Fetched 225 kB in 0s (650 kB/s)
|
|
dev_agent2: Selecting previously deselected package tmux.
|
|
dev_agent2: (Reading database ...
|
|
dev_agent2: 26194 files and directories currently installed.)
|
|
dev_agent2: Unpacking tmux (from .../tmux_1.3-2+squeeze1_amd64.deb) ...
|
|
dev_agent2: Processing triggers for man-db ...
|
|
dev_agent2: Setting up tmux (1.3-2+squeeze1) ...
|
|
dev_agent2: ++ /vagrant/scripts/network.sh 192.168.2 2 'server relay agent1 agent2'
|
|
dev_agent2: ++ set +x
|
|
dev_agent2: ++ head -n 1G
|
|
dev_agent2: ++ PLUGINS_VERSION=
|
|
dev_agent2: ++ FORGET_CREDENTIALS=
|
|
dev_agent2: ++ DISABLE_AUTODETECT_NETWORKS=yes
|
|
dev_agent2: ++ ALLOWEDNETWORK=192.168.2.0/24
|
|
dev_agent2: ++ UNSUPPORTED=
|
|
dev_agent2: ++ ADMIN_PASSWORD=admin
|
|
dev_agent2: ++ REPO_PREFIX=rtf/
|
|
dev_agent2: ++ /usr/local/bin/rudder-setup setup-agent 6.2-nightly server
|
|
dev_agent2: W
|
|
dev_agent2: :
|
|
dev_agent2: GPG error: http://archive.debian.org squeeze Release: The following signatures were invalid: KEYEXPIRED 1520281423 KEYEXPIRED 1501892461
|
|
dev_agent2: INFO: Scheduling an inventory during next run...
|
|
dev_agent2: INFO: The UUID of the node does not exist and no backup exist. A new one will be generated...
|
|
dev_agent2: Done
|
|
dev_agent2: INFO: Agent keys are missing, creating them ...
|
|
dev_agent2: Done
|
|
dev_agent2: INFO: Agent certificate is missing, creating it...
|
|
dev_agent2: Done
|
|
dev_agent2: INFO: Policies absent, restoring initial version, and updating ...
|
|
dev_agent2: error: Failed to establish TLS connection: underlying network error (Connection reset by peer)
|
|
dev_agent2: error: No suitable server found
|
|
dev_agent2: error: Failed to establish TLS connection: underlying network error (Connection reset by peer)
|
|
dev_agent2: error: No suitable server found
|
|
dev_agent2: R: *********************************************************************************
|
|
dev_agent2: * rudder-agent could not get an its configuration from the policy server. *
|
|
dev_agent2: * This can be caused by: *
|
|
dev_agent2: * * a networking issue *
|
|
dev_agent2: * * an unavailable server *
|
|
dev_agent2: * * if the node's IP in not if the allowed networks of its policy server. *
|
|
dev_agent2: *********************************************************************************
|
|
dev_agent2: error: Rudder agent policies could not be updated.
|
|
dev_agent2: ok: Rudder agent state has been reset.
|
|
dev_agent2: Done
|
|
dev_agent2: INFO: No disable file detected and no agent executor process either. Restarting agent service...
|
|
dev_agent2: rudder-agent: [INFO] Using /var/rudder/cfengine-community for CFEngine workdir
|
|
dev_agent2: rudder-agent: [INFO] Halting CFEngine Community cf-serverd...
|
|
dev_agent2: rudder-agent: [INFO] can't read PID file, not stopping cf-serverd
|
|
dev_agent2: rudder-agent: [INFO] Halting CFEngine Community cf-execd...
|
|
dev_agent2: rudder-agent: [INFO] can't read PID file, not stopping cf-execd
|
|
dev_agent2: rudder-agent: [INFO] Found no CFEngine Community cf-serverd processes running
|
|
dev_agent2: rudder-agent: [INFO] Found no CFEngine Community cf-execd processes running
|
|
dev_agent2: rudder-agent: [INFO] Using /var/rudder/cfengine-community for CFEngine workdir
|
|
dev_agent2: rudder agent check is already running
|
|
dev_agent2: rudder-agent: [INFO] Launching CFEngine Community cf-serverd...
|
|
dev_agent2: rudder-agent: [OK] CFEngine Community cf-serverd started after 1 seconds
|
|
dev_agent2: rudder-agent: [INFO] Launching CFEngine Community cf-execd...
|
|
dev_agent2: rudder-agent: [OK] CFEngine Community cf-execd started after 1 seconds
|
|
dev_agent2: Done
|
|
dev_agent2: INFO: Inventory older than 3 days, resending ...
|
|
dev_agent2: Agent is currently in bootstrap policies, cannot run an inventory. Please download initial policies from the server with command "rudder agent update" first. If problem persists, use "rudder agent check" for diagnostic
|
|
dev_agent2: Done
|
|
dev_agent2: FINISH: Rudder agent check ran properly, please look at messages above to see if there has been any error.
|
|
dev_agent2: Agent is currently in bootstrap policies, cannot run an inventory. Please download initial policies from the server with command "rudder agent update" first. If problem persists, use "rudder agent check" for diagnostic
|
|
dev_agent2: Reading package lists...
|
|
dev_agent2: Building dependency tree...
|
|
dev_agent2: Reading state information...
|
|
dev_agent2: apt-transport-https is already the newest version.
|
|
dev_agent2: 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
|
|
dev_agent2: OK
|
|
dev_agent2: Hit http://archive.debian.org squeeze Release.gpg
|
|
dev_agent2: Ign http://archive.debian.org/debian/ squeeze/main Translation-en
|
|
dev_agent2: Ign http://archive.debian.org/debian/ squeeze/main Translation-en_US
|
|
dev_agent2: Hit http://archive.debian.org squeeze Release
|
|
dev_agent2: Ign http://archive.debian.org squeeze Release
|
|
dev_agent2: Ign http://archive.debian.org squeeze/main Sources/DiffIndex
|
|
dev_agent2: Ign http://archive.debian.org squeeze/main amd64 Packages/DiffIndex
|
|
dev_agent2: Hit http://archive.debian.org squeeze/main Sources
|
|
dev_agent2: Get:1 https://download.rudder.io squeeze Release.gpg [801 B]
|
|
dev_agent2: Hit http://archive.debian.org squeeze/main amd64 Packages
|
|
dev_agent2: Ign https://download.rudder.io/rtf/apt/6.2-nightly/ squeeze/main Translation-en
|
|
dev_agent2: Ign https://download.rudder.io/rtf/apt/6.2-nightly/ squeeze/main Translation-en_US
|
|
dev_agent2: Get:2 https://download.rudder.io squeeze Release [8,502 B]
|
|
dev_agent2: Get:3 https://download.rudder.io squeeze/main amd64 Packages [860 B]
|
|
dev_agent2: Fetched 10.2 kB in 0s (16.2 kB/s)
|
|
dev_agent2: Reading package lists...
|
|
dev_agent2: Reading package lists...
|
|
dev_agent2: Building dependency tree...
|
|
dev_agent2: Reading state information...
|
|
dev_agent2: The following extra packages will be installed:
|
|
dev_agent2: libxml-treepp-perl libyaml-0-2
|
|
dev_agent2: The following NEW packages will be installed:
|
|
dev_agent2: libxml-treepp-perl libyaml-0-2 rudder-agent
|
|
dev_agent2: 0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
|
|
dev_agent2: Need to get 12.2 MB of archives.
|
|
dev_agent2: After this operation, 54.3 MB of additional disk space will be used.
|
|
dev_agent2: WARNING: The following packages cannot be authenticated!
|
|
dev_agent2: libxml-treepp-perl libyaml-0-2 rudder-agent
|
|
dev_agent2: Authentication warning overridden.
|
|
dev_agent2: Get:1 http://archive.debian.org/debian/ squeeze/main libxml-treepp-perl all 0.39-1 [26.1 kB]
|
|
dev_agent2: Get:2 http://archive.debian.org/debian/ squeeze/main libyaml-0-2 amd64 0.1.3-1+deb6u4 [55.6 kB]
|
|
dev_agent2: Get:3 https://download.rudder.io/rtf/apt/6.2-nightly/ squeeze/main rudder-agent amd64 6.2.1~rc1~git202101070231-debian6 [12.2 MB]
|
|
dev_agent2: Preconfiguring packages ...
|
|
dev_agent2: Fetched 12.2 MB in 7s (1,701 kB/s)
|
|
dev_agent2: Selecting previously deselected package libxml-treepp-perl.
|
|
dev_agent2: (Reading database ... 26213 files and directories currently installed.)
|
|
dev_agent2: Unpacking libxml-treepp-perl (from .../libxml-treepp-perl_0.39-1_all.deb) ...
|
|
dev_agent2: Selecting previously deselected package libyaml-0-2.
|
|
dev_agent2: Unpacking libyaml-0-2 (from .../libyaml-0-2_0.1.3-1+deb6u4_amd64.deb) ...
|
|
dev_agent2: Selecting previously deselected package rudder-agent.
|
|
dev_agent2: Unpacking rudder-agent (from .../rudder-agent_6.2.1~rc1~git202101070231-debian6_amd64.deb) ...
|
|
dev_agent2: Processing triggers for man-db ...
|
|
dev_agent2: Setting up libxml-treepp-perl (0.39-1) ...
|
|
dev_agent2: Setting up libyaml-0-2 (0.1.3-1+deb6u4) ...
|
|
dev_agent2: Setting up rudder-agent (6.2.1~rc1~git202101070231-debian6) ...
|
|
==> dev_agent2: Running action triggers after up ...
|
|
==> dev_agent2: Running trigger...
|
|
Waiting for acceptation of 3aba45aa-9f55-4da4-b167-7f6c04575f98
|
|
Waiting 60s for command to return ok on dev_server
|
|
curl --insecure --silent --header \"X-API-Token: \$(cat /var/rudder/run/api-token)\" https://localhost/rudder/api/latest/nodes/3aba45aa-9f55-4da4-b167-7f6c04575f98 | grep -q success
|
|
Timeout
|
|
+vagrant ssh dev_server -c "sudo /bin/sh -c 'PATH=\$PATH:/vagrant/scripts LANG=C curl --insecure --silent --header \"X-API-Token: \$(cat /var/rudder/run/api-token)\" --request POST https://localhost/rudder/api/latest/nodes/pending/3aba45aa-9f55-4da4-b167-7f6c04575f98 --data \"status=accepted\"'" --
|
|
<html>
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
|
|
<title>Error 404 Not Found</title>
|
|
</head>
|
|
<body><h2>HTTP ERROR 404 Not Found</h2>
|
|
<table>
|
|
<tr><th>URI:</th><td>/rudder/api/latest/nodes/pending/3aba45aa-9f55-4da4-b167-7f6c04575f98</td></tr>
|
|
<tr><th>STATUS:</th><td>404</td></tr>
|
|
<tr><th>MESSAGE:</th><td>Not Found</td></tr>
|
|
<tr><th>SERVLET:</th><td>default</td></tr>
|
|
</table>
|
|
<hr><a href="https://eclipse.org/jetty">Powered by Jetty:// 9.4.32.v20200930</a><hr/>
|
|
|
|
</body>
|
|
</html>
|
|
Connection to 127.0.0.1 closed.
|
|
Waiting for 3aba45aa-9f55-4da4-b167-7f6c04575f98 generation
|
|
Waiting 60s for command to return ok on dev_server
|
|
[ -f /var/rudder/share/3aba45aa-9f55-4da4-b167-7f6c04575f98/rules/cfengine-community/rudder_promises_generated ] && [ \"\$(cat /var/rudder/share/3aba45aa-9f55-4da4-b167-7f6c04575f98/rules/cfengine-community/rudder_promises_generated)\" -gt 1610364569208 ]
|
|
Timeout
|
|
+vagrant ssh dev_server -c "sudo /bin/sh -c 'PATH=\$PATH:/vagrant/scripts LANG=C rudder agent run -u'" --
|
|
Rudder agent 6.2.1~rc1~git202101072215-debian10
|
|
Node uuid: root
|
|
ok: Rudder agent policies were updated.
|
|
Start execution with config [0]
|
|
|
|
M| State Technique Component Key Message
|
|
E| compliant Common ncf Initialization Configuration library initialization was correct
|
|
E| compliant Common Update Configuration library already up to date on this root server. No action required.
|
|
E| compliant Common Security parameters The internal environment security is acceptable
|
|
E| compliant Common CRON Daemon CRON is correctly running
|
|
E| compliant Common Compute inventory splay Scheduling rudder_run_inventory was correct
|
|
E| compliant Inventory inventory Next inventory scheduled between 00:00 and 06:00
|
|
E| compliant server-roles Check logrotate configur| The logrotate configuration is correct
|
|
E| compliant server-roles Check postgresql process postgresql service running was correct
|
|
E| compliant server-roles Check postgresql boot sc| postgresql service enabled was correct
|
|
E| compliant server-roles Check LDAP in rudder-web| Web interface configuration files (checked LDAP password) was correct
|
|
E| compliant server-roles Check LDAP credentials OpenLDAP configuration file (rootdn password) was correct
|
|
E| compliant server-roles Check rudder-passwords.c| Presence and permissions of Rudder password file was correct
|
|
E| compliant server-roles Check pgpass file Presence and permissions of pgsql password file was correct
|
|
E| compliant server-roles Check SQL in rudder-weba| Web interface configuration files (SQL password) was correct
|
|
E| compliant server-roles Check SQL credentials PostgreSQL user account's already correct.
|
|
E| compliant server-roles Check relayd process relayd service running was correct
|
|
E| compliant server-roles Check relayd boot script relayd service enabled was correct
|
|
E| compliant server-roles Relayd service configura| rudder-relayd configration was correct
|
|
E| compliant server-roles Check allowed networks c| Allowed networks configuration is correct
|
|
E| compliant server-roles Check WebDAV properties Rudder WebDAV properties was correct
|
|
E| repaired server-roles Check WebDAV credentials Apache WebDAV user and password was repaired
|
|
E| compliant server-roles Check apache process apache service running was correct
|
|
E| compliant server-roles Check apache boot script apache service enabled was correct
|
|
E| compliant server-roles Check jetty process jetty service running was correct
|
|
E| compliant server-roles Check jetty boot script jetty service enabled was correct
|
|
E| compliant server-roles Check configuration-repo| The /var/rudder/configuration-repository directory is present
|
|
E| compliant server-roles Check configuration-repo| The /var/rudder/configuration-repository git lock file is not present or not older than 5 minutes
|
|
E| compliant server-roles Check rudder status The http://localhost:8080/rudder/api/status web interface is running
|
|
E| compliant server-roles Check slapd process slapd service running was correct
|
|
E| compliant server-roles Check slapd boot script slapd service enabled was correct
|
|
|
|
## Summary #####################################################################
|
|
30 components verified in 5 directives
|
|
=> 30 components in Enforce mode
|
|
-> 29 compliant
|
|
-> 1 repaired
|
|
Execution time: 2.00s
|
|
################################################################################
|
|
Connection to 127.0.0.1 closed.
|
|
+vagrant ssh dev_agent2 -c "sudo /bin/sh -c 'PATH=\$PATH:/vagrant/scripts LANG=C rudder agent run -ui'" --
|
|
Rudder agent 6.2.1~rc1~git202101070231-debian6
|
|
Node uuid: 3aba45aa-9f55-4da4-b167-7f6c04575f98
|
|
error: Failed to establish TLS connection: underlying network error ()
|
|
error: No suitable server found
|
|
error: Failed to establish TLS connection: underlying network error (Connection reset by peer)
|
|
error: No suitable server found
|
|
R: *********************************************************************************
|
|
* rudder-agent could not get an its configuration from the policy server. *
|
|
* This can be caused by: *
|
|
* * a networking issue *
|
|
* * an unavailable server *
|
|
* * if the node's IP in not if the allowed networks of its policy server. *
|
|
*********************************************************************************
|
|
error: Rudder agent policies could not be updated.
|
|
error: Failed to establish TLS connection: underlying network error (Connection reset by peer)
|
|
rudder info: Unable to establish connection to 'server'
|
|
error: No suitable server found
|
|
rudder info: Promise belongs to bundle 'update' in file '/var/rudder/cfengine-community/inputs/promises.cf' near line 94
|
|
error: Failed to establish TLS connection: underlying network error (Connection reset by peer)
|
|
rudder info: Unable to establish connection to 'server'
|
|
error: No suitable server found
|
|
rudder info: Promise belongs to bundle 'update' in file '/var/rudder/cfengine-community/inputs/promises.cf' near line 102
|
|
R: *********************************************************************************
|
|
* rudder-agent could not get an its configuration from the policy server. *
|
|
* This can be caused by: *
|
|
* * a networking issue *
|
|
* * an unavailable server *
|
|
* * if the node's IP in not if the allowed networks of its policy server. *
|
|
*********************************************************************************
|
|
error Rudder agent was interrupted during execution by a fatal error
|
|
|
|
## Summary #####################################################################
|
|
0 components verified in 1 directives
|
|
This summary is incomplete as the agent was interrupted during execution
|
|
Execution time: 0.02s
|
|
################################################################################
|