Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to new formula standards #4

Open
wants to merge 24 commits into
base: master
Choose a base branch
from

Conversation

baby-gnu
Copy link

@baby-gnu baby-gnu commented Jan 4, 2023

PR progress checklist (to be filled in by reviewers)

  • Changes to documentation are appropriate (or tick if not required)
  • Changes to tests are appropriate (or tick if not required)
  • Reviews completed

What type of PR is this?

Primary type

  • [build] Changes related to the build system
  • [chore] Changes to the build process or auxiliary tools and libraries such as documentation generation
  • [ci] Changes to the continuous integration configuration
  • [feat] A new feature
  • [fix] A bug fix
  • [perf] A code change that improves performance
  • [refactor] A code change that neither fixes a bug nor adds a feature
  • [revert] A change used to revert a previous commit
  • [style] Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc.)

Secondary type

  • [docs] Documentation changes
  • [test] Adding missing or correcting existing tests

Does this PR introduce a BREAKING CHANGE?

YES

  • map: map.jinja now exports a generic mapdata variable
  • map: The per grain parameter values are now under moosefs/parameters/
  • init: you must set master:enabled, metalogger:enabled, chunkserver:enabled, cgiserv:enabled, client:enabled, cli:enabled and netdump:enabled to install each component with the top level state
  • master: moosefs.master is split in moosefs.master.package, moosefs.master.config and moosefs.master.service
  • metalogger: moosefs.metalogger is split in moosefs.metalogger.package, moosefs.metalogger.config and moosefs.metalogger.service
  • chunkserver: moosefs.chunkserver is split in moosefs.chunkserver.package, moosefs.chunkserver.config and moosefs.chunkserver.service
  • client: moosefs.client is split in moosefs.client.package and moosefs.client.config
  • cgiserv: the cgiserv was provided by moosefs.master and is now split in moosefs.cgiserv.package, moosefs.cgiserv.config and moosefs.cgiserv.service

Related issues and/or pull requests

saltstack-formulas/template-formula#21

Describe the changes you're proposing

I update the formula to new community standards:

Pillar / config required to test the proposed changes

Debug log showing how the proposed changes work

