Puppet service provider ignores 'status' and 'hasstatus'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Fix Committed
|
Critical
|
Bartosz Kupidura |
Bug Description
Current puppet version installed on nodes (3.8.3-
root@node-1:~# cat a.pp
service {'ssh':
hasstatus => false,
status => '/bin/true',
ensure => 'running',
}
root@node-1:~# puppet apply --debug a.pp
[...]
Info: Applying configuration version '1459786172'
Debug: Executing '/sbin/status ssh'
Debug: Finishing transaction 31027180
Debug: Storing state
Debug: Stored state in 2.22 seconds
Notice: Finished catalog run in 4.45 seconds
[...]
Instead of '/bin/true' '/sbin/status' was used to discover service status.
This will break some idempotency stuff, ex. https:/
Looks similar to https:/
Please update puppet package, and verify if 'status' is working.
Changed in fuel: | |
assignee: | nobody → MOS Linux (mos-linux) |
Changed in fuel: | |
assignee: | MOS Linux (mos-linux) → Bartosz Kupidura (zynzel) |
on this version: 3.8.6-1puppetlabs1 (latest stable for trusty) this problem doesn't occurs:
Info: Applying configuration version '1459858109'
Debug: Executing '/bin/true'
Debug: Finishing transaction 26258440
Debug: Storing state
Debug: Stored state in 0.45 seconds
Notice: Finished catalog run in 0.84 seconds