[Pulp-list] User does not have permission error

John Halfpenny john.halfpenny at sheffield.ac.uk
Mon Mar 30 08:07:32 UTC 2015


Brian that was absolutely correct, thank you!

For completeness,

# pulp-admin login -u user -p pass

Generated a certificate and allowed me to sync the repo. Issue solved.

Best Wishes
John

On 27/03/2015 20:57, Brian Bouterse wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> It looks like the machine you are running pulp-admin on is not
> authenticated with the server. As such pulp is denying the request
> saying that your user doesn't have enough permissions. Try logging in
> explicitly with pulp-admin and then retry your repo create.
>
> - -Brian
>
> On 03/27/2015 11:18 AM, John Halfpenny wrote:
>> Hi Guys
>>
>> I worked through the install doc [1] to install pulp on Centos 7.
>>
>> When attempting to sync the Foreman repo as per the example recipe
>> [2], I get this:
>>
>> # pulp-admin rpm repo create --repo-id=foremantest
>> --feed=http://yum.theforeman.org/releases/1.1/el6/x86_64/
>> --relative-url=foreman The specified user does not have permission
>> to execute the given command
>>
>> ...and in /var/log/messages I see
>>
>> Mar 27 13:45:03 servername pulp:
>> pulp.server.webservices.middleware.exception:INFO: Authentication
>> with username None failed: invalid SSL certificate.
>>
>> Have I missed the glaringly obvious? It is Friday after all. :0)
>>
>> Versions:
>>
>> # rpm -qa |grep pulp | sort pulp-admin-client-2.6.0-1.el7.noarch
>> pulp-agent-2.6.0-1.el7.noarch
>> pulp-consumer-client-2.6.0-1.el7.noarch
>> pulp-puppet-admin-extensions-2.6.0-1.el7.noarch
>> pulp-puppet-consumer-extensions-2.6.0-1.el7.noarch
>> pulp-puppet-handlers-2.6.0-1.el7.noarch
>> pulp-puppet-plugins-2.6.0-1.el7.noarch
>> pulp-rpm-admin-extensions-2.6.0-1.el7.noarch
>> pulp-rpm-consumer-extensions-2.6.0-1.el7.noarch
>> pulp-rpm-handlers-2.6.0-1.el7.noarch
>> pulp-rpm-plugins-2.6.0-1.el7.noarch
>> pulp-rpm-yumplugins-2.6.0-1.el7.noarch
>> pulp-selinux-2.6.0-1.el7.noarch pulp-server-2.6.0-1.el7.noarch
>> python-isodate-0.5.0-4.pulp.el7.noarch
>> python-kombu-3.0.24-5.pulp.el7.noarch
>> python-pulp-agent-lib-2.6.0-1.el7.noarch
>> python-pulp-bindings-2.6.0-1.el7.noarch
>> python-pulp-client-lib-2.6.0-1.el7.noarch
>> python-pulp-common-2.6.0-1.el7.noarch
>> python-pulp-puppet-common-2.6.0-1.el7.noarch
>> python-pulp-rpm-common-2.6.0-1.el7.noarch
>>
>> Any assistance very much appreciated.
>>
>> Best Wishes John
>>
>> [1]
>> http://pulp-user-guide.readthedocs.org/en/latest/installation.html
>> [2]
>> http://pulp-rpm-user-guide.readthedocs.org/en/latest/recipes.html
>>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1
>
> iQEcBAEBAgAGBQJVFcQhAAoJEK48cdELyEfye/8H/A35URu4pVujHlqZHcAYAyv7
> qfBdDTOUpyhtiSS/bY9VXX28e+42WCnO5usivoAi9APwpnEDddA5bzKEIK6g4iFy
> SqqulGZ9NesgXpYbJbfznIohpHmoxh6YletOIN95CHVWpwzv92pKlQ7zci9Gkcyp
> s/T4wa5e0CovH5wvpKIbw9kyhmZ2AIPvmvNemwvMV1myB3SLGk6weZkaViusAilt
> mkzPuzhjShuhniKQ+xMGoUY615Em0XXbCf2g8zI2CXzO1g4DQ/GxCUNS3sIMMieh
> +oLg6hIZ4Pzp6eTXZk5s/taapM6s37rsvMZxqQ5sC8zAsy0vapFbDsH2UsOfddc=
> =egl1
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> Pulp-list mailing list
> Pulp-list at redhat.com
> https://www.redhat.com/mailman/listinfo/pulp-list

-- 
John S Halfpenny
Linux Systems Administrator

Corporate Information & Computing Services
The University of Sheffield
10-12 Brunswick Street
Sheffield
S10 2FN

Tel: 0114 222 3031




More information about the Pulp-list mailing list