./bin/kitchen converge default-debian-11-3004-1-py3
-----> Starting Test Kitchen (v3.3.1)
-----> Converging <default-debian-11-3004-1-py3>...
       Preparing files for transfer
       Preparing salt-minion
       Preparing pillars into /srv/pillar
       Copying pillars from test/salt/pillar to /srv/pillar
       Preparing formula: moosefs from /root/moosefs-formula
       Preparing state_top
       Preparing scripts into /etc/salt/scripts
       You asked for latest and you have 3004.1 installed, sweet!
       Transferring files to <default-debian-11-3004-1-py3>
       Install External Dependencies
       Content of /tmp/kitchen//srv/salt :
       total 16
       drwxr-xr-x  3 kitchen kitchen 4096 Jan  4 10:31 .
       drwxr-xr-x  4 kitchen kitchen 4096 Jan  4 10:31 ..
       drwxr-xr-x 14 kitchen kitchen 4096 Jan  4 10:31 moosefs
       -rw-r--r--  1 kitchen kitchen   50 Jan  4 10:55 top.sls
       [DEBUG   ] Reading configuration from /tmp/kitchen/etc/salt/minion
       [DEBUG   ] Using cached minion ID from /tmp/kitchen/etc/salt/minion_id: moosefs.example.net
       [DEBUG   ] Using importlib_metadata to load entry points
       [DEBUG   ] Override  __grains__: <module 'salt.loaded.int.log_handlers.sentry_mod' from '/usr/lib/python3/dist-packages/salt/log/handlers/sentry_mod.py'>
       [DEBUG   ] Configuration file path: /tmp/kitchen/etc/salt/minion
       [WARNING ] Insecure logging configuration detected! Sensitive data may be logged.
       [DEBUG   ] Grains refresh requested. Refreshing grains.
       [DEBUG   ] Reading configuration from /tmp/kitchen/etc/salt/minion
       [DEBUG   ] Override  __utils__: <module 'salt.loaded.int.grains.zfs' from '/usr/lib/python3/dist-packages/salt/grains/zfs.py'>
       [DEBUG   ] Elapsed time getting FQDNs: 0.04139208793640137 seconds
       [DEBUG   ] LazyLoaded zfs.is_supported
       [DEBUG   ] Determining pillar cache
       [DEBUG   ] Using importlib_metadata to load entry points
       [DEBUG   ] LazyLoaded jinja.render
       [DEBUG   ] LazyLoaded yaml.render
       [DEBUG   ] compile template: /tmp/kitchen/srv/pillar/top.sls
       [DEBUG   ] Jinja search path: ['/tmp/kitchen/srv/pillar', '/tmp/kitchen/srv/spm/pillar']
       [PROFILE ] Time (in seconds) to render '/tmp/kitchen/srv/pillar/top.sls' using 'jinja' renderer: 0.009363174438476562
       [DEBUG   ] Rendered data from file: /tmp/kitchen/srv/pillar/top.sls:
       # -*- coding: utf-8 -*-
       # vim: ft=yaml
       ---
       base:
         '*':
           - default
       ...
       […]
       [DEBUG   ] Results of YAML rendering: 
       OrderedDict([('moosefs-cli-package-installed-pkg-installed', OrderedDict([('pkg.installed', [OrderedDict([('name', 'moosefs-cli')])])]))])
       [PROFILE ] Time (in seconds) to render '/tmp/kitchen/var/cache/salt/minion/files/base/moosefs/cli/package/installed.sls' using 'yaml' renderer: 0.0005965232849121094
       [DEBUG   ] LazyLoaded file.managed
       [INFO    ] Running state [/tmp/salt_mapdata_dump.yaml] at time 12:15:56.741581
       [INFO    ] Executing state file.managed for [/tmp/salt_mapdata_dump.yaml]
       [DEBUG   ] LazyLoaded file.source_list
       [DEBUG   ] LazyLoaded cp.hash_file
       [DEBUG   ] Using importlib_metadata to load entry points
       [DEBUG   ] LazyLoaded roots.envs
       [DEBUG   ] Could not LazyLoad roots.init: 'roots.init' is not available.
       [DEBUG   ] In saltenv 'base', looking at rel_path 'moosefs/_mapdata/_mapdata.jinja' to resolve 'salt://moosefs/_mapdata/_mapdata.jinja'
       [DEBUG   ] In saltenv 'base', ** considering ** path '/tmp/kitchen/var/cache/salt/minion/files/base/moosefs/_mapdata/_mapdata.jinja' to resolve 'salt://moosefs/_mapdata/_mapdata.jinja'
       [DEBUG   ] Fetching file from saltenv 'base', ** attempting ** 'salt://moosefs/_mapdata/_mapdata.jinja'
       [DEBUG   ] No dest file found
       [INFO    ] Fetching file from saltenv 'base', ** done ** 'moosefs/_mapdata/_mapdata.jinja'
       [DEBUG   ] Jinja search path: ['/tmp/kitchen/var/cache/salt/minion/files/base']
       [INFO    ] File changed:
       New file
       [INFO    ] Completed state [/tmp/salt_mapdata_dump.yaml] at time 12:15:56.835364 (duration_in_ms=93.783)
       [DEBUG   ] LazyLoaded pkg.install
       [DEBUG   ] LazyLoaded pkg.installed
       [DEBUG   ] LazyLoaded path.which
       [DEBUG   ] Override  __salt__: <module 'salt.loaded.int.module.dracr' from '/usr/lib/python3/dist-packages/salt/modules/dracr.py'>
       [DEBUG   ] Reading configuration from /etc/salt/minion
       [DEBUG   ] Guessing ID. The id can be explicitly set in /etc/salt/minion
       [DEBUG   ] Found minion id from generate_minion_id(): moosefs.example.net
       [DEBUG   ] Using importlib_metadata to load entry points
       [DEBUG   ] Could not LazyLoad idem.hub: 'idem' __virtual__ returned False: No module named 'pop'
       [DEBUG   ] Override  __salt__: <module 'salt.loaded.int.module.kubeadm' from '/usr/lib/python3/dist-packages/salt/modules/kubeadm.py'>
       [DEBUG   ] Override  __salt__: <module 'salt.loaded.int.module.udev' from '/usr/lib/python3/dist-packages/salt/modules/udev.py'>
       [DEBUG   ] Override  __pillar__: <module 'salt.loaded.int.module.virtualenv_mod' from '/usr/lib/python3/dist-packages/salt/modules/virtualenv_mod.py'>
       [DEBUG   ] DSC: Only available on Windows systems
       [DEBUG   ] Module PSGet: Only available on Windows systems
       [DEBUG   ] Could not LazyLoad pkg.ex_mod_init: 'pkg.ex_mod_init' is not available.
       [INFO    ] Running state [moosefs-master] at time 12:16:00.092707
       [INFO    ] Executing state pkg.installed for [moosefs-master]
       [DEBUG   ] Could not LazyLoad pkg.resolve_capabilities: 'pkg.resolve_capabilities' is not available.
       [INFO    ] Executing command dpkg-query in directory '/home/kitchen'
       [DEBUG   ] Could not LazyLoad pkg.check_db: 'pkg.check_db' is not available.
       [INFO    ] Executing command apt-cache in directory '/home/kitchen'
       [INFO    ] Executing command apt-get in directory '/home/kitchen'
       [INFO    ] Executing command dpkg in directory '/home/kitchen'
       [INFO    ] Executing command systemd-run in directory '/home/kitchen'
       [INFO    ] Executing command dpkg-query in directory '/home/kitchen'
       [INFO    ] Made the following changes:
       'moosefs-common' changed from 'absent' to '3.0.115-1'
       'moosefs-master' changed from 'absent' to '3.0.115-1'
       
       [DEBUG   ] Refreshing modules...
       [INFO    ] Loading fresh modules for state activity
       [DEBUG   ] Using importlib_metadata to load entry points
       [DEBUG   ] LazyLoaded jinja.render
       [DEBUG   ] LazyLoaded yaml.render
       [INFO    ] Completed state [moosefs-master] at time 12:16:04.781676 (duration_in_ms=4688.964)
       [DEBUG   ] LazyLoaded config.option
       [DEBUG   ] LazyLoaded file.managed
       [INFO    ] Running state [/etc/mfs/mfsmaster.cfg] at time 12:16:04.786753
       [INFO    ] Executing state file.managed for [/etc/mfs/mfsmaster.cfg]
       [DEBUG   ] LazyLoaded file.user_to_uid
       [DEBUG   ] LazyLoaded cp.list_master
       [DEBUG   ] LazyLoaded roots.envs
       [DEBUG   ] Could not LazyLoad roots.init: 'roots.init' is not available.
       [DEBUG   ] Returning file list from cache: age=13 cache_time=20 /tmp/kitchen/var/cache/salt/minion/file_lists/roots/base.p
       [DEBUG   ] Returning file list from cache: age=13 cache_time=20 /tmp/kitchen/var/cache/salt/minion/file_lists/roots/base.p
       [DEBUG   ] In saltenv 'base', looking at rel_path 'moosefs/master/config/files/default/mfsmaster.cfg.jinja' to resolve 'salt://moosefs/master/config/files/default/mfsmaster.cfg.jinja'
       [DEBUG   ] In saltenv 'base', ** considering ** path '/tmp/kitchen/var/cache/salt/minion/files/base/moosefs/master/config/files/default/mfsmaster.cfg.jinja' to resolve 'salt://moosefs/master/config/files/default/mfsmaster.cfg.jinja'
       [DEBUG   ] Fetching file from saltenv 'base', ** attempting ** 'salt://moosefs/master/config/files/default/mfsmaster.cfg.jinja'
       [DEBUG   ] No dest file found
       [INFO    ] Fetching file from saltenv 'base', ** done ** 'moosefs/master/config/files/default/mfsmaster.cfg.jinja'
       [DEBUG   ] Jinja search path: ['/tmp/kitchen/var/cache/salt/minion/files/base']
       [DEBUG   ] In saltenv 'base', looking at rel_path 'moosefs/libs/libconfig.jinja' to resolve 'salt://moosefs/libs/libconfig.jinja'
       [DEBUG   ] In saltenv 'base', ** considering ** path '/tmp/kitchen/var/cache/salt/minion/files/base/moosefs/libs/libconfig.jinja' to resolve 'salt://moosefs/libs/libconfig.jinja'
       [DEBUG   ] Fetching file from saltenv 'base', ** attempting ** 'salt://moosefs/libs/libconfig.jinja'
       [DEBUG   ] No dest file found
       [INFO    ] Fetching file from saltenv 'base', ** done ** 'moosefs/libs/libconfig.jinja'
       [INFO    ] File changed:
       New file
       [INFO    ] Completed state [/etc/mfs/mfsmaster.cfg] at time 12:16:04.869064 (duration_in_ms=82.311)
       [INFO    ] Running state [/etc/mfs/mfstopology.cfg] at time 12:16:04.869509
       [INFO    ] Executing state file.managed for [/etc/mfs/mfstopology.cfg]
       [DEBUG   ] Returning file list from cache: age=13 cache_time=20 /tmp/kitchen/var/cache/salt/minion/file_lists/roots/base.p
       [DEBUG   ] Returning file list from cache: age=13 cache_time=20 /tmp/kitchen/var/cache/salt/minion/file_lists/roots/base.p
       [DEBUG   ] In saltenv 'base', looking at rel_path 'moosefs/master/config/files/default/mfstopology.cfg.jinja' to resolve 'salt://moosefs/master/config/files/default/mfstopology.cfg.jinja'
       [DEBUG   ] In saltenv 'base', ** considering ** path '/tmp/kitchen/var/cache/salt/minion/files/base/moosefs/master/config/files/default/mfstopology.cfg.jinja' to resolve 'salt://moosefs/master/config/files/default/mfstopology.cfg.jinja'
       [DEBUG   ] Fetching file from saltenv 'base', ** attempting ** 'salt://moosefs/master/config/files/default/mfstopology.cfg.jinja'
       [DEBUG   ] No dest file found
       [INFO    ] Fetching file from saltenv 'base', ** done ** 'moosefs/master/config/files/default/mfstopology.cfg.jinja'
       [DEBUG   ] Jinja search path: ['/tmp/kitchen/var/cache/salt/minion/files/base']
       [INFO    ] File changed:
       New file
       [INFO    ] Completed state [/etc/mfs/mfstopology.cfg] at time 12:16:04.881876 (duration_in_ms=12.367)
       [INFO    ] Running state [/etc/mfs/mfsexports.cfg] at time 12:16:04.882340
       [INFO    ] Executing state file.managed for [/etc/mfs/mfsexports.cfg]
       [DEBUG   ] Returning file list from cache: age=13 cache_time=20 /tmp/kitchen/var/cache/salt/minion/file_lists/roots/base.p
       [DEBUG   ] Returning file list from cache: age=13 cache_time=20 /tmp/kitchen/var/cache/salt/minion/file_lists/roots/base.p
       [DEBUG   ] In saltenv 'base', looking at rel_path 'moosefs/master/config/files/default/mfsexports.cfg.jinja' to resolve 'salt://moosefs/master/config/files/default/mfsexports.cfg.jinja'
       [DEBUG   ] In saltenv 'base', ** considering ** path '/tmp/kitchen/var/cache/salt/minion/files/base/moosefs/master/config/files/default/mfsexports.cfg.jinja' to resolve 'salt://moosefs/master/config/files/default/mfsexports.cfg.jinja'
       [DEBUG   ] Fetching file from saltenv 'base', ** attempting ** 'salt://moosefs/master/config/files/default/mfsexports.cfg.jinja'
       [DEBUG   ] No dest file found
       [INFO    ] Fetching file from saltenv 'base', ** done ** 'moosefs/master/config/files/default/mfsexports.cfg.jinja'
       [DEBUG   ] Jinja search path: ['/tmp/kitchen/var/cache/salt/minion/files/base']
       [DEBUG   ] In saltenv 'base', looking at rel_path 'moosefs/libs/libconfig.jinja' to resolve 'salt://moosefs/libs/libconfig.jinja'
       [DEBUG   ] In saltenv 'base', ** considering ** path '/tmp/kitchen/var/cache/salt/minion/files/base/moosefs/libs/libconfig.jinja' to resolve 'salt://moosefs/libs/libconfig.jinja'
       [INFO    ] File changed:
       New file
       [INFO    ] Completed state [/etc/mfs/mfsexports.cfg] at time 12:16:04.907439 (duration_in_ms=25.098)
       [INFO    ] Running state [/etc/default/moosefs-master] at time 12:16:04.907887
       [INFO    ] Executing state file.managed for [/etc/default/moosefs-master]
       [DEBUG   ] Returning file list from cache: age=13 cache_time=20 /tmp/kitchen/var/cache/salt/minion/file_lists/roots/base.p
       [DEBUG   ] Returning file list from cache: age=13 cache_time=20 /tmp/kitchen/var/cache/salt/minion/file_lists/roots/base.p
       [DEBUG   ] In saltenv 'base', looking at rel_path 'moosefs/master/config/files/default/moosefs-master-default.jinja' to resolve 'salt://moosefs/master/config/files/default/moosefs-master-default.jinja'
       [DEBUG   ] In saltenv 'base', ** considering ** path '/tmp/kitchen/var/cache/salt/minion/files/base/moosefs/master/config/files/default/moosefs-master-default.jinja' to resolve 'salt://moosefs/master/config/files/default/moosefs-master-default.jinja'
       [DEBUG   ] Fetching file from saltenv 'base', ** attempting ** 'salt://moosefs/master/config/files/default/moosefs-master-default.jinja'
       [DEBUG   ] No dest file found
       [INFO    ] Fetching file from saltenv 'base', ** done ** 'moosefs/master/config/files/default/moosefs-master-default.jinja'
       [DEBUG   ] Jinja search path: ['/tmp/kitchen/var/cache/salt/minion/files/base']
       [DEBUG   ] LazyLoaded files.is_text
       [DEBUG   ] LazyLoaded stringutils.get_diff
       [INFO    ] File changed:
       --- 
       +++ 
       @@ -1,3 +1,6 @@
       +# File managed by SaltStack at <salt://moosefs/master/config/files/default/moosefs-master-default.jinja>
       +# Your changes will be overwritten.
       +#
        # Defaults for moosefs-master
        # mfsmaster(8)
        
       
       [INFO    ] Completed state [/etc/default/moosefs-master] at time 12:16:04.924131 (duration_in_ms=16.244)
       [INFO    ] Running state [/var/lib/mfs/metadata.mfs] at time 12:16:04.924520
       [INFO    ] Executing state file.copy for [/var/lib/mfs/metadata.mfs]
       [DEBUG   ] LazyLoaded path.which
       [DEBUG   ] Override  __grains__: <module 'salt.loaded.int.module.grains' from '/usr/lib/python3/dist-packages/salt/modules/grains.py'>
       [DEBUG   ] Reading configuration from /etc/salt/minion
       [DEBUG   ] Guessing ID. The id can be explicitly set in /etc/salt/minion
       [DEBUG   ] Found minion id from generate_minion_id(): moosefs.example.net
       [DEBUG   ] Using importlib_metadata to load entry points
       [DEBUG   ] Could not LazyLoad idem.hub: 'idem' __virtual__ returned False: No module named 'pop'
       [DEBUG   ] Override  __salt__: <module 'salt.loaded.int.module.udev' from '/usr/lib/python3/dist-packages/salt/modules/udev.py'>
       [DEBUG   ] Override  __pillar__: <module 'salt.loaded.int.module.virtualenv_mod' from '/usr/lib/python3/dist-packages/salt/modules/virtualenv_mod.py'>
       [DEBUG   ] DSC: Only available on Windows systems
       [DEBUG   ] Module PSGet: Only available on Windows systems
       [DEBUG   ] Could not LazyLoad lxd.version: 'lxd' __virtual__ returned False: The lxd execution module cannot be loaded: the pylxd python module is not available.
       [DEBUG   ] LazyLoaded acme.cert
       [DEBUG   ] LazyLoaded apache.config
       [DEBUG   ] LazyLoaded apache.a2enconf
       [DEBUG   ] LazyLoaded apache.a2enmod
       [DEBUG   ] LazyLoaded apache.a2ensite
       [DEBUG   ] LazyLoaded at.at
       [DEBUG   ] Could not LazyLoad augeas.execute: 'augeas.execute' is not available.
       [DEBUG   ] LazyLoaded azurearm_compute.availability_set_create_or_update
       [DEBUG   ] LazyLoaded azurearm_dns.zones_list_by_resource_group
       [DEBUG   ] LazyLoaded azurearm_network.check_ip_address_availability
       [DEBUG   ] LazyLoaded azurearm_resource.resource_group_check_existence
       [DEBUG   ] LazyLoaded boto3_elasticache.cache_cluster_exists
       [DEBUG   ] LazyLoaded boto3_elasticsearch.describe_elasticsearch_domain
       [DEBUG   ] LazyLoaded boto3_route53.find_hosted_zone
       [DEBUG   ] LazyLoaded boto3_sns.topic_exists
       [DEBUG   ] LazyLoaded boto_apigateway.describe_apis
       [DEBUG   ] LazyLoaded boto_asg.exists
       [DEBUG   ] LazyLoaded boto_cfn.exists
       [DEBUG   ] LazyLoaded boto_cloudfront.get_distribution
       [DEBUG   ] LazyLoaded boto_cloudtrail.exists
       [DEBUG   ] LazyLoaded boto_cloudwatch.get_alarm
       [DEBUG   ] LazyLoaded boto_cloudwatch_event.exists
       [DEBUG   ] LazyLoaded boto_cognitoidentity.describe_identity_pools
       [DEBUG   ] LazyLoaded boto_datapipeline.create_pipeline
       [DEBUG   ] LazyLoaded boto_dynamodb.exists
       [DEBUG   ] LazyLoaded boto_ec2.get_key
       [DEBUG   ] LazyLoaded boto_elasticache.exists
       [DEBUG   ] LazyLoaded boto_elasticsearch_domain.exists
       [DEBUG   ] LazyLoaded boto_elb.exists
       [DEBUG   ] LazyLoaded boto_elbv2.target_group_exists
       [DEBUG   ] LazyLoaded boto_iam.get_user
       [DEBUG   ] LazyLoaded boto_iam.role_exists
       [DEBUG   ] LazyLoaded boto_iot.policy_exists
       [DEBUG   ] LazyLoaded boto_kinesis.exists
       [DEBUG   ] LazyLoaded boto_kms.describe_key
       [DEBUG   ] LazyLoaded boto_lambda.function_exists
       [DEBUG   ] LazyLoaded boto_asg.exists
       [DEBUG   ] LazyLoaded boto_rds.exists
       [DEBUG   ] LazyLoaded boto_route53.get_record
       [DEBUG   ] LazyLoaded boto_s3.get_object_metadata
       [DEBUG   ] LazyLoaded boto_s3_bucket.exists
       [DEBUG   ] LazyLoaded boto_secgroup.exists
       [DEBUG   ] LazyLoaded boto_sns.exists
       [DEBUG   ] LazyLoaded boto_sqs.exists
       [DEBUG   ] LazyLoaded boto_vpc.exists
       [DEBUG   ] LazyLoaded bower.list
       [DEBUG   ] LazyLoaded chef.client
       [DEBUG   ] LazyLoaded chocolatey.install
       [DEBUG   ] LazyLoaded cimc.get_system_info
       [DEBUG   ] LazyLoaded cisconso.set_data_value
       [DEBUG   ] LazyLoaded cron.list_tab
       [DEBUG   ] LazyLoaded csf.exists
       [DEBUG   ] LazyLoaded cyg.list
       [DEBUG   ] LazyLoaded ddns.update
       [DEBUG   ] Could not LazyLoad debconf.show: 'debconf.show' is not available.
       [DEBUG   ] LazyLoaded chassis.cmd
       [DEBUG   ] Could not LazyLoad docker.version: 'docker.version' is not available.
       [DEBUG   ] Could not LazyLoad docker.version: 'docker.version' is not available.
       [DEBUG   ] Could not LazyLoad docker.version: 'docker.version' is not available.
       [DEBUG   ] Could not LazyLoad docker.version: 'docker.version' is not available.
       [DEBUG   ] LazyLoaded eselect.exec_action
       [DEBUG   ] LazyLoaded esxi.cmd
       [INFO    ] Executing command git in directory '/home/kitchen'
       [DEBUG   ] stdout: git version 2.30.2
       [DEBUG   ] LazyLoaded github.list_users
       [DEBUG   ] LazyLoaded glanceng.image_get
       [DEBUG   ] LazyLoaded glusterfs.list_volumes
       [DEBUG   ] LazyLoaded elasticsearch.exists
       [DEBUG   ] LazyLoaded icinga2.generate_ticket
       [DEBUG   ] LazyLoaded idem.hub
       [DEBUG   ] LazyLoaded ifttt.trigger_event
       [DEBUG   ] Could not LazyLoad influxdb08.db_exists: 'influxdb08.db_exists' is not available.
       [DEBUG   ] Could not LazyLoad influxdb08.db_exists: 'influxdb08.db_exists' is not available.
       [DEBUG   ] Could not LazyLoad influxdb.db_exists: 'influxdb.db_exists' is not available.
       [DEBUG   ] Could not LazyLoad influxdb.db_exists: 'influxdb.db_exists' is not available.
       [DEBUG   ] Could not LazyLoad influxdb.db_exists: 'influxdb.db_exists' is not available.
       [DEBUG   ] Could not LazyLoad influxdb.db_exists: 'influxdb.db_exists' is not available.
       [DEBUG   ] LazyLoaded ipset.version
       [DEBUG   ] LazyLoaded iptables.version
       [DEBUG   ] LazyLoaded kapacitor.version
       [DEBUG   ] LazyLoaded keystone.auth
       [DEBUG   ] LazyLoaded keystoneng.domain_get
       [DEBUG   ] LazyLoaded keystoneng.endpoint_get
       [DEBUG   ] LazyLoaded keystoneng.group_get
       [DEBUG   ] LazyLoaded keystoneng.project_get
       [DEBUG   ] LazyLoaded keystoneng.role_get
       [DEBUG   ] LazyLoaded keystoneng.role_grant
       [DEBUG   ] LazyLoaded keystoneng.service_get
       [DEBUG   ] LazyLoaded keystoneng.user_get
       [DEBUG   ] LazyLoaded keystore.list
       [DEBUG   ] Could not LazyLoad kubernetes.ping: 'kubernetes.ping' is not available.
       [DEBUG   ] LazyLoaded layman.add
       [DEBUG   ] LazyLoaded libcloud_dns.list_zones
       [DEBUG   ] LazyLoaded libcloud_loadbalancer.list_balancers
       [DEBUG   ] LazyLoaded libcloud_storage.list_containers
       [DEBUG   ] LazyLoaded logadm.list_conf
       [DEBUG   ] LazyLoaded lvs.get_rules
       [DEBUG   ] LazyLoaded lvs.get_rules
       [DEBUG   ] LazyLoaded lxd.version
       [DEBUG   ] LazyLoaded lxd.version
       [DEBUG   ] LazyLoaded lxd.version
       [DEBUG   ] LazyLoaded makeconf.get_var
       [DEBUG   ] LazyLoaded memcached.status
       [DEBUG   ] LazyLoaded mongodb.db_exists
       [DEBUG   ] LazyLoaded mongodb.user_exists
       [DEBUG   ] LazyLoaded monit.summary
       [DEBUG   ] LazyLoaded mssql.version
       [DEBUG   ] LazyLoaded mssql.version
       [DEBUG   ] LazyLoaded mssql.version
       [DEBUG   ] LazyLoaded mssql.version
       [DEBUG   ] LazyLoaded mysql.db_exists
       [DEBUG   ] LazyLoaded mysql.grant_exists
       [DEBUG   ] LazyLoaded mysql.query
       [DEBUG   ] LazyLoaded mysql.user_create
       [DEBUG   ] LazyLoaded neutronng.list_networks
       [DEBUG   ] LazyLoaded neutronng.list_subnets
       [DEBUG   ] LazyLoaded neutronng.list_subnets
       [DEBUG   ] LazyLoaded neutronng.list_subnets
       [DEBUG   ] LazyLoaded nftables.version
       [DEBUG   ] LazyLoaded npm.list
       [DEBUG   ] LazyLoaded openvswitch.bridge_create
       [DEBUG   ] LazyLoaded openvswitch.port_add
       [DEBUG   ] LazyLoaded panos.commit
       [DEBUG   ] LazyLoaded pdbedit.create
       [DEBUG   ] LazyLoaded pecl.list
       [DEBUG   ] LazyLoaded portage_config.get_missing_flags
       [DEBUG   ] LazyLoaded postgres.cluster_exists
       [DEBUG   ] LazyLoaded postgres.user_exists
       [DEBUG   ] LazyLoaded postgres.create_extension
       [DEBUG   ] LazyLoaded postgres.group_create
       [DEBUG   ] LazyLoaded postgres.datadir_init
       [DEBUG   ] LazyLoaded postgres.language_create
       [DEBUG   ] LazyLoaded postgres.privileges_grant
       [DEBUG   ] LazyLoaded postgres.schema_exists
       [DEBUG   ] LazyLoaded postgres.tablespace_exists
       [DEBUG   ] LazyLoaded postgres.user_exists
       [DEBUG   ] LazyLoaded quota.report
       [DEBUG   ] LazyLoaded rabbitmq.list_upstreams
       [DEBUG   ] Could not LazyLoad rbac.profile_list: 'rbac.profile_list' is not available.
       [DEBUG   ] LazyLoaded rdp.enable
       [DEBUG   ] Could not LazyLoad redis.set_key: 'redis.set_key' is not available.
       [DEBUG   ] Could not LazyLoad reg.read_value: 'reg.read_value' is not available.
       [DEBUG   ] LazyLoaded selinux.getenforce
       [DEBUG   ] Could not LazyLoad vmadm.create: 'vmadm.create' is not available.
       [DEBUG   ] LazyLoaded snapper.diff
       [DEBUG   ] LazyLoaded splunk.list_users
       [DEBUG   ] LazyLoaded splunk_search.get
       [DEBUG   ] LazyLoaded tls.cert_info
       [DEBUG   ] LazyLoaded tomcat.status
       [DEBUG   ] LazyLoaded trafficserver.set_config
       [DEBUG   ] LazyLoaded vagrant.version
       [DEBUG   ] LazyLoaded victorops.create_event
       [DEBUG   ] LazyLoaded virt.node_info
       [DEBUG   ] LazyLoaded win_dacl.add_ace
       [DEBUG   ] LazyLoaded win_dns_client.add_dns
       [DEBUG   ] Could not LazyLoad firewall.get_config: 'firewall.get_config' is not available.
       [DEBUG   ] LazyLoaded win_iis.create_site
       [DEBUG   ] Could not LazyLoad lgpo.set: 'lgpo.set' is not available.
       [DEBUG   ] LazyLoaded win_path.rehash
       [DEBUG   ] LazyLoaded win_pki.get_stores
       [DEBUG   ] LazyLoaded win_servermanager.install
       [DEBUG   ] LazyLoaded win_smtp_server.get_server_setting
       [DEBUG   ] LazyLoaded win_snmp.get_agent_settings
       [DEBUG   ] LazyLoaded wordpress.show_plugin
       [DEBUG   ] LazyLoaded x509.get_pem_entry
       [DEBUG   ] LazyLoaded xmpp.send_msg
       [DEBUG   ] LazyLoaded zk_concurrency.lock
       [DEBUG   ] LazyLoaded zonecfg.create
       [DEBUG   ] LazyLoaded zookeeper.create
       [DEBUG   ] Could not LazyLoad file.mod_run_check: 'file.mod_run_check' is not available.
       [INFO    ] {'/var/lib/mfs/metadata.mfs': '/var/lib/mfs/metadata.mfs.empty', 'user': 'mfs', 'group': 'mfs', 'mode': '0640'}
       [INFO    ] Completed state [/var/lib/mfs/metadata.mfs] at time 12:16:07.202404 (duration_in_ms=2277.884)
       [INFO    ] Running state [moosefs-master] at time 12:16:07.203151
       [INFO    ] Executing state service.running for [moosefs-master]
       [INFO    ] Executing command systemctl in directory '/home/kitchen'
       [DEBUG   ] stdout: * moosefs-master.service - MooseFS metadata server
            Loaded: loaded (/lib/systemd/system/moosefs-master.service; disabled; vendor preset: enabled)
            Active: inactive (dead)
       Docs: man:mfsmaster
       [DEBUG   ] retcode: 3
       [INFO    ] Executing command systemctl in directory '/home/kitchen'
       [DEBUG   ] stdout: inactive
       [DEBUG   ] retcode: 3
       [INFO    ] Executing command systemctl in directory '/home/kitchen'
       [DEBUG   ] stdout: disabled
       [DEBUG   ] retcode: 1
       [DEBUG   ] sysvinit script 'moosefs-master' found, but systemd unit 'moosefs-master.service' already exists
       [DEBUG   ] sysvinit script 'ssh' found, but systemd unit 'ssh.service' already exists
       [DEBUG   ] sysvinit script 'procps' found, but systemd unit 'procps.service' already exists
       [DEBUG   ] sysvinit script 'sudo' found, but systemd unit 'sudo.service' already exists
       [DEBUG   ] sysvinit script 'salt-minion' found, but systemd unit 'salt-minion.service' already exists
       [DEBUG   ] sysvinit script 'udev' found, but systemd unit 'udev.service' already exists
       [INFO    ] Executing command systemd-run in directory '/home/kitchen'
       [DEBUG   ] stderr: Running scope as unit: run-r5d6a531af0104ffdb880cdb6493ee1a9.scope
       [INFO    ] Executing command systemctl in directory '/home/kitchen'
       [DEBUG   ] stdout: active
       [INFO    ] Executing command systemctl in directory '/home/kitchen'
       [DEBUG   ] stdout: disabled
       [DEBUG   ] retcode: 1
       [DEBUG   ] sysvinit script 'moosefs-master' found, but systemd unit 'moosefs-master.service' already exists
       [DEBUG   ] sysvinit script 'ssh' found, but systemd unit 'ssh.service' already exists
       [DEBUG   ] sysvinit script 'procps' found, but systemd unit 'procps.service' already exists
       [DEBUG   ] sysvinit script 'sudo' found, but systemd unit 'sudo.service' already exists
       [DEBUG   ] sysvinit script 'salt-minion' found, but systemd unit 'salt-minion.service' already exists
       [DEBUG   ] sysvinit script 'udev' found, but systemd unit 'udev.service' already exists
       [INFO    ] Executing command systemctl in directory '/home/kitchen'
       [DEBUG   ] stdout: disabled
       [DEBUG   ] retcode: 1
       [DEBUG   ] sysvinit script 'moosefs-master' found, but systemd unit 'moosefs-master.service' already exists
       [DEBUG   ] sysvinit script 'ssh' found, but systemd unit 'ssh.service' already exists
       [DEBUG   ] sysvinit script 'procps' found, but systemd unit 'procps.service' already exists
       [DEBUG   ] sysvinit script 'sudo' found, but systemd unit 'sudo.service' already exists
       [DEBUG   ] sysvinit script 'salt-minion' found, but systemd unit 'salt-minion.service' already exists
       [DEBUG   ] sysvinit script 'udev' found, but systemd unit 'udev.service' already exists
       [DEBUG   ] sysvinit script 'moosefs-master' found, but systemd unit 'moosefs-master.service' already exists
       [DEBUG   ] sysvinit script 'ssh' found, but systemd unit 'ssh.service' already exists
       [DEBUG   ] sysvinit script 'procps' found, but systemd unit 'procps.service' already exists
       [DEBUG   ] sysvinit script 'sudo' found, but systemd unit 'sudo.service' already exists
       [DEBUG   ] sysvinit script 'salt-minion' found, but systemd unit 'salt-minion.service' already exists
       [DEBUG   ] sysvinit script 'udev' found, but systemd unit 'udev.service' already exists
       [INFO    ] Executing command systemd-run in directory '/home/kitchen'
       [DEBUG   ] stderr: Running scope as unit: run-r6fa2791c559e4b348ee291accb17bb52.scope
       Synchronizing state of moosefs-master.service with SysV service script with /lib/systemd/systemd-sysv-install.
       Executing: /lib/systemd/systemd-sysv-install enable moosefs-master
       Created symlink /etc/systemd/system/multi-user.target.wants/moosefs-master.service -> /lib/systemd/system/moosefs-master.service.
       [INFO    ] Executing command systemctl in directory '/home/kitchen'
       [DEBUG   ] stdout: enabled
       [INFO    ] {'moosefs-master': True}
       [INFO    ] Completed state [moosefs-master] at time 12:16:07.854462 (duration_in_ms=651.309)
       [INFO    ] Running state [moosefs-metalogger] at time 12:16:07.855180
       [INFO    ] Executing state pkg.installed for [moosefs-metalogger]
       [DEBUG   ] Could not LazyLoad pkg.resolve_capabilities: 'pkg.resolve_capabilities' is not available.
       [DEBUG   ] Could not LazyLoad pkg.check_db: 'pkg.check_db' is not available.
       [INFO    ] Executing command dpkg in directory '/home/kitchen'
       [INFO    ] Executing command systemd-run in directory '/home/kitchen'
       [INFO    ] Executing command dpkg-query in directory '/home/kitchen'
       [INFO    ] Made the following changes:
       'moosefs-metalogger' changed from 'absent' to '3.0.115-1'
       
       [DEBUG   ] Refreshing modules...
       [INFO    ] Loading fresh modules for state activity
       [DEBUG   ] Using importlib_metadata to load entry points
       [DEBUG   ] LazyLoaded jinja.render
       [DEBUG   ] LazyLoaded yaml.render
       [INFO    ] Completed state [moosefs-metalogger] at time 12:16:09.930458 (duration_in_ms=2075.278)
       [DEBUG   ] LazyLoaded config.option
       [DEBUG   ] LazyLoaded file.managed
       [INFO    ] Running state [/etc/mfs/mfsmetalogger.cfg] at time 12:16:09.936023
       [INFO    ] Executing state file.managed for [/etc/mfs/mfsmetalogger.cfg]
       [DEBUG   ] LazyLoaded file.user_to_uid
       [DEBUG   ] LazyLoaded cp.list_master
       [DEBUG   ] LazyLoaded roots.envs
       [DEBUG   ] Could not LazyLoad roots.init: 'roots.init' is not available.
       [DEBUG   ] Returning file list from cache: age=18 cache_time=20 /tmp/kitchen/var/cache/salt/minion/file_lists/roots/base.p
       [DEBUG   ] Returning file list from cache: age=18 cache_time=20 /tmp/kitchen/var/cache/salt/minion/file_lists/roots/base.p
       [DEBUG   ] In saltenv 'base', looking at rel_path 'moosefs/metalogger/config/files/default/mfsmetalogger.cfg.jinja' to resolve 'salt://moosefs/metalogger/config/files/default/mfsmetalogger.cfg.jinja'
       [DEBUG   ] In saltenv 'base', ** considering ** path '/tmp/kitchen/var/cache/salt/minion/files/base/moosefs/metalogger/config/files/default/mfsmetalogger.cfg.jinja' to resolve 'salt://moosefs/metalogger/config/files/default/mfsmetalogger.cfg.jinja'
       [DEBUG   ] Fetching file from saltenv 'base', ** attempting ** 'salt://moosefs/metalogger/config/files/default/mfsmetalogger.cfg.jinja'
       [DEBUG   ] No dest file found
       [INFO    ] Fetching file from saltenv 'base', ** done ** 'moosefs/metalogger/config/files/default/mfsmetalogger.cfg.jinja'
       [DEBUG   ] Jinja search path: ['/tmp/kitchen/var/cache/salt/minion/files/base']
       [DEBUG   ] In saltenv 'base', looking at rel_path 'moosefs/libs/libconfig.jinja' to resolve 'salt://moosefs/libs/libconfig.jinja'
       [DEBUG   ] In saltenv 'base', ** considering ** path '/tmp/kitchen/var/cache/salt/minion/files/base/moosefs/libs/libconfig.jinja' to resolve 'salt://moosefs/libs/libconfig.jinja'
       [INFO    ] File changed:
       New file
       [INFO    ] Completed state [/etc/mfs/mfsmetalogger.cfg] at time 12:16:10.012895 (duration_in_ms=76.872)
       [DEBUG   ] LazyLoaded systemd.booted
       [DEBUG   ] LazyLoaded service.start
       [DEBUG   ] LazyLoaded service.running
       [INFO    ] Running state [moosefs-metalogger] at time 12:16:10.036104
       [INFO    ] Executing state service.running for [moosefs-metalogger]
       [DEBUG   ] LazyLoaded cmd.run_all
       [INFO    ] Executing command systemctl in directory '/home/kitchen'
       [DEBUG   ] stdout: * moosefs-metalogger.service - MooseFS Metalogger server
            Loaded: loaded (/lib/systemd/system/moosefs-metalogger.service; disabled; vendor preset: enabled)
            Active: inactive (dead)
       Docs: man:mfsmetalogger
       [DEBUG   ] retcode: 3
       [INFO    ] Executing command systemctl in directory '/home/kitchen'
       [DEBUG   ] stdout: inactive
       [DEBUG   ] retcode: 3
       [INFO    ] Executing command systemctl in directory '/home/kitchen'
       [DEBUG   ] stdout: disabled
       [DEBUG   ] retcode: 1
       [DEBUG   ] sysvinit script 'moosefs-master' found, but systemd unit 'moosefs-master.service' already exists
       [DEBUG   ] sysvinit script 'moosefs-metalogger' found, but systemd unit 'moosefs-metalogger.service' already exists
       [DEBUG   ] sysvinit script 'ssh' found, but systemd unit 'ssh.service' already exists
       [DEBUG   ] sysvinit script 'procps' found, but systemd unit 'procps.service' already exists
       [DEBUG   ] sysvinit script 'sudo' found, but systemd unit 'sudo.service' already exists
       [DEBUG   ] sysvinit script 'salt-minion' found, but systemd unit 'salt-minion.service' already exists
       [DEBUG   ] sysvinit script 'udev' found, but systemd unit 'udev.service' already exists
       [INFO    ] Executing command systemd-run in directory '/home/kitchen'
       [DEBUG   ] stderr: Running scope as unit: run-r6b978cbe25e94f028410dd31c32e8083.scope
       [INFO    ] Executing command systemctl in directory '/home/kitchen'
       [DEBUG   ] stdout: active
       [INFO    ] Executing command systemctl in directory '/home/kitchen'
       [DEBUG   ] stdout: disabled
       [DEBUG   ] retcode: 1
       [DEBUG   ] sysvinit script 'moosefs-master' found, but systemd unit 'moosefs-master.service' already exists
       [DEBUG   ] sysvinit script 'moosefs-metalogger' found, but systemd unit 'moosefs-metalogger.service' already exists
       [DEBUG   ] sysvinit script 'ssh' found, but systemd unit 'ssh.service' already exists
       [DEBUG   ] sysvinit script 'procps' found, but systemd unit 'procps.service' already exists
       [DEBUG   ] sysvinit script 'sudo' found, but systemd unit 'sudo.service' already exists
       [DEBUG   ] sysvinit script 'salt-minion' found, but systemd unit 'salt-minion.service' already exists
       [DEBUG   ] sysvinit script 'udev' found, but systemd unit 'udev.service' already exists
       [INFO    ] Executing command systemctl in directory '/home/kitchen'
       [DEBUG   ] stdout: disabled
       [DEBUG   ] retcode: 1
       [DEBUG   ] sysvinit script 'moosefs-master' found, but systemd unit 'moosefs-master.service' already exists
       [DEBUG   ] sysvinit script 'moosefs-metalogger' found, but systemd unit 'moosefs-metalogger.service' already exists
       [DEBUG   ] sysvinit script 'ssh' found, but systemd unit 'ssh.service' already exists
       [DEBUG   ] sysvinit script 'procps' found, but systemd unit 'procps.service' already exists
       [DEBUG   ] sysvinit script 'sudo' found, but systemd unit 'sudo.service' already exists
       [DEBUG   ] sysvinit script 'salt-minion' found, but systemd unit 'salt-minion.service' already exists
       [DEBUG   ] sysvinit script 'udev' found, but systemd unit 'udev.service' already exists
       [DEBUG   ] sysvinit script 'moosefs-master' found, but systemd unit 'moosefs-master.service' already exists
       [DEBUG   ] sysvinit script 'moosefs-metalogger' found, but systemd unit 'moosefs-metalogger.service' already exists
       [DEBUG   ] sysvinit script 'ssh' found, but systemd unit 'ssh.service' already exists
       [DEBUG   ] sysvinit script 'procps' found, but systemd unit 'procps.service' already exists
       [DEBUG   ] sysvinit script 'sudo' found, but systemd unit 'sudo.service' already exists
       [DEBUG   ] sysvinit script 'salt-minion' found, but systemd unit 'salt-minion.service' already exists
       [DEBUG   ] sysvinit script 'udev' found, but systemd unit 'udev.service' already exists
       [INFO    ] Executing command systemd-run in directory '/home/kitchen'
       [DEBUG   ] stderr: Running scope as unit: run-r440ae466fb4d43e9a0530014eaf6bc3b.scope
       Synchronizing state of moosefs-metalogger.service with SysV service script with /lib/systemd/systemd-sysv-install.
       Executing: /lib/systemd/systemd-sysv-install enable moosefs-metalogger
       Created symlink /etc/systemd/system/multi-user.target.wants/moosefs-metalogger.service -> /lib/systemd/system/moosefs-metalogger.service.
       [INFO    ] Executing command systemctl in directory '/home/kitchen'
       [DEBUG   ] stdout: enabled
       [INFO    ] {'moosefs-metalogger': True}
       [INFO    ] Completed state [moosefs-metalogger] at time 12:16:10.628779 (duration_in_ms=592.675)
       [DEBUG   ] LazyLoaded pkg.install
       [DEBUG   ] LazyLoaded pkg.installed
       [INFO    ] Running state [moosefs-chunkserver] at time 12:16:10.642959
       [INFO    ] Executing state pkg.installed for [moosefs-chunkserver]
       [DEBUG   ] LazyLoaded path.which
       [DEBUG   ] Override  __grains__: <module 'salt.loaded.int.module.grains' from '/usr/lib/python3/dist-packages/salt/modules/grains.py'>
       [DEBUG   ] Reading configuration from /etc/salt/minion
       [DEBUG   ] Guessing ID. The id can be explicitly set in /etc/salt/minion
       [DEBUG   ] Found minion id from generate_minion_id(): moosefs.example.net
       [DEBUG   ] Using importlib_metadata to load entry points
       [DEBUG   ] Could not LazyLoad idem.hub: 'idem' __virtual__ returned False: No module named 'pop'
       [DEBUG   ] Override  __salt__: <module 'salt.loaded.int.module.udev' from '/usr/lib/python3/dist-packages/salt/modules/udev.py'>
       [DEBUG   ] Override  __pillar__: <module 'salt.loaded.int.module.virtualenv_mod' from '/usr/lib/python3/dist-packages/salt/modules/virtualenv_mod.py'>
       [DEBUG   ] DSC: Only available on Windows systems
       [DEBUG   ] Module PSGet: Only available on Windows systems
       [DEBUG   ] Could not LazyLoad pkg.resolve_capabilities: 'pkg.resolve_capabilities' is not available.
       [DEBUG   ] Could not LazyLoad pkg.check_db: 'pkg.check_db' is not available.
       [INFO    ] Executing command dpkg in directory '/home/kitchen'
       [INFO    ] Executing command systemd-run in directory '/home/kitchen'
       [INFO    ] Executing command dpkg-query in directory '/home/kitchen'
       [INFO    ] Made the following changes:
       'moosefs-chunkserver' changed from 'absent' to '3.0.115-1'
       
       [DEBUG   ] Refreshing modules...
       [INFO    ] Loading fresh modules for state activity
       [DEBUG   ] Using importlib_metadata to load entry points
       [DEBUG   ] LazyLoaded jinja.render
       [DEBUG   ] LazyLoaded yaml.render
       [INFO    ] Completed state [moosefs-chunkserver] at time 12:16:13.409612 (duration_in_ms=2766.65)
       [DEBUG   ] LazyLoaded config.option
       [DEBUG   ] LazyLoaded file.managed
       [INFO    ] Running state [/etc/mfs/mfschunkserver.cfg] at time 12:16:13.413573
       [INFO    ] Executing state file.managed for [/etc/mfs/mfschunkserver.cfg]
       [DEBUG   ] LazyLoaded file.user_to_uid
       [DEBUG   ] LazyLoaded cp.list_master
       [DEBUG   ] LazyLoaded roots.envs
       [DEBUG   ] Could not LazyLoad roots.init: 'roots.init' is not available.
       [DEBUG   ] Unable to list dir: /tmp/kitchen/srv/salt/top.sls
       [DEBUG   ] Unable to list dir: /tmp/kitchen/srv/salt/moosefs/cleaned.sls
       [DEBUG   ] Unable to list dir: /tmp/kitchen/srv/salt/moosefs/init.sls
       [DEBUG   ] Unable to list dir: /tmp/kitchen/srv/salt/moosefs/_mapdata/_mapdata.jinja
       [DEBUG   ] Unable to list dir: /tmp/kitchen/srv/salt/moosefs/_mapdata/init.sls
       [DEBUG   ] Unable to list dir: /tmp/kitchen/srv/salt/moosefs/cgiserv/cleaned.sls
       [DEBUG   ] Unable to list dir: /tmp/kitchen/srv/salt/moosefs/cgiserv/init.sls
       [DEBUG   ] Unable to list dir: /tmp/kitchen/srv/salt/moosefs/cgiserv/service/cleaned.sls
       [DEBUG   ] Unable to list dir: /tmp/kitchen/srv/salt/moosefs/cgiserv/service/running.sls
       [DEBUG   ] Unable to list dir: /tmp/kitchen/srv/salt/moosefs/cgiserv/service/init.sls
       [DEBUG   ] Unable to list dir: /tmp/kitchen/srv/salt/moosefs/cgiserv/package/installed.sls
       [DEBUG   ] Unable to list dir: /tmp/kitchen/srv/salt/moosefs/cgiserv/package/cleaned.sls
       [DEBUG   ] Unable to list dir: /tmp/kitchen/srv/salt/moosefs/cgiserv/package/init.sls
       [DEBUG   ] Unable to list dir: /tmp/kitchen/srv/salt/moosefs/cgiserv/config/cleaned.sls
       [DEBUG   ] Unable to list dir: /tmp/kitchen/srv/salt/moosefs/cgiserv/config/moosefs-cgiserv.sls
       [DEBUG   ] Unable to list dir: /tmp/kitchen/srv/salt/moosefs/cgiserv/config/init.sls
       [DEBUG   ] Unable to list dir: /tmp/kitchen/srv/salt/moosefs/cgiserv/config/files/default/moosefs-cgiserv.jinja
       [DEBUG   ] Unable to list dir: /tmp/kitchen/srv/salt/moosefs/client/cleaned.sls
       [DEBUG   ] Unable to list dir: /tmp/kitchen/srv/salt/moosefs/client/init.sls
       [DEBUG   ] Unable to list dir: /tmp/kitchen/srv/salt/moosefs/client/package/installed.sls
       [DEBUG   ] Unable to list dir: /tmp/kitchen/srv/salt/moosefs/client/package/cleaned.sls
       [DEBUG   ] Unable to list dir: /tmp/kitchen/srv/salt/moosefs/client/package/init.sls
       [DEBUG   ] Unable to list dir: /tmp/kitchen/srv/salt/moosefs/client/config/cleaned.sls
       [DEBUG   ] Unable to list dir: /tmp/kitchen/srv/salt/moosefs/client/config/mounts.sls
       [DEBUG   ] Unable to list dir: /tmp/kitchen/srv/salt/moosefs/client/config/init.sls
       [DEBUG   ] Unable to list dir: /tmp/kitchen/srv/salt/moosefs/chunkserver/cleaned.sls
       [DEBUG   ] Unable to list dir: /tmp/kitchen/srv/salt/moosefs/chunkserver/init.sls
       [DEBUG   ] Unable to list dir: /tmp/kitchen/srv/salt/moosefs/chunkserver/service/cleaned.sls
       [DEBUG   ] Unable to list dir: /tmp/kitchen/srv/salt/moosefs/chunkserver/service/running.sls
       [DEBUG   ] Unable to list dir: /tmp/kitchen/srv/salt/moosefs/chunkserver/service/init.sls
       [DEBUG   ] Unable to list dir: /tmp/kitchen/srv/salt/moosefs/chunkserver/package/installed.sls
       [DEBUG   ] Unable to list dir: /tmp/kitchen/srv/salt/moosefs/chunkserver/package/cleaned.sls
       [DEBUG   ] Unable to list dir: /tmp/kitchen/srv/salt/moosefs/chunkserver/package/init.sls
       [DEBUG   ] Unable to list dir: /tmp/kitchen/srv/salt/moosefs/chunkserver/config/cleaned.sls
       [DEBUG   ] Unable to list dir: /tmp/kitchen/srv/salt/moosefs/chunkserver/config/mfschunkserver.sls
       [DEBUG   ] Unable to list dir: /tmp/kitchen/srv/salt/moosefs/chunkserver/config/mfshdd.sls
       [DEBUG   ] Unable to list dir: /tmp/kitchen/srv/salt/moosefs/chunkserver/config/init.sls
       [DEBUG   ] Unable to list dir: /tmp/kitchen/srv/salt/moosefs/chunkserver/config/files/default/mfschunkserver.cfg.jinja
       [DEBUG   ] Unable to list dir: /tmp/kitchen/srv/salt/moosefs/chunkserver/config/files/default/mfshdd.cfg.jinja
       [DEBUG   ] Unable to list dir: /tmp/kitchen/srv/salt/moosefs/metalogger/cleaned.sls
       [DEBUG   ] Unable to list dir: /tmp/kitchen/srv/salt/moosefs/metalogger/init.sls
       [DEBUG   ] Unable to list dir: /tmp/kitchen/srv/salt/moosefs/metalogger/service/cleaned.sls
       [DEBUG   ] Unable to list dir: /tmp/kitchen/srv/salt/moosefs/metalogger/service/running.sls
       [DEBUG   ] Unable to list dir: /tmp/kitchen/srv/salt/moosefs/metalogger/service/init.sls
       [DEBUG   ] Unable to list dir: /tmp/kitchen/srv/salt/moosefs/metalogger/package/installed.sls
       [DEBUG   ] Unable to list dir: /tmp/kitchen/srv/salt/moosefs/metalogger/package/cleaned.sls
       [DEBUG   ] Unable to list dir: /tmp/kitchen/srv/salt/moosefs/metalogger/package/init.sls
       [DEBUG   ] Unable to list dir: /tmp/kitchen/srv/salt/moosefs/metalogger/config/cleaned.sls
       [DEBUG   ] Unable to list dir: /tmp/kitchen/srv/salt/moosefs/metalogger/config/mfsmetalogger.sls
       [DEBUG   ] Unable to list dir: /tmp/kitchen/srv/salt/moosefs/metalogger/config/init.sls
       [DEBUG   ] Unable to list dir: /tmp/kitchen/srv/salt/moosefs/metalogger/config/files/default/mfsmetalogger.cfg.jinja
       [DEBUG   ] Unable to list dir: /tmp/kitchen/srv/salt/moosefs/master/cleaned.sls
       [DEBUG   ] Unable to list dir: /tmp/kitchen/srv/salt/moosefs/master/init.sls
       [DEBUG   ] Unable to list dir: /tmp/kitchen/srv/salt/moosefs/master/service/cleaned.sls
       [DEBUG   ] Unable to list dir: /tmp/kitchen/srv/salt/moosefs/master/service/running.sls
       [DEBUG   ] Unable to list dir: /tmp/kitchen/srv/salt/moosefs/master/service/init.sls
       [DEBUG   ] Unable to list dir: /tmp/kitchen/srv/salt/moosefs/master/package/installed.sls
       [DEBUG   ] Unable to list dir: /tmp/kitchen/srv/salt/moosefs/master/package/cleaned.sls
       [DEBUG   ] Unable to list dir: /tmp/kitchen/srv/salt/moosefs/master/package/init.sls
       [DEBUG   ] Unable to list dir: /tmp/kitchen/srv/salt/moosefs/master/config/cleaned.sls
       [DEBUG   ] Unable to list dir: /tmp/kitchen/srv/salt/moosefs/master/config/mfsmaster.sls
       [DEBUG   ] Unable to list dir: /tmp/kitchen/srv/salt/moosefs/master/config/mfstopology.sls
       [DEBUG   ] Unable to list dir: /tmp/kitchen/srv/salt/moosefs/master/config/moosefs-master-default.sls
       [DEBUG   ] Unable to list dir: /tmp/kitchen/srv/salt/moosefs/master/config/metadata.sls
       [DEBUG   ] Unable to list dir: /tmp/kitchen/srv/salt/moosefs/master/config/mfsexports.sls
       [DEBUG   ] Unable to list dir: /tmp/kitchen/srv/salt/moosefs/master/config/init.sls
       [DEBUG   ] Unable to list dir: /tmp/kitchen/srv/salt/moosefs/master/config/files/default/mfstopology.cfg.jinja
       [DEBUG   ] Unable to list dir: /tmp/kitchen/srv/salt/moosefs/master/config/files/default/moosefs-master-default.jinja
       [DEBUG   ] Unable to list dir: /tmp/kitchen/srv/salt/moosefs/master/config/files/default/mfsexports.cfg.jinja
       [DEBUG   ] Unable to list dir: /tmp/kitchen/srv/salt/moosefs/master/config/files/default/mfsmaster.cfg.jinja
       [DEBUG   ] Unable to list dir: /tmp/kitchen/srv/salt/moosefs/libs/libmatchers.jinja
       [DEBUG   ] Unable to list dir: /tmp/kitchen/srv/salt/moosefs/libs/libsaltcli.jinja
       [DEBUG   ] Unable to list dir: /tmp/kitchen/srv/salt/moosefs/libs/libmapstack.jinja
       [DEBUG   ] Unable to list dir: /tmp/kitchen/srv/salt/moosefs/libs/libconfig.jinja
       [DEBUG   ] Unable to list dir: /tmp/kitchen/srv/salt/moosefs/libs/libtofs.jinja
       [DEBUG   ] Unable to list dir: /tmp/kitchen/srv/salt/moosefs/libs/map.jinja
       [DEBUG   ] Unable to list dir: /tmp/kitchen/srv/salt/moosefs/files/metadata.mfs
       [DEBUG   ] Unable to list dir: /tmp/kitchen/srv/salt/moosefs/files/debian/mfscgiserv.init
       [DEBUG   ] Unable to list dir: /tmp/kitchen/srv/salt/moosefs/files/debian/mfschunkserver.init
       [DEBUG   ] Unable to list dir: /tmp/kitchen/srv/salt/moosefs/files/debian/mfsmetalogger.init
       [DEBUG   ] Unable to list dir: /tmp/kitchen/srv/salt/moosefs/files/debian/mfsmaster.init
       [DEBUG   ] Unable to list dir: /tmp/kitchen/srv/salt/moosefs/files/redhat/mfscgiserv.init
       [DEBUG   ] Unable to list dir: /tmp/kitchen/srv/salt/moosefs/files/redhat/mfschunkserver.init
       [DEBUG   ] Unable to list dir: /tmp/kitchen/srv/salt/moosefs/files/redhat/mfsmetalogger.init
       [DEBUG   ] Unable to list dir: /tmp/kitchen/srv/salt/moosefs/files/redhat/mfsmaster.init
       [DEBUG   ] Unable to list dir: /tmp/kitchen/srv/salt/moosefs/cli/cleaned.sls
       [DEBUG   ] Unable to list dir: /tmp/kitchen/srv/salt/moosefs/cli/init.sls
       [DEBUG   ] Unable to list dir: /tmp/kitchen/srv/salt/moosefs/cli/package/installed.sls
       [DEBUG   ] Unable to list dir: /tmp/kitchen/srv/salt/moosefs/cli/package/cleaned.sls
       [DEBUG   ] Unable to list dir: /tmp/kitchen/srv/salt/moosefs/cli/package/init.sls
       [DEBUG   ] Unable to list dir: /tmp/kitchen/srv/salt/moosefs/netdump/cleaned.sls
       [DEBUG   ] Unable to list dir: /tmp/kitchen/srv/salt/moosefs/netdump/init.sls
       [DEBUG   ] Unable to list dir: /tmp/kitchen/srv/salt/moosefs/netdump/package/installed.sls
       [DEBUG   ] Unable to list dir: /tmp/kitchen/srv/salt/moosefs/netdump/package/cleaned.sls
       [DEBUG   ] Unable to list dir: /tmp/kitchen/srv/salt/moosefs/netdump/package/init.sls
       [DEBUG   ] Unable to list dir: /tmp/kitchen/srv/salt/moosefs/parameters/defaults.yaml
       [DEBUG   ] Unable to list dir: /tmp/kitchen/srv/salt/moosefs/parameters/os_family/FreeBSD.yaml
       [DEBUG   ] Unable to list dir: /tmp/kitchen/srv/salt/moosefs/cgi/cleaned.sls
       [DEBUG   ] Unable to list dir: /tmp/kitchen/srv/salt/moosefs/cgi/init.sls
       [DEBUG   ] Unable to list dir: /tmp/kitchen/srv/salt/moosefs/cgi/package/installed.sls
       [DEBUG   ] Unable to list dir: /tmp/kitchen/srv/salt/moosefs/cgi/package/cleaned.sls
       [DEBUG   ] Unable to list dir: /tmp/kitchen/srv/salt/moosefs/cgi/package/init.sls
       [DEBUG   ] Returning file list from cache: age=0 cache_time=20 /tmp/kitchen/var/cache/salt/minion/file_lists/roots/base.p
       [DEBUG   ] In saltenv 'base', looking at rel_path 'moosefs/chunkserver/config/files/default/mfschunkserver.cfg.jinja' to resolve 'salt://moosefs/chunkserver/config/files/default/mfschunkserver.cfg.jinja'
       [DEBUG   ] In saltenv 'base', ** considering ** path '/tmp/kitchen/var/cache/salt/minion/files/base/moosefs/chunkserver/config/files/default/mfschunkserver.cfg.jinja' to resolve 'salt://moosefs/chunkserver/config/files/default/mfschunkserver.cfg.jinja'
       [DEBUG   ] Fetching file from saltenv 'base', ** attempting ** 'salt://moosefs/chunkserver/config/files/default/mfschunkserver.cfg.jinja'
       [DEBUG   ] No dest file found
       [INFO    ] Fetching file from saltenv 'base', ** done ** 'moosefs/chunkserver/config/files/default/mfschunkserver.cfg.jinja'
       [DEBUG   ] Jinja search path: ['/tmp/kitchen/var/cache/salt/minion/files/base']
       [DEBUG   ] In saltenv 'base', looking at rel_path 'moosefs/libs/libconfig.jinja' to resolve 'salt://moosefs/libs/libconfig.jinja'
       [DEBUG   ] In saltenv 'base', ** considering ** path '/tmp/kitchen/var/cache/salt/minion/files/base/moosefs/libs/libconfig.jinja' to resolve 'salt://moosefs/libs/libconfig.jinja'
       [INFO    ] File changed:
       New file
       [INFO    ] Completed state [/etc/mfs/mfschunkserver.cfg] at time 12:16:13.533953 (duration_in_ms=120.38)
       [INFO    ] Running state [/srv/moosefs-storage] at time 12:16:13.534238
       [INFO    ] Executing state file.directory for [/srv/moosefs-storage]
       [INFO    ] {'/srv/moosefs-storage': {'directory': 'new'}}
       [INFO    ] Completed state [/srv/moosefs-storage] at time 12:16:13.538291 (duration_in_ms=4.053)
       [INFO    ] Running state [/etc/mfs/mfshdd.cfg] at time 12:16:13.539377
       [INFO    ] Executing state file.managed for [/etc/mfs/mfshdd.cfg]
       [DEBUG   ] Returning file list from cache: age=0 cache_time=20 /tmp/kitchen/var/cache/salt/minion/file_lists/roots/base.p
       [DEBUG   ] Returning file list from cache: age=0 cache_time=20 /tmp/kitchen/var/cache/salt/minion/file_lists/roots/base.p
       [DEBUG   ] In saltenv 'base', looking at rel_path 'moosefs/chunkserver/config/files/default/mfshdd.cfg.jinja' to resolve 'salt://moosefs/chunkserver/config/files/default/mfshdd.cfg.jinja'
       [DEBUG   ] In saltenv 'base', ** considering ** path '/tmp/kitchen/var/cache/salt/minion/files/base/moosefs/chunkserver/config/files/default/mfshdd.cfg.jinja' to resolve 'salt://moosefs/chunkserver/config/files/default/mfshdd.cfg.jinja'
       [DEBUG   ] Fetching file from saltenv 'base', ** attempting ** 'salt://moosefs/chunkserver/config/files/default/mfshdd.cfg.jinja'
       [DEBUG   ] No dest file found
       [INFO    ] Fetching file from saltenv 'base', ** done ** 'moosefs/chunkserver/config/files/default/mfshdd.cfg.jinja'
       [DEBUG   ] Jinja search path: ['/tmp/kitchen/var/cache/salt/minion/files/base']
       [INFO    ] File changed:
       New file
       [INFO    ] Completed state [/etc/mfs/mfshdd.cfg] at time 12:16:13.553612 (duration_in_ms=14.236)
       [DEBUG   ] LazyLoaded systemd.booted
       [DEBUG   ] LazyLoaded service.start
       [DEBUG   ] LazyLoaded service.running
       [INFO    ] Running state [moosefs-chunkserver] at time 12:16:13.569305
       [INFO    ] Executing state service.running for [moosefs-chunkserver]
       [DEBUG   ] LazyLoaded cmd.run_all
       [INFO    ] Executing command systemctl in directory '/home/kitchen'
       [DEBUG   ] stdout: * moosefs-chunkserver.service - MooseFS chunkserver daemon
            Loaded: loaded (/lib/systemd/system/moosefs-chunkserver.service; disabled; vendor preset: enabled)
            Active: inactive (dead)
       Docs: man:mfschunkserver
       [DEBUG   ] retcode: 3
       [INFO    ] Executing command systemctl in directory '/home/kitchen'
       [DEBUG   ] stdout: inactive
       [DEBUG   ] retcode: 3
       [INFO    ] Executing command systemctl in directory '/home/kitchen'
       [DEBUG   ] stdout: disabled
       [DEBUG   ] retcode: 1
       [DEBUG   ] sysvinit script 'moosefs-master' found, but systemd unit 'moosefs-master.service' already exists
       [DEBUG   ] sysvinit script 'moosefs-metalogger' found, but systemd unit 'moosefs-metalogger.service' already exists
       [DEBUG   ] sysvinit script 'moosefs-chunkserver' found, but systemd unit 'moosefs-chunkserver.service' already exists
       [DEBUG   ] sysvinit script 'ssh' found, but systemd unit 'ssh.service' already exists
       [DEBUG   ] sysvinit script 'procps' found, but systemd unit 'procps.service' already exists
       [DEBUG   ] sysvinit script 'sudo' found, but systemd unit 'sudo.service' already exists
       [DEBUG   ] sysvinit script 'salt-minion' found, but systemd unit 'salt-minion.service' already exists
       [DEBUG   ] sysvinit script 'udev' found, but systemd unit 'udev.service' already exists
       [INFO    ] Executing command systemd-run in directory '/home/kitchen'
       [DEBUG   ] stderr: Running scope as unit: run-rd8c0b6bbf85b43be94f5659cecb85abd.scope
       [INFO    ] Executing command systemctl in directory '/home/kitchen'
       [DEBUG   ] stdout: active
       [INFO    ] Executing command systemctl in directory '/home/kitchen'
       [DEBUG   ] stdout: disabled
       [DEBUG   ] retcode: 1
       [DEBUG   ] sysvinit script 'moosefs-master' found, but systemd unit 'moosefs-master.service' already exists
       [DEBUG   ] sysvinit script 'moosefs-metalogger' found, but systemd unit 'moosefs-metalogger.service' already exists
       [DEBUG   ] sysvinit script 'moosefs-chunkserver' found, but systemd unit 'moosefs-chunkserver.service' already exists
       [DEBUG   ] sysvinit script 'ssh' found, but systemd unit 'ssh.service' already exists
       [DEBUG   ] sysvinit script 'procps' found, but systemd unit 'procps.service' already exists
       [DEBUG   ] sysvinit script 'sudo' found, but systemd unit 'sudo.service' already exists
       [DEBUG   ] sysvinit script 'salt-minion' found, but systemd unit 'salt-minion.service' already exists
       [DEBUG   ] sysvinit script 'udev' found, but systemd unit 'udev.service' already exists
       [INFO    ] Executing command systemctl in directory '/home/kitchen'
       [DEBUG   ] stdout: disabled
       [DEBUG   ] retcode: 1
       [DEBUG   ] sysvinit script 'moosefs-master' found, but systemd unit 'moosefs-master.service' already exists
       [DEBUG   ] sysvinit script 'moosefs-metalogger' found, but systemd unit 'moosefs-metalogger.service' already exists
       [DEBUG   ] sysvinit script 'moosefs-chunkserver' found, but systemd unit 'moosefs-chunkserver.service' already exists
       [DEBUG   ] sysvinit script 'ssh' found, but systemd unit 'ssh.service' already exists
       [DEBUG   ] sysvinit script 'procps' found, but systemd unit 'procps.service' already exists
       [DEBUG   ] sysvinit script 'sudo' found, but systemd unit 'sudo.service' already exists
       [DEBUG   ] sysvinit script 'salt-minion' found, but systemd unit 'salt-minion.service' already exists
       [DEBUG   ] sysvinit script 'udev' found, but systemd unit 'udev.service' already exists
       [DEBUG   ] sysvinit script 'moosefs-master' found, but systemd unit 'moosefs-master.service' already exists
       [DEBUG   ] sysvinit script 'moosefs-metalogger' found, but systemd unit 'moosefs-metalogger.service' already exists
       [DEBUG   ] sysvinit script 'moosefs-chunkserver' found, but systemd unit 'moosefs-chunkserver.service' already exists
       [DEBUG   ] sysvinit script 'ssh' found, but systemd unit 'ssh.service' already exists
       [DEBUG   ] sysvinit script 'procps' found, but systemd unit 'procps.service' already exists
       [DEBUG   ] sysvinit script 'sudo' found, but systemd unit 'sudo.service' already exists
       [DEBUG   ] sysvinit script 'salt-minion' found, but systemd unit 'salt-minion.service' already exists
       [DEBUG   ] sysvinit script 'udev' found, but systemd unit 'udev.service' already exists
       [INFO    ] Executing command systemd-run in directory '/home/kitchen'
       [DEBUG   ] stderr: Running scope as unit: run-r2e52ea2a7ffa44c798f12075ed954442.scope
       Synchronizing state of moosefs-chunkserver.service with SysV service script with /lib/systemd/systemd-sysv-install.
       Executing: /lib/systemd/systemd-sysv-install enable moosefs-chunkserver
       Created symlink /etc/systemd/system/multi-user.target.wants/moosefs-chunkserver.service -> /lib/systemd/system/moosefs-chunkserver.service.
       [INFO    ] Executing command systemctl in directory '/home/kitchen'
       [DEBUG   ] stdout: enabled
       [INFO    ] {'moosefs-chunkserver': True}
       [INFO    ] Completed state [moosefs-chunkserver] at time 12:16:14.326364 (duration_in_ms=757.059)
       [DEBUG   ] LazyLoaded pkg.install
       [DEBUG   ] LazyLoaded pkg.installed
       [INFO    ] Running state [moosefs-cgi] at time 12:16:14.341144
       [INFO    ] Executing state pkg.installed for [moosefs-cgi]
       [DEBUG   ] LazyLoaded path.which
       [DEBUG   ] Override  __grains__: <module 'salt.loaded.int.module.grains' from '/usr/lib/python3/dist-packages/salt/modules/grains.py'>
       [DEBUG   ] Reading configuration from /etc/salt/minion
       [DEBUG   ] Guessing ID. The id can be explicitly set in /etc/salt/minion
       [DEBUG   ] Found minion id from generate_minion_id(): moosefs.example.net
       [DEBUG   ] Using importlib_metadata to load entry points
       [DEBUG   ] Could not LazyLoad idem.hub: 'idem' __virtual__ returned False: No module named 'pop'
       [DEBUG   ] Override  __salt__: <module 'salt.loaded.int.module.udev' from '/usr/lib/python3/dist-packages/salt/modules/udev.py'>
       [DEBUG   ] Override  __pillar__: <module 'salt.loaded.int.module.virtualenv_mod' from '/usr/lib/python3/dist-packages/salt/modules/virtualenv_mod.py'>
       [DEBUG   ] DSC: Only available on Windows systems
       [DEBUG   ] Module PSGet: Only available on Windows systems
       [DEBUG   ] Could not LazyLoad pkg.resolve_capabilities: 'pkg.resolve_capabilities' is not available.
       [DEBUG   ] Could not LazyLoad pkg.check_db: 'pkg.check_db' is not available.
       [INFO    ] Executing command dpkg in directory '/home/kitchen'
       [INFO    ] Executing command systemd-run in directory '/home/kitchen'
       [INFO    ] Executing command dpkg-query in directory '/home/kitchen'
       [INFO    ] Made the following changes:
       'moosefs-cgi' changed from 'absent' to '3.0.115-1'
       
       [DEBUG   ] Refreshing modules...
       [INFO    ] Loading fresh modules for state activity
       [DEBUG   ] Using importlib_metadata to load entry points
       [DEBUG   ] LazyLoaded jinja.render
       [DEBUG   ] LazyLoaded yaml.render
       [INFO    ] Completed state [moosefs-cgi] at time 12:16:17.018690 (duration_in_ms=2677.544)
       [DEBUG   ] LazyLoaded config.option
       [DEBUG   ] LazyLoaded pkg.install
       [DEBUG   ] LazyLoaded pkg.installed
       [INFO    ] Running state [moosefs-cgiserv] at time 12:16:17.027586
       [INFO    ] Executing state pkg.installed for [moosefs-cgiserv]
       [DEBUG   ] LazyLoaded path.which
       [DEBUG   ] Override  __grains__: <module 'salt.loaded.int.module.grains' from '/usr/lib/python3/dist-packages/salt/modules/grains.py'>
       [DEBUG   ] Reading configuration from /etc/salt/minion
       [DEBUG   ] Guessing ID. The id can be explicitly set in /etc/salt/minion
       [DEBUG   ] Found minion id from generate_minion_id(): moosefs.example.net
       [DEBUG   ] Using importlib_metadata to load entry points
       [DEBUG   ] Could not LazyLoad idem.hub: 'idem' __virtual__ returned False: No module named 'pop'
       [DEBUG   ] Override  __salt__: <module 'salt.loaded.int.module.udev' from '/usr/lib/python3/dist-packages/salt/modules/udev.py'>
       [DEBUG   ] Override  __pillar__: <module 'salt.loaded.int.module.virtualenv_mod' from '/usr/lib/python3/dist-packages/salt/modules/virtualenv_mod.py'>
       [DEBUG   ] DSC: Only available on Windows systems
       [DEBUG   ] Module PSGet: Only available on Windows systems
       [DEBUG   ] Could not LazyLoad pkg.resolve_capabilities: 'pkg.resolve_capabilities' is not available.
       [DEBUG   ] Could not LazyLoad pkg.check_db: 'pkg.check_db' is not available.
       [INFO    ] Executing command dpkg in directory '/home/kitchen'
       [INFO    ] Executing command systemd-run in directory '/home/kitchen'
       [INFO    ] Executing command dpkg-query in directory '/home/kitchen'
       [INFO    ] Made the following changes:
       'moosefs-cgiserv' changed from 'absent' to '3.0.115-1'
       
       [DEBUG   ] Refreshing modules...
       [INFO    ] Loading fresh modules for state activity
       [DEBUG   ] Using importlib_metadata to load entry points
       [DEBUG   ] LazyLoaded jinja.render
       [DEBUG   ] LazyLoaded yaml.render
       [INFO    ] Completed state [moosefs-cgiserv] at time 12:16:20.077203 (duration_in_ms=3049.615)
       [DEBUG   ] LazyLoaded config.option
       [DEBUG   ] LazyLoaded file.managed
       [INFO    ] Running state [/etc/default/moosefs-cgiserv] at time 12:16:20.082602
       [INFO    ] Executing state file.managed for [/etc/default/moosefs-cgiserv]
       [DEBUG   ] LazyLoaded file.source_list
       [DEBUG   ] LazyLoaded cp.list_master
       [DEBUG   ] LazyLoaded roots.envs
       [DEBUG   ] Could not LazyLoad roots.init: 'roots.init' is not available.
       [DEBUG   ] Returning file list from cache: age=7 cache_time=20 /tmp/kitchen/var/cache/salt/minion/file_lists/roots/base.p
       [DEBUG   ] Returning file list from cache: age=7 cache_time=20 /tmp/kitchen/var/cache/salt/minion/file_lists/roots/base.p
       [DEBUG   ] In saltenv 'base', looking at rel_path 'moosefs/cgiserv/config/files/default/moosefs-cgiserv.jinja' to resolve 'salt://moosefs/cgiserv/config/files/default/moosefs-cgiserv.jinja'
       [DEBUG   ] In saltenv 'base', ** considering ** path '/tmp/kitchen/var/cache/salt/minion/files/base/moosefs/cgiserv/config/files/default/moosefs-cgiserv.jinja' to resolve 'salt://moosefs/cgiserv/config/files/default/moosefs-cgiserv.jinja'
       [DEBUG   ] Fetching file from saltenv 'base', ** attempting ** 'salt://moosefs/cgiserv/config/files/default/moosefs-cgiserv.jinja'
       [DEBUG   ] No dest file found
       [INFO    ] Fetching file from saltenv 'base', ** done ** 'moosefs/cgiserv/config/files/default/moosefs-cgiserv.jinja'
       [DEBUG   ] Jinja search path: ['/tmp/kitchen/var/cache/salt/minion/files/base']
       [DEBUG   ] In saltenv 'base', looking at rel_path 'moosefs/libs/libconfig.jinja' to resolve 'salt://moosefs/libs/libconfig.jinja'
       [DEBUG   ] In saltenv 'base', ** considering ** path '/tmp/kitchen/var/cache/salt/minion/files/base/moosefs/libs/libconfig.jinja' to resolve 'salt://moosefs/libs/libconfig.jinja'
       [DEBUG   ] LazyLoaded files.is_text
       [DEBUG   ] LazyLoaded stringutils.get_diff
       [INFO    ] File changed:
       --- 
       +++ 
       @@ -1,3 +1,6 @@
       +# File managed by SaltStack at <salt://moosefs/cgiserv/config/files/default/moosefs-cgiserv.jinja>
       +# Your changes will be overwritten.
       +#
        # Defaults for moosefs-cgiserv
        # mfscgiserv(8)
        #
       @@ -17,4 +20,4 @@
        ## local path to use as HTTP document root (default: /usr/share/mfscgi)
        # ROOT_PATH=/usr/share/moosefs-cgi
        
       -DAEMON_OPTS=""
       +# DEMON_OPTS=
       
       [INFO    ] Completed state [/etc/default/moosefs-cgiserv] at time 12:16:20.149354 (duration_in_ms=66.752)
       [DEBUG   ] LazyLoaded systemd.booted
       [DEBUG   ] LazyLoaded service.start
       [DEBUG   ] LazyLoaded service.dead
       [INFO    ] Running state [moosefs-cgiserv] at time 12:16:20.166826
       [INFO    ] Executing state service.dead for [moosefs-cgiserv]
       [DEBUG   ] LazyLoaded cmd.run_all
       [INFO    ] Executing command systemctl in directory '/home/kitchen'
       [DEBUG   ] stdout: * moosefs-cgiserv.service - MooseFS CGI server daemon
            Loaded: loaded (/lib/systemd/system/moosefs-cgiserv.service; disabled; vendor preset: enabled)
            Active: inactive (dead)
       Docs: man:mfscgiserv
       [DEBUG   ] retcode: 3
       [INFO    ] Executing command systemctl in directory '/home/kitchen'
       [DEBUG   ] stdout: inactive
       [DEBUG   ] retcode: 3
       [INFO    ] Executing command systemctl in directory '/home/kitchen'
       [DEBUG   ] stdout: disabled
       [DEBUG   ] retcode: 1
       [DEBUG   ] sysvinit script 'moosefs-master' found, but systemd unit 'moosefs-master.service' already exists
       [DEBUG   ] sysvinit script 'moosefs-metalogger' found, but systemd unit 'moosefs-metalogger.service' already exists
       [DEBUG   ] sysvinit script 'moosefs-chunkserver' found, but systemd unit 'moosefs-chunkserver.service' already exists
       [DEBUG   ] sysvinit script 'moosefs-cgiserv' found, but systemd unit 'moosefs-cgiserv.service' already exists
       [DEBUG   ] sysvinit script 'ssh' found, but systemd unit 'ssh.service' already exists
       [DEBUG   ] sysvinit script 'procps' found, but systemd unit 'procps.service' already exists
       [DEBUG   ] sysvinit script 'sudo' found, but systemd unit 'sudo.service' already exists
       [DEBUG   ] sysvinit script 'salt-minion' found, but systemd unit 'salt-minion.service' already exists
       [DEBUG   ] sysvinit script 'udev' found, but systemd unit 'udev.service' already exists
       [INFO    ] The service moosefs-cgiserv is already dead
       [INFO    ] Completed state [moosefs-cgiserv] at time 12:16:20.218037 (duration_in_ms=51.211)
       [DEBUG   ] LazyLoaded pkg.install
       [DEBUG   ] LazyLoaded pkg.installed
       [INFO    ] Running state [moosefs-client] at time 12:16:20.235642
       [INFO    ] Executing state pkg.installed for [moosefs-client]
       [DEBUG   ] LazyLoaded path.which
       [DEBUG   ] Override  __grains__: <module 'salt.loaded.int.module.grains' from '/usr/lib/python3/dist-packages/salt/modules/grains.py'>
       [DEBUG   ] Reading configuration from /etc/salt/minion
       [DEBUG   ] Guessing ID. The id can be explicitly set in /etc/salt/minion
       [DEBUG   ] Found minion id from generate_minion_id(): moosefs.example.net
       [DEBUG   ] Using importlib_metadata to load entry points
       [DEBUG   ] Could not LazyLoad idem.hub: 'idem' __virtual__ returned False: No module named 'pop'
       [DEBUG   ] Override  __salt__: <module 'salt.loaded.int.module.udev' from '/usr/lib/python3/dist-packages/salt/modules/udev.py'>
       [DEBUG   ] Override  __pillar__: <module 'salt.loaded.int.module.virtualenv_mod' from '/usr/lib/python3/dist-packages/salt/modules/virtualenv_mod.py'>
       [DEBUG   ] DSC: Only available on Windows systems
       [DEBUG   ] Module PSGet: Only available on Windows systems
       [DEBUG   ] Could not LazyLoad pkg.resolve_capabilities: 'pkg.resolve_capabilities' is not available.
       [DEBUG   ] Could not LazyLoad pkg.check_db: 'pkg.check_db' is not available.
       [INFO    ] Executing command dpkg in directory '/home/kitchen'
       [INFO    ] Executing command systemd-run in directory '/home/kitchen'
       [INFO    ] Executing command dpkg-query in directory '/home/kitchen'
       [INFO    ] Made the following changes:
       'moosefs-client' changed from 'absent' to '3.0.115-1'
       'libmfsio1' changed from 'absent' to '3.0.115-1'
       'libfuse3-3' changed from 'absent' to '3.10.3-2'
       
       [DEBUG   ] Refreshing modules...
       [INFO    ] Loading fresh modules for state activity
       [DEBUG   ] Using importlib_metadata to load entry points
       [DEBUG   ] LazyLoaded jinja.render
       [DEBUG   ] LazyLoaded yaml.render
       [INFO    ] Completed state [moosefs-client] at time 12:16:23.127315 (duration_in_ms=2891.671)
       [DEBUG   ] LazyLoaded config.option
       [DEBUG   ] LazyLoaded mount.mounted
       [INFO    ] Running state [/mnt] at time 12:16:23.131131
       [INFO    ] Executing state mount.mounted for [/mnt]
       [DEBUG   ] LazyLoaded mount.active
       [DEBUG   ] LazyLoaded cmd.run_stdout
       [INFO    ] Executing command 'mount' in directory '/home/kitchen'
       [DEBUG   ] stdout: overlay on / type overlay (rw,relatime,lowerdir=/var/lib/docker/overlay2/l/ZKRLKOQJDGLQ4VUE4T53XBLBMN:/var/lib/docker/overlay2/l/AUOGU6523DUYL7EQ2VSUFLKQQM:/var/lib/docker/overlay2/l/3G4R7GS2W4OWCW24CFMN2REVG3:/var/lib/docker/overlay2/l/PLOV46K4ADQHIR2FXK57QY3CRI:/var/lib/docker/overlay2/l/6IQNBD7QWHACJBIWTZZCCQXHAF:/var/lib/docker/overlay2/l/EF67JN4PPJMT26XAILDZXNH2UH:/var/lib/docker/overlay2/l/QGQJOWYWIZLK6U52P42RR3I6VU:/var/lib/docker/overlay2/l/VQS2BCX7QZ7OURHOJD4SPG7QE2:/var/lib/docker/overlay2/l/PPLD65W6DPSOIQKMXEDMHFHB4P:/var/lib/docker/overlay2/l/3UGRXIPYNJMIP277MFNOARQ3TE:/var/lib/docker/overlay2/l/V72SXYP23MYV5EJYWN7MISS4FU:/var/lib/docker/overlay2/l/LKCD4I2DVBXGSMEXJ5SDXJIVYH:/var/lib/docker/overlay2/l/EIANLQW53DOWQGG5JNW4GHR6AG:/var/lib/docker/overlay2/l/464X7YX3TW4RVQ3IENWHUQZSMI:/var/lib/docker/overlay2/l/BFASEFGDHICNZGEFMN2URBGIUB:/var/lib/docker/overlay2/l/RHKVFJ32ISR7CLXLVB5YWN5RLI:/var/lib/docker/overlay2/l/SBZ23RWZEWLF7OXVXZ5FECEOH5,upperdir=/var/lib/docker/overlay2/c3f21b5f7369e51fa7d61745fb1b429cf3d05a1c6bda99ef3ea9c6c8786adb67/diff,workdir=/var/lib/docker/overlay2/c3f21b5f7369e51fa7d61745fb1b429cf3d05a1c6bda99ef3ea9c6c8786adb67/work)
       proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
       tmpfs on /dev type tmpfs (rw,nosuid,size=65536k,mode=755)
       devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=666)
       sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
       cgroup on /sys/fs/cgroup type cgroup2 (rw,nosuid,nodev,noexec,relatime,nsdelegate,memory_recursiveprot)
       mqueue on /dev/mqueue type mqueue (rw,nosuid,nodev,noexec,relatime)
       shm on /dev/shm type tmpfs (rw,nosuid,nodev,noexec,relatime,size=65536k)
       /dev/mapper/bullseye--vg-root on /etc/resolv.conf type ext4 (rw,relatime,errors=remount-ro)
       /dev/mapper/bullseye--vg-root on /etc/hostname type ext4 (rw,relatime,errors=remount-ro)
       /dev/mapper/bullseye--vg-root on /etc/hosts type ext4 (rw,relatime,errors=remount-ro)
       tmpfs on /run type tmpfs (rw,nosuid,nodev,size=199960k,nr_inodes=819200,mode=755)
       tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
       systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=28,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=688981)
       hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime,pagesize=2M)
       debugfs on /sys/kernel/debug type debugfs (rw,nosuid,nodev,noexec,relatime)
       tracefs on /sys/kernel/tracing type tracefs (rw,nosuid,nodev,noexec,relatime)
       fusectl on /sys/fs/fuse/connections type fusectl (rw,nosuid,nodev,noexec,relatime)
       configfs on /sys/kernel/config type configfs (rw,nosuid,nodev,noexec,relatime)
       [DEBUG   ] LazyLoaded disk.blkid
       [INFO    ] Executing command blkid in directory '/home/kitchen'
       [DEBUG   ] stdout: /dev/sda1: UUID="q97CV8-6Q5K-4gBZ-Arus-jPiI-g5Zg-co2eyc" TYPE="LVM2_member" PARTUUID="276aa3fd-01"
       /dev/sr0: BLOCK_SIZE="2048" UUID="2022-12-12-10-31-53-00" LABEL="CONTEXT" TYPE="iso9660"
       /dev/dm-0: UUID="2c985ad3-4626-4b63-9369-c13cd3b9e70b" TYPE="swap"
       /dev/dm-1: LABEL="/" UUID="b4596ca2-aefe-43fd-adad-78a7a168f6f6" BLOCK_SIZE="4096" TYPE="ext4"
       [INFO    ] Executing command 'mount' in directory '/home/kitchen'
       [INFO    ] Executing command 'mount' in directory '/home/kitchen'
       [DEBUG   ] stdout: overlay on / type overlay (rw,relatime,lowerdir=/var/lib/docker/overlay2/l/ZKRLKOQJDGLQ4VUE4T53XBLBMN:/var/lib/docker/overlay2/l/AUOGU6523DUYL7EQ2VSUFLKQQM:/var/lib/docker/overlay2/l/3G4R7GS2W4OWCW24CFMN2REVG3:/var/lib/docker/overlay2/l/PLOV46K4ADQHIR2FXK57QY3CRI:/var/lib/docker/overlay2/l/6IQNBD7QWHACJBIWTZZCCQXHAF:/var/lib/docker/overlay2/l/EF67JN4PPJMT26XAILDZXNH2UH:/var/lib/docker/overlay2/l/QGQJOWYWIZLK6U52P42RR3I6VU:/var/lib/docker/overlay2/l/VQS2BCX7QZ7OURHOJD4SPG7QE2:/var/lib/docker/overlay2/l/PPLD65W6DPSOIQKMXEDMHFHB4P:/var/lib/docker/overlay2/l/3UGRXIPYNJMIP277MFNOARQ3TE:/var/lib/docker/overlay2/l/V72SXYP23MYV5EJYWN7MISS4FU:/var/lib/docker/overlay2/l/LKCD4I2DVBXGSMEXJ5SDXJIVYH:/var/lib/docker/overlay2/l/EIANLQW53DOWQGG5JNW4GHR6AG:/var/lib/docker/overlay2/l/464X7YX3TW4RVQ3IENWHUQZSMI:/var/lib/docker/overlay2/l/BFASEFGDHICNZGEFMN2URBGIUB:/var/lib/docker/overlay2/l/RHKVFJ32ISR7CLXLVB5YWN5RLI:/var/lib/docker/overlay2/l/SBZ23RWZEWLF7OXVXZ5FECEOH5,upperdir=/var/lib/docker/overlay2/c3f21b5f7369e51fa7d61745fb1b429cf3d05a1c6bda99ef3ea9c6c8786adb67/diff,workdir=/var/lib/docker/overlay2/c3f21b5f7369e51fa7d61745fb1b429cf3d05a1c6bda99ef3ea9c6c8786adb67/work)
       proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
       tmpfs on /dev type tmpfs (rw,nosuid,size=65536k,mode=755)
       devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=666)
       sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
       cgroup on /sys/fs/cgroup type cgroup2 (rw,nosuid,nodev,noexec,relatime,nsdelegate,memory_recursiveprot)
       mqueue on /dev/mqueue type mqueue (rw,nosuid,nodev,noexec,relatime)
       shm on /dev/shm type tmpfs (rw,nosuid,nodev,noexec,relatime,size=65536k)
       /dev/mapper/bullseye--vg-root on /etc/resolv.conf type ext4 (rw,relatime,errors=remount-ro)
       /dev/mapper/bullseye--vg-root on /etc/hostname type ext4 (rw,relatime,errors=remount-ro)
       /dev/mapper/bullseye--vg-root on /etc/hosts type ext4 (rw,relatime,errors=remount-ro)
       tmpfs on /run type tmpfs (rw,nosuid,nodev,size=199960k,nr_inodes=819200,mode=755)
       tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
       systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=28,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=688981)
       hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime,pagesize=2M)
       debugfs on /sys/kernel/debug type debugfs (rw,nosuid,nodev,noexec,relatime)
       tracefs on /sys/kernel/tracing type tracefs (rw,nosuid,nodev,noexec,relatime)
       fusectl on /sys/fs/fuse/connections type fusectl (rw,nosuid,nodev,noexec,relatime)
       configfs on /sys/kernel/config type configfs (rw,nosuid,nodev,noexec,relatime)
       mfs#127.0.0.1:9421 on /mnt type fuse (rw,nosuid,nodev,noatime,user_id=0,group_id=0,allow_other)
       [INFO    ] {'mount': True, 'persist': 'new'}
       [INFO    ] Completed state [/mnt] at time 12:16:23.275480 (duration_in_ms=144.348)
       [DEBUG   ] LazyLoaded file.directory
       [INFO    ] Running state [/mnt] at time 12:16:23.281970
       [INFO    ] Executing state file.directory for [/mnt]
       [DEBUG   ] LazyLoaded file.user_to_uid
       [INFO    ] {'/mnt': {'user': 'man', 'group': 'nogroup', 'mode': '0700'}, 'user': 'man', 'group': 'nogroup', 'mode': '0700'}
       [INFO    ] Completed state [/mnt] at time 12:16:23.292342 (duration_in_ms=10.372)
       [DEBUG   ] LazyLoaded pkg.install
       [DEBUG   ] LazyLoaded pkg.installed
       [INFO    ] Running state [moosefs-cli] at time 12:16:23.300873
       [INFO    ] Executing state pkg.installed for [moosefs-cli]
       [DEBUG   ] LazyLoaded path.which
       [DEBUG   ] Override  __grains__: <module 'salt.loaded.int.module.grains' from '/usr/lib/python3/dist-packages/salt/modules/grains.py'>
       [DEBUG   ] Reading configuration from /etc/salt/minion
       [DEBUG   ] Guessing ID. The id can be explicitly set in /etc/salt/minion
       [DEBUG   ] Found minion id from generate_minion_id(): moosefs.example.net
       [DEBUG   ] Using importlib_metadata to load entry points
       [DEBUG   ] Could not LazyLoad idem.hub: 'idem' __virtual__ returned False: No module named 'pop'
       [DEBUG   ] Override  __salt__: <module 'salt.loaded.int.module.udev' from '/usr/lib/python3/dist-packages/salt/modules/udev.py'>
       [DEBUG   ] Override  __pillar__: <module 'salt.loaded.int.module.virtualenv_mod' from '/usr/lib/python3/dist-packages/salt/modules/virtualenv_mod.py'>
       [DEBUG   ] DSC: Only available on Windows systems
       [DEBUG   ] Module PSGet: Only available on Windows systems
       [DEBUG   ] Could not LazyLoad pkg.resolve_capabilities: 'pkg.resolve_capabilities' is not available.
       [DEBUG   ] Could not LazyLoad pkg.check_db: 'pkg.check_db' is not available.
       [INFO    ] Executing command dpkg in directory '/home/kitchen'
       [INFO    ] Executing command systemd-run in directory '/home/kitchen'
       [INFO    ] Executing command dpkg-query in directory '/home/kitchen'
       [INFO    ] Made the following changes:
       'moosefs-cli' changed from 'absent' to '3.0.115-1'
       
       [DEBUG   ] Refreshing modules...
       [INFO    ] Loading fresh modules for state activity
       [DEBUG   ] Using importlib_metadata to load entry points
       [DEBUG   ] LazyLoaded jinja.render
       [DEBUG   ] LazyLoaded yaml.render
       [INFO    ] Completed state [moosefs-cli] at time 12:16:26.028301 (duration_in_ms=2727.426)
       [DEBUG   ] File /tmp/kitchen/var/cache/salt/minion/accumulator/139738481192432 does not exist, no need to cleanup
       [DEBUG   ] LazyLoaded state.check_result
       [DEBUG   ] LazyLoaded highstate.output
       [DEBUG   ] LazyLoaded nested.output
       [DEBUG   ] LazyLoaded nested.output
       [DEBUG   ] LazyLoaded nested.output
       [DEBUG   ] LazyLoaded nested.output
       [DEBUG   ] LazyLoaded nested.output
       [DEBUG   ] LazyLoaded nested.output
       [DEBUG   ] LazyLoaded nested.output
       [DEBUG   ] LazyLoaded nested.output
       [DEBUG   ] LazyLoaded nested.output
       [DEBUG   ] LazyLoaded nested.output
       [DEBUG   ] LazyLoaded nested.output
       [DEBUG   ] LazyLoaded nested.output
       [DEBUG   ] LazyLoaded nested.output
       [DEBUG   ] LazyLoaded nested.output
       [DEBUG   ] LazyLoaded nested.output
       [DEBUG   ] LazyLoaded nested.output
       [DEBUG   ] LazyLoaded nested.output
       [DEBUG   ] LazyLoaded nested.output
       [DEBUG   ] LazyLoaded nested.output
       [DEBUG   ] LazyLoaded nested.output
       [DEBUG   ] LazyLoaded nested.output
       [DEBUG   ] LazyLoaded nested.output
       [DEBUG   ] LazyLoaded nested.output
       local:
       ----------
                 ID: moosefs-mapdata-dump
           Function: file.managed
               Name: /tmp/salt_mapdata_dump.yaml
             Result: True
            Comment: File /tmp/salt_mapdata_dump.yaml updated
            Started: 12:15:56.741581
           Duration: 93.783 ms
            Changes:   
              ----------
              diff:
                  New file
              mode:
                  0644
       ----------
                 ID: moosefs-master-package-installed-pkg-installed
           Function: pkg.installed
               Name: moosefs-master
             Result: True
            Comment: The following packages were installed/updated: moosefs-master
            Started: 12:16:00.092712
           Duration: 4688.964 ms
            Changes:   
              ----------
              moosefs-common:
                  ----------
                  new:
                      3.0.115-1
                  old:
              moosefs-master:
                  ----------
                  new:
                      3.0.115-1
                  old:
       ----------
                 ID: moosefs-master-config-mfsmaster-file-managed
           Function: file.managed
               Name: /etc/mfs/mfsmaster.cfg
             Result: True
            Comment: File /etc/mfs/mfsmaster.cfg updated
            Started: 12:16:04.786753
           Duration: 82.311 ms
            Changes:   
              ----------
              diff:
                  New file
              group:
                  mfs
              mode:
                  0640
              user:
                  mfs
       ----------
                 ID: moosefs-master-config-mfstopology-file-managed
           Function: file.managed
               Name: /etc/mfs/mfstopology.cfg
             Result: True
            Comment: File /etc/mfs/mfstopology.cfg updated
            Started: 12:16:04.869509
           Duration: 12.367 ms
            Changes:   
              ----------
              diff:
                  New file
              group:
                  mfs
              mode:
                  0640
              user:
                  mfs
       ----------
                 ID: moosefs-master-config-mfsexports-file-managed
           Function: file.managed
               Name: /etc/mfs/mfsexports.cfg
             Result: True
            Comment: File /etc/mfs/mfsexports.cfg updated
            Started: 12:16:04.882341
           Duration: 25.098 ms
            Changes:   
              ----------
              diff:
                  New file
              group:
                  mfs
              mode:
                  0640
              user:
                  mfs
       ----------
                 ID: moosefs-master-config-moosefs-master-default-file-managed
           Function: file.managed
               Name: /etc/default/moosefs-master
             Result: True
            Comment: File /etc/default/moosefs-master updated
            Started: 12:16:04.907887
           Duration: 16.244 ms
            Changes:   
              ----------
              diff:
                  --- 
                  +++ 
                  @@ -1,3 +1,6 @@
                  +# File managed by SaltStack at <salt://moosefs/master/config/files/default/moosefs-master-default.jinja>
                  +# Your changes will be overwritten.
                  +#
                   # Defaults for moosefs-master
                   # mfsmaster(8)
                   
              group:
                  mfs
              user:
                  mfs
       ----------
                 ID: moosefs-master-config-metadata-file-copy
           Function: file.copy
               Name: /var/lib/mfs/metadata.mfs
             Result: True
            Comment: Copied "/var/lib/mfs/metadata.mfs.empty" to "/var/lib/mfs/metadata.mfs"
            Started: 12:16:04.924520
           Duration: 2277.884 ms
            Changes:   
              ----------
              /var/lib/mfs/metadata.mfs:
                  /var/lib/mfs/metadata.mfs.empty
              group:
                  mfs
              mode:
                  0640
              user:
                  mfs
       ----------
                 ID: moosefs-master-service-running-service-running
           Function: service.running
               Name: moosefs-master
             Result: True
            Comment: Service moosefs-master has been enabled, and is running
            Started: 12:16:07.203153
           Duration: 651.309 ms
            Changes:   
              ----------
              moosefs-master:
                  True
       ----------
                 ID: moosefs-metalogger-package-installed-pkg-installed
           Function: pkg.installed
               Name: moosefs-metalogger
             Result: True
            Comment: The following packages were installed/updated: moosefs-metalogger
            Started: 12:16:07.855180
           Duration: 2075.278 ms
            Changes:   
              ----------
              moosefs-metalogger:
                  ----------
                  new:
                      3.0.115-1
                  old:
       ----------
                 ID: moosefs-metalogger-config-mfsmetalogger-file-managed
           Function: file.managed
               Name: /etc/mfs/mfsmetalogger.cfg
             Result: True
            Comment: File /etc/mfs/mfsmetalogger.cfg updated
            Started: 12:16:09.936023
           Duration: 76.872 ms
            Changes:   
              ----------
              diff:
                  New file
              group:
                  mfs
              mode:
                  0640
              user:
                  mfs
       ----------
                 ID: moosefs-metalogger-service-running-service-running
           Function: service.running
               Name: moosefs-metalogger
             Result: True
            Comment: Service moosefs-metalogger has been enabled, and is running
            Started: 12:16:10.036104
           Duration: 592.675 ms
            Changes:   
              ----------
              moosefs-metalogger:
                  True
       ----------
                 ID: moosefs-chunkserver-package-installed-pkg-installed
           Function: pkg.installed
               Name: moosefs-chunkserver
             Result: True
            Comment: The following packages were installed/updated: moosefs-chunkserver
            Started: 12:16:10.642962
           Duration: 2766.65 ms
            Changes:   
              ----------
              moosefs-chunkserver:
                  ----------
                  new:
                      3.0.115-1
                  old:
       ----------
                 ID: moosefs-chunkserver-config-mfschunkserver-file-managed
           Function: file.managed
               Name: /etc/mfs/mfschunkserver.cfg
             Result: True
            Comment: File /etc/mfs/mfschunkserver.cfg updated
            Started: 12:16:13.413573
           Duration: 120.38 ms
            Changes:   
              ----------
              diff:
                  New file
              group:
                  mfs
              mode:
                  0640
              user:
                  mfs
       ----------
                 ID: moosefs-chunkserver-config-hdd--srv-moosefs-storage-file.directory
           Function: file.directory
               Name: /srv/moosefs-storage
             Result: True
            Comment: 
            Started: 12:16:13.534238
           Duration: 4.053 ms
            Changes:   
              ----------
              /srv/moosefs-storage:
                  ----------
                  directory:
                      new
       ----------
                 ID: moosefs-chunkserver-config-mfshdd-file-managed
           Function: file.managed
               Name: /etc/mfs/mfshdd.cfg
             Result: True
            Comment: File /etc/mfs/mfshdd.cfg updated
            Started: 12:16:13.539376
           Duration: 14.236 ms
            Changes:   
              ----------
              diff:
                  New file
              group:
                  mfs
              mode:
                  0640
              user:
                  mfs
       ----------
                 ID: moosefs-chunkserver-service-running-service-running
           Function: service.running
               Name: moosefs-chunkserver
             Result: True
            Comment: Service moosefs-chunkserver has been enabled, and is running
            Started: 12:16:13.569305
           Duration: 757.059 ms
            Changes:   
              ----------
              moosefs-chunkserver:
                  True
       ----------
                 ID: moosefs-cgi-package-installed-pkg-installed
           Function: pkg.installed
               Name: moosefs-cgi
             Result: True
            Comment: The following packages were installed/updated: moosefs-cgi
            Started: 12:16:14.341146
           Duration: 2677.544 ms
            Changes:   
              ----------
              moosefs-cgi:
                  ----------
                  new:
                      3.0.115-1
                  old:
       ----------
                 ID: moosefs-cgiserv-package-installed-pkg-installed
           Function: pkg.installed
               Name: moosefs-cgiserv
             Result: True
            Comment: The following packages were installed/updated: moosefs-cgiserv
            Started: 12:16:17.027588
           Duration: 3049.615 ms
            Changes:   
              ----------
              moosefs-cgiserv:
                  ----------
                  new:
                      3.0.115-1
                  old:
       ----------
                 ID: moosefs-cgiserv-config-moosefs-cgiserv-file-managed
           Function: file.managed
               Name: /etc/default/moosefs-cgiserv
             Result: True
            Comment: File /etc/default/moosefs-cgiserv updated
            Started: 12:16:20.082602
           Duration: 66.752 ms
            Changes:   
              ----------
              diff:
                  --- 
                  +++ 
                  @@ -1,3 +1,6 @@
                  +# File managed by SaltStack at <salt://moosefs/cgiserv/config/files/default/moosefs-cgiserv.jinja>
                  +# Your changes will be overwritten.
                  +#
                   # Defaults for moosefs-cgiserv
                   # mfscgiserv(8)
                   #
                  @@ -17,4 +20,4 @@
                   ## local path to use as HTTP document root (default: /usr/share/mfscgi)
                   # ROOT_PATH=/usr/share/moosefs-cgi
                   
                  -DAEMON_OPTS=""
                  +# DEMON_OPTS=
         Name: moosefs-cgiserv - Function: service.dead - Result: Clean Started: - 12:16:20.166826 Duration: 51.211 ms
       ----------
                 ID: moosefs-client-package-install-pkg-installed
           Function: pkg.installed
               Name: moosefs-client
             Result: True
            Comment: The following packages were installed/updated: moosefs-client
            Started: 12:16:20.235644
           Duration: 2891.671 ms
            Changes:   
              ----------
              libfuse3-3:
                  ----------
                  new:
                      3.10.3-2
                  old:
              libmfsio1:
                  ----------
                  new:
                      3.0.115-1
                  old:
              moosefs-client:
                  ----------
                  new:
                      3.0.115-1
                  old:
       ----------
                 ID: moosefs-client-config-mounts--mnt-mount-mounted
           Function: mount.mounted
               Name: /mnt
             Result: True
            Comment: Target was successfully mounted. Added new entry to the fstab.
            Started: 12:16:23.131132
           Duration: 144.348 ms
            Changes:   
              ----------
              mount:
                  True
              persist:
                  new
       ----------
                 ID: moosefs-client-config-mounts--mnt-file-directory
           Function: file.directory
               Name: /mnt
             Result: True
            Comment: Directory /mnt updated
            Started: 12:16:23.281970
           Duration: 10.372 ms
            Changes:   
              ----------
              /mnt:
                  ----------
                  group:
                      nogroup
                  mode:
                      0700
                  user:
                      man
              group:
                  nogroup
              mode:
                  0700
              user:
                  man
       ----------
                 ID: moosefs-cli-package-installed-pkg-installed
           Function: pkg.installed
               Name: moosefs-cli
             Result: True
            Comment: The following packages were installed/updated: moosefs-cli
            Started: 12:16:23.300875
           Duration: 2727.426 ms
            Changes:   
              ----------
              moosefs-cli:
                  ----------
                  new:
                      3.0.115-1
                  old:
       
       Summary for local
       -------------
       Succeeded: 24 (changed=23)
       Failed:     0
       -------------
       Total states run:     24
       Total run time:   25.874 s
       Downloading files from <default-debian-11-3004-1-py3>
       Finished converging <default-debian-11-3004-1-py3> (0m47.32s).
