Page MenuHomeSoftware Heritage
Paste P367

swh-web 0.0.184 deployment on moma
ActivePublic

Authored by anlambert on Mar 4 2019, 3:28 PM.
*** swh-deploy: starting test run on moma.internal.softwareheritage.org...
Info: Using configured environment 'production'
Info: Retrieving pluginfacts
Info: Retrieving plugin
Info: Loading facts
Info: Applying configuration version '1551709343'
Notice: /Stage[main]/Profile::Prometheus::Base/File[/etc/prometheus]/ensure: current_value absent, should be directory (noop)
Notice: Class[Profile::Prometheus::Base]: Would have triggered 'refresh' from 1 events
Notice: /Stage[main]/Profile::Prometheus::Statsd/Systemd::Dropin_file[prometheus-statsd-exporter/restart.conf]/File[/etc/systemd/system/prometheus-statsd-exporter.service.d]/ensure: current_value absent, should be directory (noop)
Notice: /Stage[main]/Profile::Prometheus::Statsd/Systemd::Dropin_file[prometheus-statsd-exporter/restart.conf]/File[/etc/systemd/system/prometheus-statsd-exporter.service.d/restart.conf]/ensure: current_value absent, should be file (noop)
Info: /Stage[main]/Profile::Prometheus::Statsd/Systemd::Dropin_file[prometheus-statsd-exporter/restart.conf]/File[/etc/systemd/system/prometheus-statsd-exporter.service.d/restart.conf]: Scheduling refresh of Class[Systemd::Systemctl::Daemon_reload]
Notice: Systemd::Dropin_file[prometheus-statsd-exporter/restart.conf]: Would have triggered 'refresh' from 2 events
Notice: /Stage[main]/Profile::Prometheus::Statsd/Package[prometheus-statsd-exporter]/ensure: current_value purged, should be present (noop)
Info: /Stage[main]/Profile::Prometheus::Statsd/Package[prometheus-statsd-exporter]: Scheduling refresh of Service[prometheus-statsd-exporter]
Notice: /Stage[main]/Profile::Prometheus::Statsd/File[/etc/default/prometheus-statsd-exporter]/ensure: current_value absent, should be present (noop)
Info: /Stage[main]/Profile::Prometheus::Statsd/File[/etc/default/prometheus-statsd-exporter]: Scheduling refresh of Service[prometheus-statsd-exporter]
Notice: /Stage[main]/Profile::Prometheus::Statsd/File[/etc/prometheus/statsd_exporter_mapping.yml]/ensure: current_value absent, should be present (noop)
Info: /Stage[main]/Profile::Prometheus::Statsd/File[/etc/prometheus/statsd_exporter_mapping.yml]: Scheduling refresh of Service[prometheus-statsd-exporter]
Notice: /Stage[main]/Profile::Prometheus::Statsd/Service[prometheus-statsd-exporter]/ensure: current_value stopped, should be running (noop)
Info: /Stage[main]/Profile::Prometheus::Statsd/Service[prometheus-statsd-exporter]: Unscheduling refresh on Service[prometheus-statsd-exporter]
Notice: Class[Profile::Prometheus::Statsd]: Would have triggered 'refresh' from 5 events
Notice: /Stage[main]/Profile::Swh::Deploy::Webapp/Package[python3-swh.web]/ensure: current_value 0.0.181-1~swh1~bpo9+1, should be 0.0.184-1~swh1~bpo9+1 (noop)
Info: /Stage[main]/Profile::Swh::Deploy::Webapp/Package[python3-swh.web]: Scheduling refresh of Service[gunicorn-swh-webapp]
Info: /Stage[main]/Profile::Swh::Deploy::Webapp/Package[python3-swh.web]: Scheduling refresh of Service[gunicorn-swh-storage]
Notice: /Stage[main]/Profile::Swh::Deploy::Webapp/Gunicorn::Instance[swh-webapp]/Service[gunicorn-swh-webapp]: Would have triggered 'refresh' from 1 events
Notice: Gunicorn::Instance[swh-webapp]: Would have triggered 'refresh' from 1 events
Notice: /Stage[main]/Profile::Swh::Deploy::Storage/Profile::Swh::Deploy::Rpc_server[storage]/Gunicorn::Instance[swh-storage]/Systemd::Unit_file[gunicorn-swh-storage.service]/File[/etc/systemd/system/gunicorn-swh-storage.service]/content:
--- /etc/systemd/system/gunicorn-swh-storage.service 2019-02-20 17:34:06.613317102 +0000
+++ /tmp/puppet-file20190304-32324-ih0kip 2019-03-04 14:22:47.418861924 +0000
@@ -14,7 +14,7 @@
RuntimeDirectory=/run/gunicorn/swh-storage
WorkingDirectory=/run/gunicorn/swh-storage
Environment=SWH_CONFIG_FILENAME=/etc/softwareheritage/storage/storage.yml
-ExecStart=/usr/bin/gunicorn3 -p /run/gunicorn/swh-storage/pidfile -c /etc/gunicorn/instances/swh-storage.cfg swh.storage.api.server:run_from_webserver
+ExecStart=/usr/bin/gunicorn3 -p /run/gunicorn/swh-storage/pidfile -c /etc/gunicorn/instances/swh-storage.cfg swh.storage.api.wsgi
ExecStop=/bin/kill -TERM $MAINPID
ExecReload=/bin/kill -HUP $MAINPID
Notice: /Stage[main]/Profile::Swh::Deploy::Storage/Profile::Swh::Deploy::Rpc_server[storage]/Gunicorn::Instance[swh-storage]/Systemd::Unit_file[gunicorn-swh-storage.service]/File[/etc/systemd/system/gunicorn-swh-storage.service]/content: current_value {md5}9ece57394a751e1c304cf814fe893b82, should be {md5}1e3b7d15d93e36fccd345fdd28fe1b01 (noop)
Info: /Stage[main]/Profile::Swh::Deploy::Storage/Profile::Swh::Deploy::Rpc_server[storage]/Gunicorn::Instance[swh-storage]/Systemd::Unit_file[gunicorn-swh-storage.service]/File[/etc/systemd/system/gunicorn-swh-storage.service]: Scheduling refresh of Class[Systemd::Systemctl::Daemon_reload]
Notice: Class[Systemd::Systemctl::Daemon_reload]: Would have triggered 'refresh' from 2 events
Info: Class[Systemd::Systemctl::Daemon_reload]: Scheduling refresh of Exec[systemctl-daemon-reload]
Notice: /Stage[main]/Systemd::Systemctl::Daemon_reload/Exec[systemctl-daemon-reload]: Would have triggered 'refresh' from 1 events
Notice: Class[Systemd::Systemctl::Daemon_reload]: Would have triggered 'refresh' from 1 events
Notice: Class[Systemd]: Would have triggered 'refresh' from 1 events
Notice: Systemd::Unit_file[gunicorn-swh-storage.service]: Would have triggered 'refresh' from 1 events
Info: Systemd::Unit_file[gunicorn-swh-storage.service]: Scheduling refresh of Service[gunicorn-swh-storage]
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 2 events
Notice: Gunicorn::Instance[swh-storage]: Would have triggered 'refresh' from 2 events
Notice: Class[Profile::Swh::Deploy::Webapp]: Would have triggered 'refresh' from 2 events
Notice: Profile::Swh::Deploy::Rpc_server[storage]: Would have triggered 'refresh' from 1 events
Notice: Class[Profile::Swh::Deploy::Storage]: Would have triggered 'refresh' from 1 events
Notice: Stage[main]: Would have triggered 'refresh' from 6 events
Notice: Applied catalog in 8.18 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.