[rdo-list] Installing Magnum on mitaka

Edward Ahern Edward.Ahern at tecnotree.com
Wed May 25 11:04:09 UTC 2016


Just to follow up on the below error and its shooting in the dark.....tailing some logs

keystone_wsgi_main_access.log:

192.168.50.248 - - [25/May/2016:12:00:14 +0100] "GET /v2.0 HTTP/1.1" 200 231 "-" "python-openstackclient keystoneauth1/2.3.0 python-requests/2.9.1 CPython/2.7.5"
192.168.50.248 - - [25/May/2016:12:00:14 +0100] "POST /v2.0/tokens HTTP/1.1" 401 114 "-" "python-openstackclient keystoneauth1/2.3.0 python-requests/2.9.1 CPython/2.7.5"

-----Original Message-----
From: rdo-list-bounces at redhat.com [mailto:rdo-list-bounces at redhat.com] On Behalf Of Edward Ahern
Sent: 25 May 2016 11:40
To: Alfredo Moralejo Alonso <amoralej at redhat.com>
Cc: rdo-list at redhat.com
Subject: Re: [rdo-list] Installing Magnum on mitaka


[root at shos1 ~]# source keystonerc_admin
[root at shos1 ~(keystone_admin)]# openstack server list The request you have made requires authentication. (HTTP 401) (Request-ID: req-cb5a1775-d6d5-4c99-8495-deb52df55f53)
[root at shos1 ~(keystone_admin)]#



-----Original Message-----
From: Alfredo Moralejo Alonso [mailto:amoralej at redhat.com]
Sent: 25 May 2016 10:55
To: Edward Ahern <Edward.Ahern at tecnotree.com>
Cc: rdo-list at redhat.com
Subject: Re: [rdo-list] Installing Magnum on mitaka

The issue seems to be with the admin user credentials or role assignment, could you try a non-admin command as:

openstack server list



