Page MenuHomeSoftware Heritage

Add static check on the staging graphql instance 2/2
ClosedPublic

Authored by ardumont on Sep 8 2022, 6:07 PM.

Details

Summary

To fix the missing host pergamon is not happy about.

Related to T4135
Related to P1446

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.bwVdqH1I/environments/production/data/private'...
done.
Cloning into '/tmp/swh-ocd.bwVdqH1I/environments/staging/data/private'...
done.
*** Running octocatalog-diff on host pergamon.softwareheritage.org
I, [2022-09-08T18:06:17.461582 #2755829]  INFO -- : Catalogs compiled for pergamon.softwareheritage.org
W, [2022-09-08T18:06:18.792126 #2755829]  WARN -- : Resource File[/tmp/ocd-ipc-20220908-2755829-1xuj1om/ocd-builddir-20220908-2755831-k8uxnr/routes.yaml] appears to depend on catalog compilation directory. Suppressed from results.
W, [2022-09-08T18:06:18.792312 #2755829]  WARN -- : Resource File[/tmp/ocd-ipc-20220908-2755829-1xuj1om/ocd-builddir-20220908-2755830-128mbvy/routes.yaml] appears to depend on catalog compilation directory. Suppressed from results.
W, [2022-09-08T18:06:18.792431 #2755829]  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-08T18:06:18.792476 #2755829]  WARN -- : Resource key Ini_setting[puppetdbserver_urls] parameters => path appears to depend on catalog compilation directory. Suppressed from results.
W, [2022-09-08T18:06:18.792524 #2755829]  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-08T18:06:18.792535 #2755829]  WARN -- : Resource key Ini_setting[soft_write_failure] parameters => path appears to depend on catalog compilation directory. Suppressed from results.
I, [2022-09-08T18:06:18.792805 #2755829]  INFO -- : Diffs computed for pergamon.softwareheritage.org
diff origin/production/pergamon.softwareheritage.org current/pergamon.softwareheritage.org
*******************************************
+ Concat::Fragment[icinga2::object::Host::grapqhl.staging.swh.network] =>
   parameters =>
     "content": "\nobject Host \"grapqhl.staging.swh.network\" {\n  import \"gene...
     "order": 50,
     "target": "/etc/icinga2/conf.d/static-checks.conf"
*******************************************
+ Concat_fragment[icinga2::object::Host::grapqhl.staging.swh.network] =>
   parameters =>
     "content": "\nobject Host \"grapqhl.staging.swh.network\" {\n  import \"gene...
     "order": 50,
     "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 "K7dpSp+W/aCQbggjaBwRTla36jG1g+zXvecqwCxTqAkQXq+bdE0qnVcsHD7DHa/aUymCK9TbCASBohJH9SQcZA==";
      + secret "aHil+Rwtpnh2L5uVHZJXZ2G7CzXmuyw/CL4i3QvTheCf815fDY4oa4cI+iiMf1NR9FTajuVF2CulEzbumxV7gQ==";
       };
*******************************************
  File[/etc/bind/rndc.key] =>
   parameters =>
     content =>
      @@ -2,4 +2,4 @@
       key rndc-key {
        algorithm hmac-md5;
      - secret "59YUK0Jb1LJlcHgJ+sOvAQOnMJIsg9xGd6fv3MK/PjPWrEAmQrwi93+ksaxG4bApui7ROM1qdCOCGPmuahqTkA==";
      + secret "dO67/xSUZv+FHiYF52wsPHDJ/0LvYSKj9rZdqhsaxE+5t/UAqq1SbqW0Kv0j4MrrOHoLo1272plAIT9FtvNQug==";
       };
*******************************************
+ Icinga2::Object::Host[grapqhl.staging.swh.network] =>
   parameters =>
     "address": "grapqhl.staging.swh.network",
     "check_command": "dummy",
     "ensure": "present",
     "host_name": "grapqhl.staging.swh.network",
     "import": [
       "generic-host"
     ],
     "order": 50,
     "target": "/etc/icinga2/conf.d/static-checks.conf",
     "template": false,
     "vars": {
       "dummy_state": 0,
       "dummy_text": "HTTP-only host"
     }
*******************************************
+ Icinga2::Object[icinga2::object::Host::grapqhl.staging.swh.network] =>
   parameters =>
     "apply": false,
     "assign": [

     ],
     "attrs": {
       "address": "grapqhl.staging.swh.network",
       "check_command": "dummy",
       "vars": {
         "dummy_state": 0,
         "dummy_text": "HTTP-only host"
       }
     },
     "attrs_list": [
       "address",
       "address6",
       "groups",
       "display_name",
       "check_command",
       "max_check_attempts",
       "check_period",
       "check_timeout",
       "check_interval",
       "retry_interval",
       "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-host"
     ],
     "object_name": "grapqhl.staging.swh.network",
     "object_type": "Host",
     "order": 50,
     "prefix": false,
     "target": "/etc/icinga2/conf.d/static-checks.conf",
     "template": false
*******************************************
*** End octocatalog-diff on pergamon.softwareheritage.org

Diff Detail

Repository
rSPSITE puppet-swh-site
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

This revision was not accepted when it landed; it landed in state Needs Review.Sep 8 2022, 6:07 PM
ardumont requested review of this revision.
This revision was automatically updated to reflect the committed changes.