Page MenuHomeSoftware Heritage
Paste P573

swh-web deployment on moma
ActivePublic

Authored by anlambert on Dec 13 2019, 3:56 PM.
Notice: /Stage[main]/Profile::Swh::Deploy::Webapp/Gunicorn::Instance[swh-webapp]/File[/etc/gunicorn/instances/swh-webapp.cfg]/content:
--- /etc/gunicorn/instances/swh-webapp.cfg 2018-03-06 18:52:38.179007424 +0000
+++ /tmp/puppet-file20191213-2435-qv2yh7 2019-12-13 14:53:05.846920036 +0000
@@ -1,6 +1,13 @@
# Gunicorn instance configuration.
# Managed by puppet (class gunicorn::instance swh-webapp); changes will be lost
+# import all settings from the base module
+try:
+ from swh.web.gunicorn_config import *
+except:
+ import logging
+ logging.exception('Failed to import configuration from swh.web.gunicorn_config')
+
import traceback
import gunicorn.glogging
Notice: /Stage[main]/Profile::Swh::Deploy::Webapp/Gunicorn::Instance[swh-webapp]/File[/etc/gunicorn/instances/swh-webapp.cfg]/content: current_value '{md5}1238f611269f48a1f5e442909d4ff8bf', should be '{md5}7c8c0987db905b91628386c2c2f8c84e' (noop)
Info: /Stage[main]/Profile::Swh::Deploy::Webapp/Gunicorn::Instance[swh-webapp]/File[/etc/gunicorn/instances/swh-webapp.cfg]: Scheduling refresh of Service[gunicorn-swh-webapp]
Notice: /Stage[main]/Profile::Swh::Deploy::Deposit/Gunicorn::Instance[swh-deposit]/File[/etc/gunicorn/instances/swh-deposit.cfg]/content:
--- /etc/gunicorn/instances/swh-deposit.cfg 2018-08-27 15:26:22.025336181 +0000
+++ /tmp/puppet-file20191213-2435-wocoyc 2019-12-13 14:53:05.914922944 +0000
@@ -1,6 +1,7 @@
# Gunicorn instance configuration.
# Managed by puppet (class gunicorn::instance swh-deposit); changes will be lost
+
import traceback
import gunicorn.glogging
Notice: /Stage[main]/Profile::Swh::Deploy::Deposit/Gunicorn::Instance[swh-deposit]/File[/etc/gunicorn/instances/swh-deposit.cfg]/content: current_value '{md5}254ad3cfabff820c89992046758ac043', should be '{md5}32916606ce0c5c9583a7f4c6a38bc396' (noop)
Info: /Stage[main]/Profile::Swh::Deploy::Deposit/Gunicorn::Instance[swh-deposit]/File[/etc/gunicorn/instances/swh-deposit.cfg]: Scheduling refresh of Service[gunicorn-swh-deposit]
Notice: /Stage[main]/Profile::Base/Package[zstd]/ensure: current_value 'purged', should be 'present' (noop)
Notice: /Stage[main]/Profile::Munin::Node/Package[munin-plugins-core]/ensure: current_value 'absent', should be 'purged' (noop)
Notice: /Stage[main]/Profile::Munin::Node/Package[munin-plugins-extra]/ensure: current_value 'absent', should be 'purged' (noop)
Notice: /Stage[main]/Profile::Munin::Node/File[/var/lib/munin-node]/ensure: current_value 'directory', should be 'absent' (noop)
Notice: /Stage[main]/Profile::Munin::Node/File[/var/lib/munin-node/plugin-state]/ensure: current_value 'directory', should be 'absent' (noop)
Notice: /Stage[main]/Profile::Munin::Node/File[/var/lib/munin-node/plugin-state/munin]/ensure: current_value 'directory', should be 'absent' (noop)
Notice: /Stage[main]/Profile::Munin::Node/File[/var/lib/munin-node/plugin-state/nobody]/ensure: current_value 'directory', should be 'absent' (noop)
Notice: /Stage[main]/Profile::Munin::Node/File[/var/lib/munin-node/plugin-state/nobody/diskstats-192.168.100.20]/ensure: current_value 'file', should be 'absent' (noop)
Notice: /Stage[main]/Profile::Munin::Node/File[/var/lib/munin-node/plugin-state/nobody/diskstats-192.168.100.29]/ensure: current_value 'file', should be 'absent' (noop)
Notice: /Stage[main]/Profile::Munin::Node/File[/var/lib/munin-node/plugin-state/nobody/diskstats-::ffff:192.168.100.29]/ensure: current_value 'file', should be 'absent' (noop)
Notice: /Stage[main]/Profile::Munin::Node/File[/var/lib/munin-node/plugin-state/nobody/exim_mailstats-::ffff:192.168.100.29]/ensure: current_value 'file', should be 'absent' (noop)
Notice: /Stage[main]/Profile::Munin::Node/File[/var/lib/munin-node/plugin-state/nobody/plugin-apt.state]/ensure: current_value 'file', should be 'absent' (noop)
Notice: /Stage[main]/Profile::Munin::Node/File[/var/lib/munin-node/plugin-state/nobody/postfix_mailvolume-192.168.100.20]/ensure: current_value 'file', should be 'absent' (noop)
Notice: /Stage[main]/Profile::Munin::Node/File[/var/lib/munin-node/plugin-state/nobody/postfix_mailvolume-192.168.100.29]/ensure: current_value 'file', should be 'absent' (noop)
Notice: /Stage[main]/Profile::Munin::Node/File[/var/lib/munin-node/plugin-state/nobody/postfix_mailvolume-::ffff:192.168.100.29]/ensure: current_value 'file', should be 'absent' (noop)
Notice: /Stage[main]/Profile::Munin::Node/File[/var/lib/munin-node/plugin-state/postfix]/ensure: current_value 'directory', should be 'absent' (noop)
Notice: /Stage[main]/Profile::Munin::Node/File[/var/lib/munin-node/plugin-state/root]/ensure: current_value 'directory', should be 'absent' (noop)
Notice: /Stage[main]/Profile::Munin::Node/File[/var/lib/munin-node/plugin-state/root/plugin-apt.state]/ensure: current_value 'file', should be 'absent' (noop)
Notice: /var/lib/munin-node: Would have triggered 'refresh' from 15 events
Notice: /Stage[main]/Profile::Munin::Node/File[/var/cache/munin]/ensure: current_value 'directory', should be 'absent' (noop)
Notice: /Stage[main]/Profile::Munin::Node/File[/var/cache/munin/www]/ensure: current_value 'directory', should be 'absent' (noop)
Notice: /var/cache/munin: Would have triggered 'refresh' from 2 events
Notice: Class[Profile::Munin::Node]: Would have triggered 'refresh' from 4 events
Notice: Class[Profile::Base]: Would have triggered 'refresh' from 1 event
Notice: /Stage[main]/Profile::Swh::Deploy::Webapp/Profile::Swh::Deploy::Install_web_deps[swh-web]/Package[python3-swh.web]/ensure: current_value '0.0.221-1~swh1~bpo10+1', should be '0.0.223-1~swh1~bpo10+1' (noop)
Info: /Stage[main]/Profile::Swh::Deploy::Webapp/Profile::Swh::Deploy::Install_web_deps[swh-web]/Package[python3-swh.web]: Scheduling refresh of Service[gunicorn-swh-webapp]
Notice: Profile::Swh::Deploy::Install_web_deps[swh-web]: Would have triggered 'refresh' from 1 event
Notice: /Stage[main]/Profile::Swh::Deploy::Webapp/Gunicorn::Instance[swh-webapp]/Service[gunicorn-swh-webapp]: Would have triggered 'refresh' from 2 events
Notice: Gunicorn::Instance[swh-webapp]: Would have triggered 'refresh' from 2 events
Notice: /Stage[main]/Profile::Swh::Deploy::Deposit/Gunicorn::Instance[swh-deposit]/Service[gunicorn-swh-deposit]: Would have triggered 'refresh' from 1 event
Notice: Gunicorn::Instance[swh-deposit]: Would have triggered 'refresh' from 2 events
Notice: /Stage[main]/Profile::Swh::Deploy::Storage/Profile::Swh::Deploy::Rpc_server[storage]/Gunicorn::Instance[swh-storage]/File[/etc/gunicorn/instances/swh-storage.cfg]/content:
--- /etc/gunicorn/instances/swh-storage.cfg 2019-03-28 16:53:49.662685962 +0000
+++ /tmp/puppet-file20191213-2435-8h3o2k 2019-12-13 14:53:10.291110093 +0000
@@ -1,6 +1,13 @@
# Gunicorn instance configuration.
# Managed by puppet (class gunicorn::instance swh-storage); changes will be lost
+# import all settings from the base module
+try:
+ from swh.core.api.gunicorn_config import *
+except:
+ import logging
+ logging.exception('Failed to import configuration from swh.core.api.gunicorn_config')
+
import traceback
import gunicorn.glogging
Notice: /Stage[main]/Profile::Swh::Deploy::Storage/Profile::Swh::Deploy::Rpc_server[storage]/Gunicorn::Instance[swh-storage]/File[/etc/gunicorn/instances/swh-storage.cfg]/content: current_value '{md5}bb5235c2cc4ec7f69f4bbd4cb2bca2a4', should be '{md5}e0079c8b08fe0aa8dc23bcfaf7d3eb28' (noop)
Info: /Stage[main]/Profile::Swh::Deploy::Storage/Profile::Swh::Deploy::Rpc_server[storage]/Gunicorn::Instance[swh-storage]/File[/etc/gunicorn/instances/swh-storage.cfg]: Scheduling refresh of Service[gunicorn-swh-storage]
Notice: Class[Profile::Swh::Deploy::Webapp]: Would have triggered 'refresh' from 2 events
Notice: Class[Profile::Swh::Deploy::Deposit]: Would have triggered 'refresh' from 1 event
Notice: /Stage[main]/Profile::Swh::Deploy::Storage/Profile::Swh::Deploy::Rpc_server[storage]/Gunicorn::Instance[swh-storage]/Service[gunicorn-swh-storage]: Would have triggered 'refresh' from 1 event
Notice: Gunicorn::Instance[swh-storage]: Would have triggered 'refresh' from 2 events
Notice: Profile::Swh::Deploy::Rpc_server[storage]: Would have triggered 'refresh' from 1 event
Notice: Class[Profile::Swh::Deploy::Storage]: Would have triggered 'refresh' from 1 event
Notice: Stage[main]: Would have triggered 'refresh' from 5 events
Notice: Applied catalog in 11.62 seconds
Connection to moma.internal.softwareheritage.org closed.
*** swh-deploy: test run ok.
*** swh-deploy: does the above diff for moma.internal.softwareheritage.org look good? [y/n/q] n
*** swh-deploy: skipping deployment on moma.internal.softwareheritage.org, as requested.