Permission Denied post install

Morning all

I've hit an issue running Puppet agent after using Foreman_installer to
setup and configure everything… I've used the develop branch following
the issues I had last time with master :slight_smile:

Currently, I'm getting the following error:

puppet agent -t
> Info: Retrieving plugin
> Info: Loading facts in /var/lib/puppet/lib/facter/concat_basedir.rb
> Info: Loading facts in /var/lib/puppet/lib/facter/puppet_vardir.rb
> Info: Loading facts in /var/lib/puppet/lib/facter/root_home.rb
> Info: Loading facts in /var/lib/puppet/lib/facter/oracle_sids.rb
> Info: Loading facts in /var/lib/puppet/lib/facter/pe_version.rb
> Info: Loading facts in /var/lib/puppet/lib/facter/oracle_db_homes.rb
> Info: Loading facts in /var/lib/puppet/lib/facter/oracle_clones.rb
> Info: Loading facts in /var/lib/puppet/lib/facter/smo_version.rb
> Error: Could not retrieve catalog from remote server: Error 400 on SERVER:
> Permission denied - /var/lib/puppet/foreman_cache_data/db_password at
> /etc/puppet/modules/common/foreman/manifests/params.pp:52 on node
> act-lg-tpuppet.test.card.co.uk
> Warning: Not using cache on failed catalog
> Error: Could not retrieve catalog; skipping run
>

The file exists, and has stuff in it…

Any ideas where the issue could be?

Cheers
Gavin

> Morning all
>
> I've hit an issue running Puppet agent after using Foreman_installer to
> setup and configure everything… I've used the develop branch following
> the issues I had last time with master :slight_smile:
>
> Currently, I'm getting the following error:
>
> puppet agent -t
>> Info: Retrieving plugin
>> Info: Loading facts in /var/lib/puppet/lib/facter/concat_basedir.rb
>> Info: Loading facts in /var/lib/puppet/lib/facter/puppet_vardir.rb
>> Info: Loading facts in /var/lib/puppet/lib/facter/root_home.rb
>> Info: Loading facts in /var/lib/puppet/lib/facter/oracle_sids.rb
>> Info: Loading facts in /var/lib/puppet/lib/facter/pe_version.rb
>> Info: Loading facts in /var/lib/puppet/lib/facter/oracle_db_homes.rb
>> Info: Loading facts in /var/lib/puppet/lib/facter/oracle_clones.rb
>> Info: Loading facts in /var/lib/puppet/lib/facter/smo_version.rb
>> Error: Could not retrieve catalog from remote server: Error 400 on
>> SERVER: Permission denied -
>
> /var/lib/puppet/foreman_cache_data/db_password at
>> /etc/puppet/modules/common/foreman/manifests/params.pp:52 on node
>
> ^^^ read this line again :slight_smile:

Ohad

··· On Wed, May 8, 2013 at 1:03 PM, Gavin Williams wrote:

act-lg-tpuppet.test.card.co.uk

Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run

The file exists, and has stuff in it…

Any ideas where the issue could be?

Cheers
Gavin

–
You received this message because you are subscribed to the Google Groups
"Foreman users" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to foreman-users+unsubscribe@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com.
Visit this group at http://groups.google.com/group/foreman-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.

Ok, i've changed the file permissions to be globally read-able, and it
appears to now be working…

Will see if I can get a code fix into the relevant foreman module to set
the permissions correctly…

··· On 8 May 2013 13:13, Ohad Levy wrote:

On Wed, May 8, 2013 at 1:03 PM, Gavin Williams fatmcgav@gmail.com wrote:

Morning all

I’ve hit an issue running Puppet agent after using Foreman_installer to
setup and configure everything… I’ve used the develop branch following
the issues I had last time with master :slight_smile:

Currently, I’m getting the following error:

puppet agent -t