-----> Test Kitchen is finished. (0m54.18

Documentation checklist

  • Updated the README (e.g. Available states).
  • Updated pillar.example.

Testing checklist

  • Included in Kitchen (i.e. under state_top).
  • Covered by new/existing tests (e.g. InSpec, Serverspec, etc.).
  • Updated the relevant test pillar.

Additional context

@baby-gnu baby-gnu force-pushed the feature/update-to-new-formula-standards branch from 7a75790 to d9061fb Compare January 4, 2023 12:34
@baby-gnu
Copy link
Author

baby-gnu commented Jan 4, 2023

I ran the pre-commit and kitchen tests locally and they are working fine:

pre-commit run -a
Check Ruby files with rubocop............................................Passed
Check shell scripts with shellcheck......................................Passed
Check YAML syntax with yamllint..........................................Passed
Check Salt files using salt-lint.........................................Passed
Check reST files using rstcheck..........................................Passed
Check reST files using rst-lint..........................................Passed
./bin/kitchen verify default-debian-11-3004-1-py3
-----> Starting Test Kitchen (v3.3.1)
-----> Setting up <default-debian-11-3004-1-py3>...
       Finished setting up <default-debian-11-3004-1-py3> (0m0.00s).
-----> Verifying <default-debian-11-3004-1-py3>...
       Loaded default 

Profile:   MooseFS formula (default)
Version:   (not specified)
Target:    ssh://kitchen@localhost:49178
Target ID: 271b72ba-ad07-5e2a-8ecc-a3727ade2652

  ✔  moose.client.config.mounts: The mount should be configured and active
     ✔  File System Table File (fstab) with device_name == "127.0.0.1:/" is expected to be configured
     ✔  File System Table File (fstab) with device_name == "127.0.0.1:/" mount_point is expected to cmp == "/mnt"
     ✔  File System Table File (fstab) with device_name == "127.0.0.1:/" file_system_type is expected to cmp == "moosefs"
     ✔  File System Table File (fstab) with device_name == "127.0.0.1:/" mount_options is expected to eq [["_netdev", "mfsdelayedinit", "noatime", "nodev", "nosuid"]]
     ✔  File System Table File (fstab) with device_name == "127.0.0.1:/" dump_options is expected to cmp == 0
     ✔  File System Table File (fstab) with device_name == "127.0.0.1:/" file_system_options is expected to cmp == 0
     ✔  Mount /mnt is expected to be mounted
     ✔  Mount /mnt device is expected to eq "mfs#127.0.0.1:9421"
     ✔  Mount /mnt type is expected to eq "fuse"
     ✔  Mount /mnt options is expected to eq ["rw", "nosuid", "nodev", "noatime", "user_id=0", "group_id=0", "allow_other"]
     ✔  Directory /mnt owner is expected to eq "man"
     ✔  Directory /mnt group is expected to eq "nogroup"
     ✔  Directory /mnt mode is expected to cmp == "0700"
  ✔  moose.master.package.installed: The required package should be installed
     ✔  System Package moosefs-master is expected to be installed
  ✔  moose.master.config.mfsmaster: Verify the configuration file
     ✔  File /etc/mfs/mfsmaster.cfg is expected to be file
     ✔  File /etc/mfs/mfsmaster.cfg is expected to be owned by "mfs"
     ✔  File /etc/mfs/mfsmaster.cfg is expected to be grouped into "mfs"
     ✔  File /etc/mfs/mfsmaster.cfg mode is expected to cmp == "0640"
     ✔  File /etc/mfs/mfsmaster.cfg content is expected to include "# File managed by SaltStack at"
     ✔  File /etc/mfs/mfsmaster.cfg content is expected to include "# WORKING_USER = mfs"
     ✔  File /etc/mfs/mfsmaster.cfg content is expected to include "AUTH_CODE = yYyzqzZw5PvZ74pQAd8M1Uqa7PWGznlycVGTEzHDGG"
  ✔  moose.master.config.mfsexports: Verify the configuration file
     ✔  File /etc/mfs/mfsexports.cfg is expected to be file
     ✔  File /etc/mfs/mfsexports.cfg is expected to be owned by "mfs"
     ✔  File /etc/mfs/mfsexports.cfg is expected to be grouped into "mfs"
     ✔  File /etc/mfs/mfsexports.cfg mode is expected to cmp == "0640"
     ✔  File /etc/mfs/mfsexports.cfg content is expected to include "# File managed by SaltStack at"
     ✔  File /etc/mfs/mfsexports.cfg content is expected to match /127.0.0.1\s+\/\s+rw,maproot=0/
  ✔  moose.master.config.mfstopology: Verify the configuration file
     ✔  File /etc/mfs/mfstopology.cfg is expected to be file
     ✔  File /etc/mfs/mfstopology.cfg is expected to be owned by "mfs"
     ✔  File /etc/mfs/mfstopology.cfg is expected to be grouped into "mfs"
     ✔  File /etc/mfs/mfstopology.cfg mode is expected to cmp == "0640"
     ✔  File /etc/mfs/mfstopology.cfg content is expected to include "# File managed by SaltStack at"
  ✔  moose.master.config.moosefs-master-default: Verify the configuration file
     ✔  File /etc/default/moosefs-master is expected to be file
     ✔  File /etc/default/moosefs-master is expected to be owned by "mfs"
     ✔  File /etc/default/moosefs-master is expected to be grouped into "mfs"
     ✔  File /etc/default/moosefs-master mode is expected to cmp == "0644"
     ✔  File /etc/default/moosefs-master content is expected to include "CFGFILE=/etc/mfs/mfsmaster.cfg"
  ✔  moose.master.service.running: The service should be installed, enabled and running
     ✔  Service moosefs-master is expected to be installed
     ✔  Service moosefs-master is expected to be enabled
     ✔  Service moosefs-master is expected to be running
  ✔  moose.metalogger.config.mfsmetalogger: Verify the configuration file
     ✔  File /etc/mfs/mfsmetalogger.cfg is expected to be file
     ✔  File /etc/mfs/mfsmetalogger.cfg is expected to be owned by "mfs"
     ✔  File /etc/mfs/mfsmetalogger.cfg is expected to be grouped into "mfs"
     ✔  File /etc/mfs/mfsmetalogger.cfg mode is expected to cmp == "0640"
     ✔  File /etc/mfs/mfsmetalogger.cfg content is expected to include "# File managed by SaltStack at"
     ✔  File /etc/mfs/mfsmetalogger.cfg content is expected to include "# WORKING_USER = mfs"
     ✔  File /etc/mfs/mfsmetalogger.cfg content is expected to include "MASTER_HOST = moosefs.example.net"
  ✔  moose.netdump.package.cleaned: The required package should not be installed
     ✔  System Package moosefs-netdump is expected not to be installed
  ✔  moose.cgiserv.service.running: The service should be installed, disabled and not running
     ✔  Service moosefs-cgiserv is expected to be installed
     ✔  Service moosefs-cgiserv is expected not to be enabled
     ✔  Service moosefs-cgiserv is expected not to be running
  ✔  moose.chunkserver.config.mfschunkserver: Verify the configuration file
     ✔  File /etc/mfs/mfschunkserver.cfg is expected to be file
     ✔  File /etc/mfs/mfschunkserver.cfg is expected to be owned by "mfs"
     ✔  File /etc/mfs/mfschunkserver.cfg is expected to be grouped into "mfs"
     ✔  File /etc/mfs/mfschunkserver.cfg mode is expected to cmp == "0640"
     ✔  File /etc/mfs/mfschunkserver.cfg content is expected to include "# File managed by SaltStack at"
     ✔  File /etc/mfs/mfschunkserver.cfg content is expected to include "# WORKING_USER = mfs"
     ✔  File /etc/mfs/mfschunkserver.cfg content is expected to include "MASTER_HOST = moosefs.example.net"
     ✔  File /etc/mfs/mfschunkserver.cfg content is expected to include "AUTH_CODE = yYyzqzZw5PvZ74pQAd8M1Uqa7PWGznlycVGTEzHDGG"
  ✔  moose.chunkserver.config.mfshdd: Verify the configuration file
     ✔  File /etc/mfs/mfshdd.cfg is expected to be file
     ✔  File /etc/mfs/mfshdd.cfg is expected to be owned by "mfs"
     ✔  File /etc/mfs/mfshdd.cfg is expected to be grouped into "mfs"
     ✔  File /etc/mfs/mfshdd.cfg mode is expected to cmp == "0640"
     ✔  File /etc/mfs/mfshdd.cfg content is expected to include "# File managed by SaltStack at"
     ✔  File /etc/mfs/mfshdd.cfg content is expected to include "/srv/moosefs-storage"
  ✔  moose.cgiserv.config.moosefs-cgiserv: Verify the configuration file
     ✔  File /etc/default/moosefs-cgiserv is expected to be file
     ✔  File /etc/default/moosefs-cgiserv is expected to be owned by "root"
     ✔  File /etc/default/moosefs-cgiserv is expected to be grouped into "root"
     ✔  File /etc/default/moosefs-cgiserv mode is expected to cmp == "0644"
     ✔  File /etc/default/moosefs-cgiserv content is expected to include "# File managed by SaltStack at"
     ✔  File /etc/default/moosefs-cgiserv content is expected to include "# MFSCGISERV_USER=nobody"
     ✔  File /etc/default/moosefs-cgiserv content is expected to include "# MFSCGISERV_GROUP=nogroup"
     ✔  File /etc/default/moosefs-cgiserv content is expected to include "# BIND_HOST=localhost"
     ✔  File /etc/default/moosefs-cgiserv content is expected to include "# BIND_PORT=9425"
     ✔  File /etc/default/moosefs-cgiserv content is expected to include "# ROOT_PATH=/usr/share/moosefs-cgi"
     ✔  File /etc/default/moosefs-cgiserv content is expected to include "# DEMON_OPTS="
  ✔  moose.metalogger.service.running: The service should be installed, enabled and running
     ✔  Service moosefs-metalogger is expected to be installed
     ✔  Service moosefs-metalogger is expected to be enabled
     ✔  Service moosefs-metalogger is expected to be running
  ✔  moose.cgi.package.installed: The required package should be installed
     ✔  System Package moosefs-cgi is expected to be installed
  ✔  moose.metalogger.package.installed: The required package should be installed
     ✔  System Package moosefs-metalogger is expected to be installed
  ✔  moose.chunkserver.package.installed: The required package should be installed
     ✔  System Package moosefs-chunkserver is expected to be installed
  ✔  moose.cgiserv.package.installed: The required package should be installed
     ✔  System Package moosefs-cgiserv is expected to be installed
  ✔  moose.cli.package.installed: The required package should be installed
     ✔  System Package moosefs-cli is expected to be installed
  ✔  moose.chunkserver.service.running: The service should be installed, enabled and running
     ✔  Service moosefs-chunkserver is expected to be installed
     ✔  Service moosefs-chunkserver is expected to be enabled
     ✔  Service moosefs-chunkserver is expected to be running
  ✔  moose.client.package.installed: The required package should be installed
     ✔  System Package moosefs-client is expected to be installed
  ✔  moosefs._mapdata: `map.jinja` should match the reference file
     ✔  File content should match profile map data exactly


Profile:   InSpec shared resources (share)
Version:   (not specified)
Target:    ssh://kitchen@localhost:49178
Target ID: 271b72ba-ad07-5e2a-8ecc-a3727ade2652

     No tests executed.

Profile Summary: 22 successful controls, 0 control failures, 0 controls skipped
Test Summary: 89 successful, 0 failures, 0 skipped
       Finished verifying <default-debian-11-3004-1-py3> (0m7.36s).
-----> Test Kitchen is finished. (0m9.43s)

@baby-gnu
Copy link
Author

baby-gnu commented Jan 4, 2023

One thing I'm wondering is what is the best for configuration:

Like actually, the configuration are directly under the component, for example

values:
  master:
    enabled: true
    auth_code: someverystrongsecret

  chunkserver:
    enabled: true
    auth_code: someverystrongsecret
    master_host: foo.example.net
    hdds:
      /srv/moosefs-storage: {}

Or under a config subkey, like:

values:
  master:
    enabled: true
    config:
      auth_code: someverystrongsecret

  chunkserver:
    enabled: true
    config:
      auth_code: someverystrongsecret
      master_host: foo.example.net
      hdds:
        /srv/moosefs-storage: {}

This will require only a little modification of set_config to get values from config:<param> with a fallback from default:<param>.

@baby-gnu baby-gnu requested a review from a team January 4, 2023 15:01
@baby-gnu baby-gnu force-pushed the feature/update-to-new-formula-standards branch from d9061fb to 8db2aed Compare January 5, 2023 09:06
@mdschmitt
Copy link

mdschmitt commented Jan 5, 2023

One thing I'm wondering is what is the best for configuration:

Like actually, the configuration are directly under the component, for example

values:
  master:
    enabled: true
    auth_code: someverystrongsecret

  chunkserver:
    enabled: true
    auth_code: someverystrongsecret
    master_host: foo.example.net
    hdds:
      /srv/moosefs-storage: {}

Or under a config subkey, like:

values:
  master:
    enabled: true
    config:
      auth_code: someverystrongsecret

  chunkserver:
    enabled: true
    config:
      auth_code: someverystrongsecret
      master_host: foo.example.net
      hdds:
        /srv/moosefs-storage: {}

This will require only a little modification of set_config to get values from config:<param> with a fallback from default:<param>.

My personal preference tends to be having a config: subkey. Logical separation of "this goes in a config file" makes for an easy distinction of "these values are expected to be in a config file" and/or "the config-file section is where I should look in the upstream documentation for values to put here"

@baby-gnu
Copy link
Author

baby-gnu commented Jan 5, 2023

My personal preference tends to be having a config: subkey. Logical separation of "this goes in a config file" makes for an easy distinction of "these values are expected to be in a config file" and/or "the config-file section is where I should look in the upstream documentation for values to put here"

I completely agree with you, I'll wait for one or two more review of this before making the change.

Thanks.

@baby-gnu baby-gnu force-pushed the feature/update-to-new-formula-standards branch from 8db2aed to 444907c Compare January 6, 2023 07:24
@baby-gnu baby-gnu marked this pull request as draft January 6, 2023 08:02
@baby-gnu baby-gnu force-pushed the feature/update-to-new-formula-standards branch 4 times, most recently from 02e6305 to 70bd1bf Compare January 6, 2023 10:51
@baby-gnu baby-gnu marked this pull request as ready for review January 6, 2023 10:54
@baby-gnu
Copy link
Author

baby-gnu commented Jan 6, 2023

I fixed some issue in moosefs.client.config.mounts to avoid forced remount:

  • I define the device_name_regex
  • I define the extra_mount_invisible_options

This is the base files for standard community formulas.

Reset the `pillar.example` for new values
Force hostname that will be used in generated configuration files.
The v5 `map.jinja` is a generic and configurable system to load
configuration values, exposed as the `mapdata` variable, from
different places:

- YAML files and templates from the fileserver for non-secret data
- pillars or SDB are preferred for secret data
- grains or `config.get`

The `map.jinja` optional sources are configured with compound targeting like
syntax `[<TYPE>[:<OPTION>[:<DELIMITER>]]@]<KEY>` with the following
default ordered sources:

- `Y:G@osarch`: YAML file and Jinja template named after `osarch` grain
- `Y:G@os_family`: YAML file and Jinja template named after `os_family` grain
- `Y:G@os` YAML file and Jinja template named after `os` grain
- `Y:G@osfinger` YAML file and Jinja template named after `osfinger` grain
- `C@{{ tplroot ~ ':lookup' }}`: dict retrieved with `salt["config.get"]`
- `C@{{ tplroot }}`: dict retrieved with `salt["config.get"]`
- `Y:G@id`: YAML file and Jinja template named after `osarch` grain

This is done by two new libraries:

- `libs/libmatchers.jinja` provides the `parse_matchers` macro to
  parse strings looking like compound matchers, for example `Y:G@osarch`

- `libs/libmapstack.jinja` provides the `mapstack` macro to load
  configuration from different sources described by matchers

Post-processing of `mapdata` variable can be done in a
`parameters/post-map.jinja`.

The v5 `map.jinja` is documented in `docs/map.jinja.rst`.

BREAKING CHANGE: `map.jinja` now exports a generic `mapdata` variable

BREAKING CHANGE: The per grain parameter values are now under
  `moosefs/parameters/`
The `files_switch` macros returns a `source` parameter for
`file.managed` state to lookup the source in configurable places.

See `docs/TOFS_pattern.rst` for the Template Override and Files
Switch (TOFS) pattern.
* moosefs/libs/libconfig.jinja (boolean): convert a jinja boolean to
  configuration file boolean.
  (set_config): set a configuration parameter or commented default
  value.
  (format_export): format an export entry.
@baby-gnu baby-gnu force-pushed the feature/update-to-new-formula-standards branch from 70bd1bf to 5a93c69 Compare January 30, 2023 13:30
@baby-gnu
Copy link
Author

I rebase my branch and switch to the config: prefix.

I found it cleaner to have moosefs.master.config.foo and moosefs.master.default.foo.

One thing that should be great is the possibility to test by writing data in the mount point but I don't know what could be a best practice to do that:

  • it should be done at kitchen time, before the verify
  • the verify should check the content of the written data

If someone has an idea 🙏

@baby-gnu baby-gnu force-pushed the feature/update-to-new-formula-standards branch from 5a93c69 to 3d11998 Compare January 30, 2023 14:55
@baby-gnu baby-gnu force-pushed the feature/update-to-new-formula-standards branch 2 times, most recently from 59b74b4 to 2903a14 Compare February 15, 2023 15:24
@baby-gnu baby-gnu force-pushed the feature/update-to-new-formula-standards branch 2 times, most recently from 97190a0 to d3cdbcc Compare April 22, 2023 20:00
The `moosefs.master` is split into subcomponents:

- `moosefs.master.package` to handle packages installation / removal
- `moosefs.master.config` to handle service configuration files
- `moosefs.master.service` to handle start and stop of the service

BREAKING CHANGE: `moosefs.master` is split in
  `moosefs.master.package`, `moosefs.master.config` and
  `moosefs.master.service`
The `moosefs.metalogger` is split into subcomponents:

- `moosefs.metalogger.package` to handle packages installation /
  removal
- `moosefs.metalogger.config` to handle service configuration files
- `moosefs.metalogger.service` to handle start and stop of the service

BREAKING CHANGE: `moosefs.metalogger` is split in
  `moosefs.metalogger.package`, `moosefs.metalogger.config` and
  `moosefs.metalogger.service`
The `moosefs.chunkserver` is split into subcomponents:

- `moosefs.chunkserver.package` to handle packages installation /
  removal
- `moosefs.chunkserver.config` to handle service configuration files
- `moosefs.chunkserver.service` to handle start and stop of the service

BREAKING CHANGE: `moosefs.chunkserver` is split in
  `moosefs.chunkserver.package`, `moosefs.chunkserver.config` and
  `moosefs.chunkserver.service`
The `moosefs.client` is split into subcomponents:

- `moosefs.client.package` to handle packages installation / removal
- `moosefs.client.config` to configure the mount

BREAKING CHANGE: `moosefs.client` is split in `moosefs.client.package`
  and `moosefs.client.config`
The `moosefs.cgi` install only the `cgi` application.
The `cgiserv` is split into subcomponents:

- `moosefs.cgiserv.package` to handle packages installation / removal
- `moosefs.cgiserv.config` to handle service configuration files
- `moosefs.cgiserv.service` to handle start and stop of the service

BREAKING CHANGE: the `cgiserv` was provided by `moosefs.master` and is
  now split in `moosefs.cgiserv.package`, `moosefs.cgiserv.config` and
  `moosefs.cgiserv.service`
The `moosefs.cli` install only the `mfscli` command line tool.
The `moosefs.netdump` install only the `mfsnetdump` command line
utility.
Minion should only have the proper configuration set and running
`state.apply moosefs` will apply only enabled components.

BREAKING CHANGE: you must set `master:enabled`, `metalogger:enabled`,
  `chunkserver:enabled`, `cgiserv:enabled`, `client:enabled`,
  `cli:enabled` and `netdump:enabled` to install each component with
  the top level state
@baby-gnu baby-gnu requested a review from feiming April 28, 2023 11:11
@baby-gnu baby-gnu force-pushed the feature/update-to-new-formula-standards branch from d3cdbcc to 4983d3c Compare April 28, 2023 11:13
@baby-gnu baby-gnu force-pushed the feature/update-to-new-formula-standards branch from 4983d3c to 7971280 Compare April 28, 2023 11:31
@baby-gnu
Copy link
Author

In my latest modification:

  • I modified the service to reload instead of restart on watch requisites
  • I enforce each service DATA_PATH directory with correct user and perms, it's not in .cleaned states to avoid loosing data
  • factorize some default configuration access.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants