Mikael Fridh
2011-Mar-14 14:27 UTC
[Puppet Users] configsync requires 2nd puppet run for plugin loading to work
First run of puppet performs a configsync and an attempt to load the downloaded plugins, the provider fails to be found by puppet in this first run, another re-run of puppet is needed for the provider to work, see debug output below. Is this a bug or am I missing something you think? The error in short: err: /Stage[main]/Ibe::Slave/Logical_volume[mysql]: Could not evaluate: No ability to determine if logical_volume exists 1st run: The longer version: [root@data04 ~]# puppet agent --test --verbose [69/4012] info: Retrieving plugin notice: /File[/var/lib/puppet/lib/puppet/provider]/ensure: created notice: /File[/var/lib/puppet/lib/puppet/provider/filesystem]/ensure: created notice: /File[/var/lib/puppet/lib/puppet/provider/filesystem/lvm.rb]/ensure: defined content as ''{md5}600dde93687bae8db137d5e84ff05e04'' notice: /File[/var/lib/puppet/lib/puppet/provider/logical_volume]/ensure: created notice: /File[/var/lib/puppet/lib/puppet/provider/logical_volume/lvm.rb]/ensure: defined content as ''{md5}f5fe6a036d4f41ea8d67e01ee1a3e80a'' notice: /File[/var/lib/puppet/lib/puppet/provider/physical_volume]/ensure: created notice: /File[/var/lib/puppet/lib/puppet/provider/physical_volume/lvm.rb]/ensure: defined content as ''{md5}ceb7fd1c60ef79a3375da30f27e1df2e'' notice: /File[/var/lib/puppet/lib/puppet/provider/volume_group]/ensure: created notice: /File[/var/lib/puppet/lib/puppet/provider/volume_group/lvm.rb]/ensure: defined content as ''{md5}6c28663bcb22644cef1af5e25dd56290'' notice: /File[/var/lib/puppet/lib/puppet/type]/ensure: created notice: /File[/var/lib/puppet/lib/puppet/type/filesystem.rb]/ensure: defined content as ''{md5}5d11e39fd9c983722561795f24d283d9'' notice: /File[/var/lib/puppet/lib/puppet/type/logical_volume.rb]/ensure: defined content as ''{md5}fddc449277fa2d976ea4fc925018fb48'' notice: /File[/var/lib/puppet/lib/puppet/type/physical_volume.rb]/ensure: defined content as ''{md5}21f306de23bad962d2fa1f8316c6c2f0'' notice: /File[/var/lib/puppet/lib/puppet/type/volume_group.rb]/ensure: defined content as ''{md5}e48f119df8920af800135fe38c1f6017'' info: Loading downloaded plugin /var/lib/puppet/lib/puppet/provider/logical_volume/lvm.rb info: Loading downloaded plugin /var/lib/puppet/lib/puppet/type/volume_group.rb info: Loading downloaded plugin /var/lib/puppet/lib/puppet/type/logical_volume.rb info: Redefining logical_volume in Puppet::Type info: Loading downloaded plugin /var/lib/puppet/lib/puppet/type/filesystem.rb info: Loading downloaded plugin /var/lib/puppet/lib/puppet/type/physical_volume.rb info: Loading downloaded plugin /var/lib/puppet/lib/puppet/provider/volume_group/lvm.rb info: Loading downloaded plugin /var/lib/puppet/lib/puppet/provider/physical_volume/lvm.rb info: Loading downloaded plugin /var/lib/puppet/lib/puppet/provider/filesystem/lvm.rb info: Caching catalog for data04 info: Applying configuration version ''1300111021'' err: /Stage[main]/Ibe::Slave/Logical_volume[mysql]: Could not evaluate: No ability to determine if logical_volume exists 2nd run: [root@data04 ~]# puppet agent --test --verbose info: Retrieving plugin info: Caching catalog for data04 info: Applying configuration version ''1300111021'' notice: /Stage[main]/Ibe::Slave/Logical_volume[mysql]/ensure: created notice: /Stage[main]/Ibe::Slave/Filesystem[/dev/sysvg/mysql]/ensure: created info: FileBucket adding {md5}db15660a273b84daf6970c78917bb4e8 notice: /Stage[main]/Ibe::Slave/Mount[/mysql]/ensure: defined ''ensure'' as ''mounted'' info: /Stage[main]/Ibe::Slave/Mount[/mysql]: Scheduling refresh of Mount[/mysql] info: Mount[/mysql](provider=parsed): Remounting notice: /Stage[main]/Ibe::Slave/Mount[/mysql]: Triggered ''refresh'' from 1 events info: /Stage[main]/Ibe::Slave/Mount[/mysql]: Scheduling refresh of Mount[/mysql] notice: /Stage[main]/Ibe::Slave/File[/mysql/tmp]/ensure: created -- Regards, Mikael -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Mikael Fridh
2011-Mar-15 10:19 UTC
[Puppet Users] Re: configsync requires 2nd puppet run for plugin loading to work
On Mon, Mar 14, 2011 at 3:27 PM, Mikael Fridh <frimik@gmail.com> wrote:> First run of puppet performs a configsync and an attempt to load the > downloaded plugins, the provider fails to be found by puppet in this > first run, another re-run of puppet is needed for the provider to > work, see debug output below. > > Is this a bug or am I missing something you think?Following up myself here since I found the bug: https://projects.puppetlabs.com/issues/3561 https://projects.puppetlabs.com/issues/3136 https://projects.puppetlabs.com/issues/4416 -- Mikael Fridh -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.