Info: Retrieving plugin
Info: Loading facts in /var/lib/puppet/lib/facter/concat_basedir.rb
Info: Loading facts in /var/lib/puppet/lib/facter/puppet_vardir.rb
Info: Loading facts in /var/lib/puppet/lib/facter/root_home.rb
Info: Loading facts in /var/lib/puppet/lib/facter/oracle_sids.rb
Info: Loading facts in /var/lib/puppet/lib/facter/pe_version.rb
Info: Loading facts in /var/lib/puppet/lib/facter/oracle_db_homes.rb
Info: Loading facts in /var/lib/puppet/lib/facter/oracle_clones.rb
Info: Loading facts in /var/lib/puppet/lib/facter/smo_version.rb
Error: Could not retrieve catalog from remote server: Error 400 on
SERVER: Permission denied -

/var/lib/puppet/foreman_cache_data/db_password at

/etc/puppet/modules/common/foreman/manifests/params.pp:52 on node

^^^ read this line again :slight_smile:

Ohad

act-lg-tpuppet.test.card.co.uk

Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run

The file exists, and has stuff in it…

Any ideas where the issue could be?

Cheers
Gavin

–
You received this message because you are subscribed to the Google Groups
"Foreman users" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to foreman-users+unsubscribe@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com.
Visit this group at http://groups.google.com/group/foreman-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.

–
You received this message because you are subscribed to a topic in the
Google Groups “Foreman users” group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/foreman-users/CeT9SIURhhw/unsubscribe?hl=en
.
To unsubscribe from this group and all its topics, send an email to
foreman-users+unsubscribe@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com.
Visit this group at http://groups.google.com/group/foreman-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.

> Ok, i've changed the file permissions to be globally read-able, and it
> appears to now be working…
>
> Will see if I can get a code fix into the relevant foreman module to set
> the permissions correctly…
>
> my guess you one time ran it manually as root… it should be user/group
puppet.

Ohad

··· On Wed, May 8, 2013 at 3:55 PM, fatmcgav wrote:

On 8 May 2013 13:13, Ohad Levy ohadlevy@gmail.com wrote:

On Wed, May 8, 2013 at 1:03 PM, Gavin Williams fatmcgav@gmail.comwrote:

Morning all

I’ve hit an issue running Puppet agent after using Foreman_installer to
setup and configure everything… I’ve used the develop branch following
the issues I had last time with master :slight_smile:

Currently, I’m getting the following error:

puppet agent -t

Info: Retrieving plugin
Info: Loading facts in /var/lib/puppet/lib/facter/concat_basedir.rb
Info: Loading facts in /var/lib/puppet/lib/facter/puppet_vardir.rb
Info: Loading facts in /var/lib/puppet/lib/facter/root_home.rb
Info: Loading facts in /var/lib/puppet/lib/facter/oracle_sids.rb
Info: Loading facts in /var/lib/puppet/lib/facter/pe_version.rb
Info: Loading facts in /var/lib/puppet/lib/facter/oracle_db_homes.rb
Info: Loading facts in /var/lib/puppet/lib/facter/oracle_clones.rb
Info: Loading facts in /var/lib/puppet/lib/facter/smo_version.rb
Error: Could not retrieve catalog from remote server: Error 400 on
SERVER: Permission denied -

/var/lib/puppet/foreman_cache_data/db_password at

/etc/puppet/modules/common/foreman/manifests/params.pp:52 on node

^^^ read this line again :slight_smile:

Ohad

act-lg-tpuppet.test.card.co.uk

Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run

The file exists, and has stuff in it…

Any ideas where the issue could be?

Cheers
Gavin

–
You received this message because you are subscribed to the Google
Groups “Foreman users” group.
To unsubscribe from this group and stop receiving emails from it, send
an email to foreman-users+unsubscribe@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com.
Visit this group at http://groups.google.com/group/foreman-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.

–
You received this message because you are subscribed to a topic in the
Google Groups “Foreman users” group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/foreman-users/CeT9SIURhhw/unsubscribe?hl=en
.
To unsubscribe from this group and all its topics, send an email to
foreman-users+unsubscribe@googlegroups.com.

To post to this group, send email to foreman-users@googlegroups.com.
Visit this group at http://groups.google.com/group/foreman-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.

–
You received this message because you are subscribed to the Google Groups
"Foreman users" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to foreman-users+unsubscribe@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com.
Visit this group at http://groups.google.com/group/foreman-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.