On Wed, May 25, 2016 at 11:37 AM, Edward Ahern <Edward.Ahern at tecnotree.com> wrote:
> Has anyone got further ideas or could point me towards a procedure to debug the issue?
>
>
> -----Original Message-----
> From: rdo-list-bounces at redhat.com [mailto:rdo-list-bounces at redhat.com]
> On Behalf Of Edward Ahern
> Sent: 23 May 2016 20:28
> To: Christopher Brown <cbrown2 at ocf.co.uk>; amoralej at redhat.com
> Cc: rdo-list at redhat.com
> Subject: Re: [rdo-list] Installing Magnum on mitaka
>
> No problem...correct...I have obfuscated the URL...in my keystonerc_admin file, it's like so:
>
> http://192.168.101.20:5000/v2.0
>
>
> -----Original Message-----
> From: Christopher Brown [mailto:cbrown2 at ocf.co.uk]
> Sent: 23 May 2016 19:56
> To: amoralej at redhat.com; Edward Ahern <Edward.Ahern at tecnotree.com>
> Cc: rdo-list at redhat.com
> Subject: Re: [rdo-list] Installing Magnum on mitaka
>
> Forgive me for asking but I have to be absolutely clear that when you have posted the contents of your keystonerc_admin file, you are obfuscating the URL when you post to this list?
>
> ie. the URL is not _actually_ :
>
> http://<ipaddr>:5000/v2.0
>
> but is http://192.0.2.6:5000/v2.0 or whatever is appropriate to your install.
>
> I have seen packstack installs generate a bad keystonerc_admin file hence my reason for asking.
>
> On Mon, 2016-05-23 at 17:34 +0100, Edward Ahern wrote:
>> Not working unfortunately:
>>
>> [root at shos1 ~]# source keystonerc_admin
>> [root at shos1 ~(keystone_admin)]# openstack user create --password 
>> temporal magnum The request you have made requires authentication.
>> (HTTP 401)
>> (Request-ID: req-575696b7-008e-4d86-9ae5-59c963ab8e40)
>> [root at shos1 ~(keystone_admin)]#
>>
>> I get the same response for project list:
>> [root at shos1 ~(keystone_admin)]# openstack project list The request 
>> you have made requires authentication. (HTTP 401)
>> (Request-ID: req-7696788c-2d0d-49c8-a654-c7f71c0b3576)
>>
>>
>>
>> From: Alfredo Moralejo Alonso [mailto:amoralej at redhat.com]
>> Sent: 23 May 2016 16:18
>> To: Edward Ahern <Edward.Ahern at tecnotree.com>
>> Cc: rdo-list <rdo-list at redhat.com>
>> Subject: Re: [rdo-list] Installing Magnum on mitaka
>>
>>
>> With that keystonerc file, following command should work:
>>
>> openstack user create --password temporal magnum
>>
>> Does other commands as "openstack project list" work?
>>
>>
>> On Mon, May 23, 2016 at 5:03 PM, Edward Ahern <Edward.Ahern at tecnotree 
>> .com> wrote:
>> Hi Alfredo,
>>
>> Yes I am sourcing it
>> Details below, ip address removed re URL
>>
>> Note I’m running the command as root user. The openstack installation 
>> was completed via packstack, which I wasn’t involved in….
>>
>> Regards,
>>
>> Ed
>>
>> # more keystonerc_admin
>> unset OS_SERVICE_TOKEN
>> export OS_USERNAME=admin
>> export OS_PASSWORD=2d0050bd38df4a0e
>> export OS_AUTH_URL=http://<ipaddr>:5000/v2.0
>> export PS1='[\u@\h \W(keystone_admin)]\$ '
>>
>> export OS_TENANT_NAME=admin
>> export OS_REGION_NAME=RegionOne
>>
>> From: Alfredo Moralejo Alonso [mailto:amoralej at redhat.com]
>> Sent: 23 May 2016 16:00
>> To: Edward Ahern <Edward.Ahern at tecnotree.com>
>> Cc: rdo-list <rdo-list at redhat.com>
>> Subject: Re: [rdo-list] Installing Magnum on mitaka
>>
>>
>>
>> On Mon, May 23, 2016 at 4:03 PM, Edward Ahern <Edward.Ahern at tecnotree 
>> .com> wrote:
>> Hi,
>>
>> Is there a proven procedure to install magnum on mitaka?
>> I’m trying to work off this procedure which is written for liberty.
>> I’m blocked at step “Create Magnum user at keystone”
>> I get the following error:
>> “# openstack user create --os-username magnum --password temporal -- 
>> os-auth-url http://<ipddr>:35357/v2.0/ Could not determine a suitable 
>> URL for the plugin”
>>
>>
>> Are you sourcing your keystonerc_admin file?, if so, what variables 
>> are you declaring on it?
>>
>>
>> # openstack --version
>> openstack 2.2.0
>>
>> Regards,
>>
>> Ed
>>
>>
>>
>> _______________________________________________
>> rdo-list mailing list
>> rdo-list at redhat.com
>> https://www.redhat.com/mailman/listinfo/rdo-list
>>
>> To unsubscribe: rdo-list-unsubscribe at redhat.com
>>
>>
> --
> Regards,
>
> Christopher Brown
> OpenStack Engineer
> OCF plc
>
> Tel: +44 (0)114 257 2200
> Web: www.ocf.co.uk
> Blog: blog.ocf.co.uk
> Twitter: @ocfplc
>
> Please note, any emails relating to an OCF Support request must always be sent to support at ocf.co.uk for a ticket number to be generated or existing support ticket to be updated. Should this not be done then OCF cannot be held responsible for requests not dealt with in a timely manner.
>
> OCF plc is a company registered in England and Wales. Registered 
> number 4132533, VAT number GB 780 6803 14. Registered office address:
> OCF plc,
> 5 Rotunda Business Centre, Thorncliffe Park, Chapeltown, Sheffield S35 2PG.
>
> This message is private and confidential. If you have received this message in error, please notify us immediately and remove it from your system.
>
> _______________________________________________
> rdo-list mailing list
> rdo-list at redhat.com
> https://www.redhat.com/mailman/listinfo/rdo-list
>
> To unsubscribe: rdo-list-unsubscribe at redhat.com

_______________________________________________
rdo-list mailing list
rdo-list at redhat.com
https://www.redhat.com/mailman/listinfo/rdo-list

To unsubscribe: rdo-list-unsubscribe at redhat.com




More information about the dev mailing list