Open ccombs-trustamerica opened 1 year ago
sidekiq => { queue_groups => '[\\'*\\'] * 4', },
OR
sidekiq => { queue_groups => "['*'] * 4", },
Both produce the same result: gitlab.rb: sidekiq['queue_groups'] = "['*'] * 4"
sidekiq['queue_groups'] = "['*'] * 4"
gitlab.rb: sidekiq['queue_groups'] = ['*'] * 4
sidekiq['queue_groups'] = ['*'] * 4
Notice: /Stage[main]/Gitlab::Service/Exec[gitlab_reconfigure]/returns: Notice: /Stage[main]/Gitlab::Service/Exec[gitlab_reconfigure]/returns: ================================================================================ Notice: /Stage[main]/Gitlab::Service/Exec[gitlab_reconfigure]/returns: Error executing action create on resource 'template[/opt/gitlab/sv/sidekiq/run]' Notice: /Stage[main]/Gitlab::Service/Exec[gitlab_reconfigure]/returns: ================================================================================ Notice: /Stage[main]/Gitlab::Service/Exec[gitlab_reconfigure]/returns: Notice: /Stage[main]/Gitlab::Service/Exec[gitlab_reconfigure]/returns: Chef::Mixin::Template::TemplateError Notice: /Stage[main]/Gitlab::Service/Exec[gitlab_reconfigure]/returns: ------------------------------------ Notice: /Stage[main]/Gitlab::Service/Exec[gitlab_reconfigure]/returns: undefined method `each' for "[''] 4":String
create
If I try:
sidekiq => { queue_groups => ['[\\'*\\'] * 4'], },
Gitlab.rb: sidekiq['queue_groups'] = ["['*'] * 4"]
sidekiq['queue_groups'] = ["['*'] * 4"]
The reconfigure doesn't error, but I also don't get 4 sideqik processes.
https://docs.gitlab.com/ee/administration/sidekiq/extra_sidekiq_processes.html
Affected Puppet, Ruby, OS and module versions/distributions
How to reproduce (e.g Puppet code you use)
OR
What are you seeing
Both produce the same result: gitlab.rb:
sidekiq['queue_groups'] = "['*'] * 4"
What behaviour did you expect instead
gitlab.rb:
sidekiq['queue_groups'] = ['*'] * 4
Output log
Notice: /Stage[main]/Gitlab::Service/Exec[gitlab_reconfigure]/returns:
Notice: /Stage[main]/Gitlab::Service/Exec[gitlab_reconfigure]/returns: ================================================================================ Notice: /Stage[main]/Gitlab::Service/Exec[gitlab_reconfigure]/returns: Error executing action
create
on resource 'template[/opt/gitlab/sv/sidekiq/run]' Notice: /Stage[main]/Gitlab::Service/Exec[gitlab_reconfigure]/returns: ================================================================================ Notice: /Stage[main]/Gitlab::Service/Exec[gitlab_reconfigure]/returns:Notice: /Stage[main]/Gitlab::Service/Exec[gitlab_reconfigure]/returns: Chef::Mixin::Template::TemplateError Notice: /Stage[main]/Gitlab::Service/Exec[gitlab_reconfigure]/returns: ------------------------------------ Notice: /Stage[main]/Gitlab::Service/Exec[gitlab_reconfigure]/returns: undefined method `each' for "[''] 4":String
Any additional information you'd like to impart
If I try:
Gitlab.rb:
sidekiq['queue_groups'] = ["['*'] * 4"]
The reconfigure doesn't error, but I also don't get 4 sideqik processes.
https://docs.gitlab.com/ee/administration/sidekiq/extra_sidekiq_processes.html