docker-puppet.py config hash update logging is misleading

Bug #1747999 reported by Alex Schultz
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Incomplete
Medium
Unassigned

Bug Description

During the output of docker-puppet.py, the config hashes are updated and the config_volume is printed in the debug lines. The issue is that the config_volume in the logs is not relevant to the action and isn't even apart of the loop so it's printing the same value for all the debug lines. This causes confusion when people are looking into issues as they may see something like:

"2018-02-07 17:12:29,191 DEBUG: 25587 -- Updating config hash for glance_api, config_volume=neutron hash=d56bf79dc985244e36791d68d77c3f15"

Example (config_volume=neutron):

2018-02-07 17:12:31 | "2018-02-07 17:12:29,170 DEBUG: 25587 -- CONFIG_VOLUME_PREFIX: /var/lib/config-data",
2018-02-07 17:12:31 | "2018-02-07 17:12:29,171 DEBUG: 25587 -- STARTUP_CONFIG_PATTERN: /var/lib/tripleo-config/docker-container-startup-config-step_*.json",
2018-02-07 17:12:31 | "2018-02-07 17:12:29,173 DEBUG: 25587 -- Looking for hashfile /var/lib/config-data/puppet-generated/clustercheck.md5sum for config_volume /var/lib/config-data/puppet-generated/clustercheck",
2018-02-07 17:12:31 | "2018-02-07 17:12:29,173 DEBUG: 25587 -- Got hashfile /var/lib/config-data/puppet-generated/clustercheck.md5sum for config_volume /var/lib/config-data/puppet-generated/clustercheck",
2018-02-07 17:12:31 | "2018-02-07 17:12:29,174 DEBUG: 25587 -- Updating config hash for clustercheck, config_volume=neutron hash=597a82fe305aa84d2c438229b6f146ee",
2018-02-07 17:12:31 | "2018-02-07 17:12:29,174 DEBUG: 25587 -- Looking for hashfile /var/lib/config-data/puppet-generated/horizon/etc.md5sum for config_volume /var/lib/config-data/puppet-generated/horizon/etc",
2018-02-07 17:12:31 | "2018-02-07 17:12:29,175 DEBUG: 25587 -- Looking for hashfile /var/lib/config-data/puppet-generated/mysql.md5sum for config_volume /var/lib/config-data/puppet-generated/mysql",
2018-02-07 17:12:31 | "2018-02-07 17:12:29,175 DEBUG: 25587 -- Got hashfile /var/lib/config-data/puppet-generated/mysql.md5sum for config_volume /var/lib/config-data/puppet-generated/mysql",
2018-02-07 17:12:31 | "2018-02-07 17:12:29,175 DEBUG: 25587 -- Updating config hash for mysql_bootstrap, config_volume=neutron hash=faed32e74b40f78c54a9e4038453e8f2",
2018-02-07 17:12:31 | "2018-02-07 17:12:29,176 DEBUG: 25587 -- Looking for hashfile /var/lib/config-data/memcached/etc/sysconfig.md5sum for config_volume /var/lib/config-data/memcached/etc/sysconfig",
2018-02-07 17:12:31 | "2018-02-07 17:12:29,176 DEBUG: 25587 -- Looking for hashfile /var/lib/config-data/puppet-generated/rabbitmq.md5sum for config_volume /var/lib/config-data/puppet-generated/rabbitmq",
2018-02-07 17:12:31 | "2018-02-07 17:12:29,176 DEBUG: 25587 -- Got hashfile /var/lib/config-data/puppet-generated/rabbitmq.md5sum for config_volume /var/lib/config-data/puppet-generated/rabbitmq",
2018-02-07 17:12:31 | "2018-02-07 17:12:29,176 DEBUG: 25587 -- Updating config hash for rabbitmq_bootstrap, config_volume=neutron hash=b56f617fd42a81162421dc590abd4c67",
2018-02-07 17:12:31 | "2018-02-07 17:12:29,177 DEBUG: 25587 -- Looking for hashfile /var/lib/config-data/memcached/etc/sysconfig.md5sum for config_volume /var/lib/config-data/memcached/etc/sysconfig",
2018-02-07 17:12:31 | "2018-02-07 17:12:29,178 DEBUG: 25587 -- Looking for hashfile /var/lib/config-data/nova/etc/my.cnf.d.md5sum for config_volume /var/lib/config-data/nova/etc/my.cnf.d",
2018-02-07 17:12:31 | "2018-02-07 17:12:29,179 DEBUG: 25587 -- Looking for hashfile /var/lib/config-data/nova/etc/nova.md5sum for config_volume /var/lib/config-data/nova/etc/nova",
2018-02-07 17:12:31 | "2018-02-07 17:12:29,180 DEBUG: 25587 -- Looking for hashfile /var/lib/config-data/puppet-generated/nova_placement.md5sum for config_volume /var/lib/config-data/puppet-generated/nova_placement",
2018-02-07 17:12:31 | "2018-02-07 17:12:29,180 DEBUG: 25587 -- Got hashfile /var/lib/config-data/puppet-generated/nova_placement.md5sum for config_volume /var/lib/config-data/puppet-generated/nova_placement",
2018-02-07 17:12:31 | "2018-02-07 17:12:29,180 DEBUG: 25587 -- Updating config hash for nova_placement, config_volume=neutron hash=50b8877cd42e96737e30ba8b64e47caa",
2018-02-07 17:12:31 | "2018-02-07 17:12:29,180 DEBUG: 25587 -- Looking for hashfile /var/lib/config-data/nova/etc/my.cnf.d.md5sum for config_volume /var/lib/config-data/nova/etc/my.cnf.d",
2018-02-07 17:12:31 | "2018-02-07 17:12:29,180 DEBUG: 25587 -- Looking for hashfile /var/lib/config-data/nova/etc/nova.md5sum for config_volume /var/lib/config-data/nova/etc/nova",
2018-02-07 17:12:31 | "2018-02-07 17:12:29,181 DEBUG: 25587 -- Looking for hashfile /var/lib/config-data/puppet-generated/neutron.md5sum for config_volume /var/lib/config-data/puppet-generated/neutron",
2018-02-07 17:12:31 | "2018-02-07 17:12:29,181 DEBUG: 25587 -- Got hashfile /var/lib/config-data/puppet-generated/neutron.md5sum for config_volume /var/lib/config-data/puppet-generated/neutron",
2018-02-07 17:12:31 | "2018-02-07 17:12:29,181 DEBUG: 25587 -- Updating config hash for neutron_ovs_bridge, config_volume=neutron hash=7a9cf7a0427e39f3026daa2952455f67",
2018-02-07 17:12:31 | "2018-02-07 17:12:29,181 DEBUG: 25587 -- Looking for hashfile /var/lib/config-data/nova/etc/my.cnf.d.md5sum for config_volume /var/lib/config-data/nova/etc/my.cnf.d",
2018-02-07 17:12:31 | "2018-02-07 17:12:29,181 DEBUG: 25587 -- Looking for hashfile /var/lib/config-data/nova/etc/nova.md5sum for config_volume /var/lib/config-data/nova/etc/nova",
2018-02-07 17:12:31 | "2018-02-07 17:12:29,181 DEBUG: 25587 -- Looking for hashfile /var/lib/config-data/puppet-generated/glance_api.md5sum for config_volume /var/lib/config-data/puppet-generated/glance_api",

Tags: containers
Changed in tripleo:
milestone: rocky-1 → rocky-2
Changed in tripleo:
milestone: rocky-2 → rocky-3
Changed in tripleo:
milestone: rocky-3 → rocky-rc1
Changed in tripleo:
milestone: rocky-rc1 → stein-1
Changed in tripleo:
milestone: stein-1 → stein-2
Changed in tripleo:
milestone: stein-2 → stein-3
Changed in tripleo:
milestone: stein-3 → train-1
Changed in tripleo:
milestone: train-1 → train-2
Changed in tripleo:
milestone: train-2 → train-3
Changed in tripleo:
milestone: train-3 → ussuri-1
Changed in tripleo:
milestone: ussuri-1 → ussuri-2
wes hayutin (weshayutin)
Changed in tripleo:
milestone: ussuri-2 → ussuri-3
wes hayutin (weshayutin)
Changed in tripleo:
milestone: ussuri-3 → ussuri-rc3
wes hayutin (weshayutin)
Changed in tripleo:
status: Triaged → Incomplete
wes hayutin (weshayutin)
Changed in tripleo:
milestone: ussuri-rc3 → victoria-1
Changed in tripleo:
milestone: victoria-1 → victoria-3
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.