Skip to content

Add static check on the staging graphql instance

Related to T4135

Test Plan

octo-diff:

$SWH_PUPPET_ENVIRONMENT_HOME/bin/octocatalog-diff pergamon
Found host pergamon.softwareheritage.org
WARN     -> Environment "staging-add-prometheus-metrics" contained non-word characters, correcting name to staging_add_prometheus_metrics
WARN     -> Environment "staging-bullseye-rabbitmq-plugin" contained non-word characters, correcting name to staging_bullseye_rabbitmq_plugin
WARN     -> Environment "staging-check-journal-client" contained non-word characters, correcting name to staging_check_journal_client
WARN     -> Environment "staging-check-journal-client-2nd-implementation" contained non-word characters, correcting name to staging_check_journal_client_2nd_implementation
WARN     -> Environment "staging-check-journal-client-first-implem" contained non-word characters, correcting name to staging_check_journal_client_first_implem
WARN     -> Environment "staging-pin" contained non-word characters, correcting name to staging_pin
Cloning into '/tmp/swh-ocd.EHvWkbTM/environments/production/data/private'...
done.
Cloning into '/tmp/swh-ocd.EHvWkbTM/environments/staging/data/private'...
done.
*** Running octocatalog-diff on host pergamon.softwareheritage.org
I, [2022-09-08T17:23:51.290330 #2709012]  INFO -- : Catalogs compiled for pergamon.softwareheritage.org
W, [2022-09-08T17:23:52.679073 #2709012]  WARN -- : Resource File[/tmp/ocd-ipc-20220908-2709012-n0pve/ocd-builddir-20220908-2709015-1o1rc2/routes.yaml] appears to depend on catalog compilation directory. Suppressed from results.
W, [2022-09-08T17:23:52.679358 #2709012]  WARN -- : Resource File[/tmp/ocd-ipc-20220908-2709012-n0pve/ocd-builddir-20220908-2709014-17vb4q6/routes.yaml] appears to depend on catalog compilation directory. Suppressed from results.
W, [2022-09-08T17:23:52.679487 #2709012]  WARN -- : Resource key Ini_setting[puppetdbserver_urls] parameters => path may depend on catalog compilation directory, but there may be differences. This is included in results for now, but please verify.
W, [2022-09-08T17:23:52.679503 #2709012]  WARN -- : Resource key Ini_setting[puppetdbserver_urls] parameters => path appears to depend on catalog compilation directory. Suppressed from results.
W, [2022-09-08T17:23:52.679536 #2709012]  WARN -- : Resource key Ini_setting[soft_write_failure] parameters => path may depend on catalog compilation directory, but there may be differences. This is included in results for now, but please verify.
W, [2022-09-08T17:23:52.679546 #2709012]  WARN -- : Resource key Ini_setting[soft_write_failure] parameters => path appears to depend on catalog compilation directory. Suppressed from results.
I, [2022-09-08T17:23:52.679764 #2709012]  INFO -- : Diffs computed for pergamon.softwareheritage.org
diff origin/production/pergamon.softwareheritage.org current/pergamon.softwareheritage.org
*******************************************
+ Concat::Fragment[icinga2::object::Service::Software Heritage Staging Graphql Instance] =>
   parameters =>
     "content": "\nobject Service \"Software Heritage Staging Graphql Instance\" ...
     "order": 60,
     "target": "/etc/icinga2/conf.d/static-checks.conf"
*******************************************
+ Concat_fragment[icinga2::object::Service::Software Heritage Staging Graphql Instance] =>
   parameters =>
     "content": "\nobject Service \"Software Heritage Staging Graphql Instance\" ...
     "order": 60,
     "tag": "_etc_icinga2_conf.d_static-checks.conf",
     "target": "/etc/icinga2/conf.d/static-checks.conf"
*******************************************
  File[/etc/bind/keys/local-update] =>
   parameters =>
     content =>
      @@ -2,4 +2,4 @@
       key local-update {
        algorithm hmac-sha256;
      - secret "0hcn4zPzvc2grG4i5w2cuS6Js9NucwyyNVQzIxvjsJH3FsM3CXN+b1OArXKtORvV97zQ6a4Lqr2Y6woRRqpbNg==";
      + secret "0n0LFAfnU/+v4wOWpHhVAGKDMKlgU7ckIhbzA8q3wX9f99yQHEXl1/y7qagqc7yWoKvXrpfDI0q5eI4oe5EI5A==";
       };
*******************************************
  File[/etc/bind/rndc.key] =>
   parameters =>
     content =>
      @@ -2,4 +2,4 @@
       key rndc-key {
        algorithm hmac-md5;
      - secret "L+sxD26Z7Q0yCYeWfnRe71j3CWt8vP2G6c3jbCjHoemA5citebvnOXu2BRlJq+QjRMl/g8MeNVrwRYd0H/P7DA==";
      + secret "sW0nidfYL4L8D/54Ix3tD1e/DOVg/LAgKlDPWjjtmlW/Tald+DjqcS3YpaS8GyNxCkaa06DjV2zkmlzPOfaPpQ==";
       };
*******************************************
+ Icinga2::Object::Service[Software Heritage Staging Graphql Instance] =>
   parameters =>
     "apply": false,
     "assign": [

     ],
     "check_command": "http",
     "ensure": "present",
     "host_name": "graphql.staging.swh.network",
     "ignore": [

     ],
     "import": [
       "generic-service"
     ],
     "order": 60,
     "prefix": false,
     "service_name": "Software Heritage Staging Graphql Instance",
     "target": "/etc/icinga2/conf.d/static-checks.conf",
     "template": false,
     "vars": {
       "http_vhost": "graphql.staging.swh.network",
       "http_uri": "/",
       "http_ssl": true,
       "http_sni": true
     }
*******************************************
+ Icinga2::Object[icinga2::object::Service::Software Heritage Staging Graphql Instance] =>
   parameters =>
     "apply": false,
     "assign": [

     ],
     "attrs": {
       "host_name": "graphql.staging.swh.network",
       "check_command": "http",
       "vars": {
         "http_vhost": "graphql.staging.swh.network",
         "http_uri": "/",
         "http_ssl": true,
         "http_sni": true
       }
     },
     "attrs_list": [
       "display_name",
       "host_name",
       "check_command",
       "check_timeout",
       "check_interval",
       "check_period",
       "retry_interval",
       "max_check_attempts",
       "groups",
       "enable_notifications",
       "enable_active_checks",
       "enable_passive_checks",
       "enable_event_handler",
       "enable_flapping",
       "enable_perfdata",
       "event_command",
       "flapping_threshold_low",
       "flapping_threshold_high",
       "volatile",
       "zone",
       "command_endpoint",
       "notes",
       "notes_url",
       "action_url",
       "icon_image",
       "icon_image_alt",
       "vars",
       "Acknowledgement",
       "ApiBindHost",
       "ApiBindPort",
       "ApiEnvironment",
       "ApplicationType",
       "Array",
       "AttachDebugger",
       "BuildCompilerName",
       "BuildCompilerVersion",
       "BuildHostName",
       "Checkable",
       "Command",
       "Concurrency",
       "ConfigObject",
       "Configuration",
       "Critical",
       "Custom",
       "CustomVarObject",
       "DateTime",
       "Deprecated",
       "Dictionary",
       "Down",
       "DowntimeEnd",
       "DowntimeRemoved",
       "DowntimeStart",
       "Environment",
       "FlappingEnd",
       "FlappingStart",
       "Function",
       "HostDown",
       "HostUp",
       "IncludeConfDir",
       "Internal",
       "Json",
       "LocalStateDir",
       "LogCritical",
       "LogDebug",
       "Logger",
       "LogInformation",
       "LogNotice",
       "LogWarning",
       "Math",
       "MaxConcurrentChecks",
       "ModAttrPath",
       "Namespace",
       "NodeName",
       "OK",
       "ObjectsPath",
       "PerfdataValue",
       "PidPath",
       "PkgDataDir",
       "PlatformArchitecture",
       "PlatformKernel",
       "PlatformKernelVersion",
       "PlatformName",
       "PlatformVersion",
       "PrefixDir",
       "Problem",
       "Recovery",
       "Reference",
       "RunAsGroup",
       "RunAsUser",
       "RunDir",
       "ServiceCritical",
       "ServiceOK",
       "ServiceUnknown",
       "ServiceWarning",
       "StatePath",
       "StreamLogger",
       "SysconfDir",
       "System",
       "Type",
       "Types",
       "Unknown",
       "Up",
       "UseVfork",
       "VarsPath",
       "Warning",
       "ZonesDir",
       "NodeName",
       "ZoneName",
       "TicketSalt",
       "PluginDir",
       "PluginContribDir",
       "ManubulonPluginDir",
       "name",
       "NodeName",
       "ZoneName",
       "TicketSalt",
       "PluginDir",
       "PluginContribDir",
       "ManubulonPluginDir",
       "name"
     ],
     "ensure": "present",
     "ignore": [

     ],
     "import": [
       "generic-service"
     ],
     "object_name": "Software Heritage Staging Graphql Instance",
     "object_type": "Service",
     "order": 60,
     "prefix": false,
     "target": "/etc/icinga2/conf.d/static-checks.conf",
     "template": false
*******************************************
*** End octocatalog-diff on pergamon.softwareheritage.org

Migrated from D8429 (view on Phabricator)

Merge request reports

Loading