Re: [Openstack] Verification of Keystone Installation fails

2012-10-31 Thread Ahmed Al-Mehdi
Please ignore my email below, and further testing revealed my findings below to 
be false.

Regards,
Ahmed.


From: Ahmed Al-Mehdi mailto:ah...@coraid.com>>
Date: Wednesday, October 31, 2012 2:18 PM
To: Joshua Harlow mailto:harlo...@yahoo-inc.com>>, 
Dolph Mathews mailto:dolph.math...@gmail.com>>
Cc: Joseph Heck mailto:joe.h...@nebula.com>>, 
"openstack@lists.launchpad.net<mailto:openstack@lists.launchpad.net>" 
mailto:openstack@lists.launchpad.net>>
Subject: Re: [Openstack] Verification of Keystone Installation fails

I think I figured out the issue (as far as what env. variables I should have 
defined), and this is my fault for …mixing steps stated in Section 5 of 
"Openstack Install for Ubuntu" and Appendix B in the same doc.  It seems 
defining the env. variable  SERVICE_ENDPOINT causes the failure (not sure if 
this a bug or user misunderstanding/error).

root@bodega:~# env | egrep "OS_|SERVICE_"
OS_PASSWORD=admin
OS_AUTH_URL=http://10.176.20.158:5000/v2.0/
OS_USERNAME=admin
OS_TENANT_NAME=openstackDemo
SERVICE_ENDPOINT=http://10.176.20.158:35357/v2.0/
root@bodega:~#
root@bodega:~# keystone user-list
Expecting a token provided via either --token or env[SERVICE_TOKEN]
root@bodega:~#

However,

root@bodega:~# env | egrep "OS_|SERVICE_"
OS_PASSWORD=admin
OS_AUTH_URL=http://10.176.20.158:5000/v2.0/
OS_USERNAME=admin
OS_TENANT_NAME=openstackDemo
root@bodega:~#
root@bodega:~# keystone user-list
+--++-+---+
|id|  name  | enabled | email |
+--++-+---+
| 32cc7b40147c46539212870b371c43f0 | swift  |   True  |   |
| 4eb5d55edb4141aa9950fc25196bd669 |  nova  |   True  |   |
| 6744c4637ea64a1e9ce53ea8e945fc0d |  ec2   |   True  |   |
| aa5449939470460bb21d391c89327b67 | glance |   True  |   |
| ce016bb05df949ebbafcc7c165359d7c | admin  |   True  |   |
+--++-+---+
root@bodega:~#

I apologize for wasting people's time.  For now, I will move onto next step.

Regards,
Ahmed.


From: Joshua Harlow mailto:harlo...@yahoo-inc.com>>
Date: Wednesday, October 31, 2012 1:32 PM
To: Ahmed Al-Mehdi mailto:ah...@coraid.com>>, Dolph Mathews 
mailto:dolph.math...@gmail.com>>
Cc: Joseph Heck mailto:joe.h...@nebula.com>>, 
"openstack@lists.launchpad.net<mailto:openstack@lists.launchpad.net>" 
mailto:openstack@lists.launchpad.net>>
Subject: Re: [Openstack] Verification of Keystone Installation fails

I think the overall issue is connected to 
https://bugs.launchpad.net/keystone/+bug/962600

Right? Seems like that is still happening :-(

From: Ahmed Al-Mehdi mailto:ah...@coraid.com>>
Date: Wednesday, October 31, 2012 1:15 PM
To: Dolph Mathews mailto:dolph.math...@gmail.com>>
Cc: Joseph Heck mailto:joe.h...@nebula.com>>, 
"openstack@lists.launchpad.net<mailto:openstack@lists.launchpad.net>" 
mailto:openstack@lists.launchpad.net>>
Subject: Re: [Openstack] Verification of Keystone Installation fails

Hi Dolph,

Awesome, that worked.  Thank you very much.  Just out of curiosity, what was 
the exact conflict?   Between which environment variable and option passed to 
the CLI?

Regards,
Ahmed.


From: Dolph Mathews mailto:dolph.math...@gmail.com>>
Date: Wednesday, October 31, 2012 10:46 AM
To: Ahmed Al-Mehdi mailto:ah...@coraid.com>>
Cc: "openstack@lists.launchpad.net<mailto:openstack@lists.launchpad.net>" 
mailto:openstack@lists.launchpad.net>>, Joseph 
Heck mailto:joe.h...@nebula.com>>
Subject: Re: [Openstack] Verification of Keystone Installation fails

I was able to reproduce by defining SERVICE_ENDPOINT and SERVICE_TOKEN in my 
own environment, which appear to be overriding the credentials provided on the 
CLI -- I don't think that's the intended behavior.

If you unset them, you should be able to verify the install.

If you skip verifying keystone and something is wrong with it, you'll likely 
find out pretty quick when another service calls keystone for the first time :)

-Dolph


On Wed, Oct 31, 2012 at 12:22 PM, Ahmed Al-Mehdi 
mailto:ah...@coraid.com>> wrote:
Hi Dolph,

Thank you very much for helping me on this issue.  Following is the environment 
variables related to openstack:

root@bodega:~# env | egrep "OS_|SERVICE_"
SERVICE_ENDPOINT=http://10.176.20.158:35357/v2.0/
SERVICE_TOKEN=012345SECRET99TOKEN012345
root@bodega:~# ifconfig eth0
eth0  Link encap:Ethernet  HWaddr 00:1e:67:06:1b:67
  inet addr:10.176.20.158  Bcast:10.176.255.255  Mask:255.255.0.0
  inet6 addr: fe80::21e:67ff:fe06:1b67/64 Scope:Link
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:12760203 errors:0 dropped:0 overruns:0 frame:0
  TX packets:203944 errors

Re: [Openstack] Verification of Keystone Installation fails

2012-10-31 Thread Ahmed Al-Mehdi
Thank you very much for the explanation.  After some further tinkering with 
keystone.conf file, what you explained below is exactly what is happening.  
Thank you again for bearing with my questions.

Regards,
Ahmed.


From: Dolph Mathews mailto:dolph.math...@gmail.com>>
Date: Wednesday, October 31, 2012 2:16 PM
To: Joshua Harlow mailto:harlo...@yahoo-inc.com>>
Cc: Ahmed Al-Mehdi mailto:ah...@coraid.com>>, Joseph Heck 
mailto:joe.h...@nebula.com>>, 
"openstack@lists.launchpad.net<mailto:openstack@lists.launchpad.net>" 
mailto:openstack@lists.launchpad.net>>
Subject: Re: [Openstack] Verification of Keystone Installation fails

There are basically two rules at work:

1) an existing token takes precedence over username+password credentials.
2) CLI options take precedence over configuration from the environment.

In Folsom, these options look like:

(existing token)
--os-token / OS_SERVICE_TOKEN
--os-endpoint / OS_SERVICE_ENDPOINT

(credentials)
--os-username / OS_USERNAME
--os-password / OS_PASSWORD
--os-tenant-name / OS_TENANT_NAME
--os-auth-url / OS_AUTH_URL

(there are also a few other options like region, api version, etc)

Rule 1 is universally applied before rule 2, which means the token + endpoint 
from the environment is taking precedence over username + password from the 
CLI. IMO, it's a bug that rule 2 isn't applied before rule 1.

-Dolph


On Wed, Oct 31, 2012 at 3:32 PM, Joshua Harlow 
mailto:harlo...@yahoo-inc.com>> wrote:
I think the overall issue is connected to 
https://bugs.launchpad.net/keystone/+bug/962600

Right? Seems like that is still happening :-(

From: Ahmed Al-Mehdi mailto:ah...@coraid.com>>
Date: Wednesday, October 31, 2012 1:15 PM
To: Dolph Mathews mailto:dolph.math...@gmail.com>>
Cc: Joseph Heck mailto:joe.h...@nebula.com>>, 
"openstack@lists.launchpad.net<mailto:openstack@lists.launchpad.net>" 
mailto:openstack@lists.launchpad.net>>

Subject: Re: [Openstack] Verification of Keystone Installation fails

Hi Dolph,

Awesome, that worked.  Thank you very much.  Just out of curiosity, what was 
the exact conflict?   Between which environment variable and option passed to 
the CLI?

Regards,
Ahmed.


From: Dolph Mathews mailto:dolph.math...@gmail.com>>
Date: Wednesday, October 31, 2012 10:46 AM
To: Ahmed Al-Mehdi mailto:ah...@coraid.com>>
Cc: "openstack@lists.launchpad.net<mailto:openstack@lists.launchpad.net>" 
mailto:openstack@lists.launchpad.net>>, Joseph 
Heck mailto:joe.h...@nebula.com>>
Subject: Re: [Openstack] Verification of Keystone Installation fails

I was able to reproduce by defining SERVICE_ENDPOINT and SERVICE_TOKEN in my 
own environment, which appear to be overriding the credentials provided on the 
CLI -- I don't think that's the intended behavior.

If you unset them, you should be able to verify the install.

If you skip verifying keystone and something is wrong with it, you'll likely 
find out pretty quick when another service calls keystone for the first time :)

-Dolph


On Wed, Oct 31, 2012 at 12:22 PM, Ahmed Al-Mehdi 
mailto:ah...@coraid.com>> wrote:
Hi Dolph,

Thank you very much for helping me on this issue.  Following is the environment 
variables related to openstack:

root@bodega:~# env | egrep "OS_|SERVICE_"
SERVICE_ENDPOINT=http://10.176.20.158:35357/v2.0/
SERVICE_TOKEN=012345SECRET99TOKEN012345
root@bodega:~# ifconfig eth0
eth0  Link encap:Ethernet  HWaddr 00:1e:67:06:1b:67
  inet addr:10.176.20.158  Bcast:10.176.255.255  Mask:255.255.0.0
  inet6 addr: fe80::21e:67ff:fe06:1b67/64 Scope:Link
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:12760203 errors:0 dropped:0 overruns:0 frame:0
  TX packets:203944 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:1000
  RX bytes:1044985224 (1.0 GB)  TX bytes:22642912 (22.6 MB)
  Interrupt:16 Memory:b200-b202
root@bodega:~#

I am attaching keystone.conf file.

Would you happen to know if there is a high level document document on keystone 
(more than just a user guide, but a architectural/functional doc, but not a API 
doc).  Something similar to 
http://docs.openstack.org/trunk/openstack-identity/admin/os-identity-starter-guide-trunk.pdf
 but updated.

Does my current issue prohibit me from progressing forward with the next steps 
in the install document, setting up glance, nova, etc.?

Regards,
Ahmed.



From: Dolph Mathews mailto:dolph.math...@gmail.com>>
Date: Wednesday, October 31, 2012 9:44 AM
To: Ahmed Al-Mehdi mailto:ah...@coraid.com>>
Cc: "openstack@lists.launchpad.net<mailto:openstack@lists.launchpad.net>" 
mailto:openstack@lists.launchpad.net>>
Subject: Re: [Openstack] Verification of Keystone Installation fails

The error you're seeing is actually client-side, so there won't be 

Re: [Openstack] Verification of Keystone Installation fails

2012-10-31 Thread Ahmed Al-Mehdi
I think I figured out the issue (as far as what env. variables I should have 
defined), and this is my fault for …mixing steps stated in Section 5 of 
"Openstack Install for Ubuntu" and Appendix B in the same doc.  It seems 
defining the env. variable  SERVICE_ENDPOINT causes the failure (not sure if 
this a bug or user misunderstanding/error).

root@bodega:~# env | egrep "OS_|SERVICE_"
OS_PASSWORD=admin
OS_AUTH_URL=http://10.176.20.158:5000/v2.0/
OS_USERNAME=admin
OS_TENANT_NAME=openstackDemo
SERVICE_ENDPOINT=http://10.176.20.158:35357/v2.0/
root@bodega:~#
root@bodega:~# keystone user-list
Expecting a token provided via either --token or env[SERVICE_TOKEN]
root@bodega:~#

However,

root@bodega:~# env | egrep "OS_|SERVICE_"
OS_PASSWORD=admin
OS_AUTH_URL=http://10.176.20.158:5000/v2.0/
OS_USERNAME=admin
OS_TENANT_NAME=openstackDemo
root@bodega:~#
root@bodega:~# keystone user-list
+--++-+---+
|id|  name  | enabled | email |
+--++-+---+
| 32cc7b40147c46539212870b371c43f0 | swift  |   True  |   |
| 4eb5d55edb4141aa9950fc25196bd669 |  nova  |   True  |   |
| 6744c4637ea64a1e9ce53ea8e945fc0d |  ec2   |   True  |   |
| aa5449939470460bb21d391c89327b67 | glance |   True  |   |
| ce016bb05df949ebbafcc7c165359d7c | admin  |   True  |   |
+--++-+---+
root@bodega:~#

I apologize for wasting people's time.  For now, I will move onto next step.

Regards,
Ahmed.


From: Joshua Harlow mailto:harlo...@yahoo-inc.com>>
Date: Wednesday, October 31, 2012 1:32 PM
To: Ahmed Al-Mehdi mailto:ah...@coraid.com>>, Dolph Mathews 
mailto:dolph.math...@gmail.com>>
Cc: Joseph Heck mailto:joe.h...@nebula.com>>, 
"openstack@lists.launchpad.net<mailto:openstack@lists.launchpad.net>" 
mailto:openstack@lists.launchpad.net>>
Subject: Re: [Openstack] Verification of Keystone Installation fails

I think the overall issue is connected to 
https://bugs.launchpad.net/keystone/+bug/962600

Right? Seems like that is still happening :-(

From: Ahmed Al-Mehdi mailto:ah...@coraid.com>>
Date: Wednesday, October 31, 2012 1:15 PM
To: Dolph Mathews mailto:dolph.math...@gmail.com>>
Cc: Joseph Heck mailto:joe.h...@nebula.com>>, 
"openstack@lists.launchpad.net<mailto:openstack@lists.launchpad.net>" 
mailto:openstack@lists.launchpad.net>>
Subject: Re: [Openstack] Verification of Keystone Installation fails

Hi Dolph,

Awesome, that worked.  Thank you very much.  Just out of curiosity, what was 
the exact conflict?   Between which environment variable and option passed to 
the CLI?

Regards,
Ahmed.


From: Dolph Mathews mailto:dolph.math...@gmail.com>>
Date: Wednesday, October 31, 2012 10:46 AM
To: Ahmed Al-Mehdi mailto:ah...@coraid.com>>
Cc: "openstack@lists.launchpad.net<mailto:openstack@lists.launchpad.net>" 
mailto:openstack@lists.launchpad.net>>, Joseph 
Heck mailto:joe.h...@nebula.com>>
Subject: Re: [Openstack] Verification of Keystone Installation fails

I was able to reproduce by defining SERVICE_ENDPOINT and SERVICE_TOKEN in my 
own environment, which appear to be overriding the credentials provided on the 
CLI -- I don't think that's the intended behavior.

If you unset them, you should be able to verify the install.

If you skip verifying keystone and something is wrong with it, you'll likely 
find out pretty quick when another service calls keystone for the first time :)

-Dolph


On Wed, Oct 31, 2012 at 12:22 PM, Ahmed Al-Mehdi 
mailto:ah...@coraid.com>> wrote:
Hi Dolph,

Thank you very much for helping me on this issue.  Following is the environment 
variables related to openstack:

root@bodega:~# env | egrep "OS_|SERVICE_"
SERVICE_ENDPOINT=http://10.176.20.158:35357/v2.0/
SERVICE_TOKEN=012345SECRET99TOKEN012345
root@bodega:~# ifconfig eth0
eth0  Link encap:Ethernet  HWaddr 00:1e:67:06:1b:67
  inet addr:10.176.20.158  Bcast:10.176.255.255  Mask:255.255.0.0
  inet6 addr: fe80::21e:67ff:fe06:1b67/64 Scope:Link
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:12760203 errors:0 dropped:0 overruns:0 frame:0
  TX packets:203944 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:1000
  RX bytes:1044985224 (1.0 GB)  TX bytes:22642912 (22.6 MB)
  Interrupt:16 Memory:b200-b202
root@bodega:~#

I am attaching keystone.conf file.

Would you happen to know if there is a high level document document on keystone 
(more than just a user guide, but a architectural/functional doc, but not a API 
doc).  Something similar to 
http://docs.openstack.org/trunk/openstack-identity/admin/os-identity-starter-guide-trunk.pdf
 but updated.

Does my current issue prohibit m

Re: [Openstack] Verification of Keystone Installation fails

2012-10-31 Thread Dolph Mathews
There are basically two rules at work:

1) an existing token takes precedence over username+password credentials.
2) CLI options take precedence over configuration from the environment.

In Folsom, these options look like:

(existing token)
--os-token / OS_SERVICE_TOKEN
--os-endpoint / OS_SERVICE_ENDPOINT

(credentials)
--os-username / OS_USERNAME
--os-password / OS_PASSWORD
--os-tenant-name / OS_TENANT_NAME
--os-auth-url / OS_AUTH_URL

(there are also a few other options like region, api version, etc)

Rule 1 is universally applied before rule 2, which means the token +
endpoint from the environment is taking precedence over username + password
from the CLI. IMO, it's a bug that rule 2 isn't applied before rule 1.

-Dolph


On Wed, Oct 31, 2012 at 3:32 PM, Joshua Harlow wrote:

> I think the overall issue is connected to
> https://bugs.launchpad.net/keystone/+bug/962600
>
> Right? Seems like that is still happening :-(
>
> From: Ahmed Al-Mehdi 
> Date: Wednesday, October 31, 2012 1:15 PM
> To: Dolph Mathews 
> Cc: Joseph Heck , "openstack@lists.launchpad.net" <
> openstack@lists.launchpad.net>
>
> Subject: Re: [Openstack] Verification of Keystone Installation fails
>
> Hi Dolph,
>
> Awesome, that worked.  Thank you very much.  Just out of curiosity, what
> was the exact conflict?   Between which environment variable and option
> passed to the CLI?
>
> Regards,
> Ahmed.
>
>
> From: Dolph Mathews 
> Date: Wednesday, October 31, 2012 10:46 AM
> To: Ahmed Al-Mehdi 
> Cc: "openstack@lists.launchpad.net" ,
> Joseph Heck 
> Subject: Re: [Openstack] Verification of Keystone Installation fails
>
> I was able to reproduce by defining SERVICE_ENDPOINT and SERVICE_TOKEN in
> my own environment, which appear to be overriding the credentials provided
> on the CLI -- I don't think that's the intended behavior.
>
> If you unset them, you should be able to verify the install.
>
> If you skip verifying keystone and something is wrong with it, you'll
> likely find out pretty quick when another service calls keystone for the
> first time :)
>
> -Dolph
>
>
> On Wed, Oct 31, 2012 at 12:22 PM, Ahmed Al-Mehdi  wrote:
>
>> Hi Dolph,
>>
>> Thank you very much for helping me on this issue.  Following is the
>> environment variables related to openstack:
>>
>> root@bodega:~# env | egrep "OS_|SERVICE_"
>> SERVICE_ENDPOINT=http://10.176.20.158:35357/v2.0/
>> SERVICE_TOKEN=012345SECRET99TOKEN012345
>> root@bodega:~# ifconfig eth0
>> eth0  Link encap:Ethernet  HWaddr 00:1e:67:06:1b:67
>>   inet addr:10.176.20.158  Bcast:10.176.255.255  Mask:255.255.0.0
>>   inet6 addr: fe80::21e:67ff:fe06:1b67/64 Scope:Link
>>   UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>>   RX packets:12760203 errors:0 dropped:0 overruns:0 frame:0
>>   TX packets:203944 errors:0 dropped:0 overruns:0 carrier:0
>>   collisions:0 txqueuelen:1000
>>   RX bytes:1044985224 (1.0 GB)  TX bytes:22642912 (22.6 MB)
>>   Interrupt:16 Memory:b200-b202
>> root@bodega:~#
>>
>> I am attaching keystone.conf file.
>>
>> Would you happen to know if there is a high level document document on
>> keystone (more than just a user guide, but a architectural/functional doc,
>> but not a API doc).  Something similar to
>> http://docs.openstack.org/trunk/openstack-identity/admin/os-identity-starter-guide-trunk.pdf
>>  but
>> updated.
>>
>> Does my current issue prohibit me from progressing forward with the next
>> steps in the install document, setting up glance, nova, etc.?
>>
>> Regards,
>> Ahmed.
>>
>>
>>
>> From: Dolph Mathews 
>> Date: Wednesday, October 31, 2012 9:44 AM
>> To: Ahmed Al-Mehdi 
>> Cc: "openstack@lists.launchpad.net" 
>> Subject: Re: [Openstack] Verification of Keystone Installation fails
>>
>> The error you're seeing is actually client-side, so there won't be
>> anything in keystone's logs. It indicates that you're not actually
>> authenticating with keystone (and instead bypassing authentication using
>> --token and --endpoint, for example) ... however, that's obviously not the
>> case, as you're explicitly providing --os-username, etc.
>>
>> Unfortunately, I'm not able to reproduce this issue. Can you share your
>> OS_* environment variables? I suspect something there
>> is unexpectedly overriding what you're providing on the CLI... which would
>> be a legitimate bug.
>>
>> Thanks,
>>
>> -Dolph
>&

Re: [Openstack] Verification of Keystone Installation fails

2012-10-31 Thread Joshua Harlow
I think the overall issue is connected to 
https://bugs.launchpad.net/keystone/+bug/962600

Right? Seems like that is still happening :-(

From: Ahmed Al-Mehdi mailto:ah...@coraid.com>>
Date: Wednesday, October 31, 2012 1:15 PM
To: Dolph Mathews mailto:dolph.math...@gmail.com>>
Cc: Joseph Heck mailto:joe.h...@nebula.com>>, 
"openstack@lists.launchpad.net<mailto:openstack@lists.launchpad.net>" 
mailto:openstack@lists.launchpad.net>>
Subject: Re: [Openstack] Verification of Keystone Installation fails

Hi Dolph,

Awesome, that worked.  Thank you very much.  Just out of curiosity, what was 
the exact conflict?   Between which environment variable and option passed to 
the CLI?

Regards,
Ahmed.


From: Dolph Mathews mailto:dolph.math...@gmail.com>>
Date: Wednesday, October 31, 2012 10:46 AM
To: Ahmed Al-Mehdi mailto:ah...@coraid.com>>
Cc: "openstack@lists.launchpad.net<mailto:openstack@lists.launchpad.net>" 
mailto:openstack@lists.launchpad.net>>, Joseph 
Heck mailto:joe.h...@nebula.com>>
Subject: Re: [Openstack] Verification of Keystone Installation fails

I was able to reproduce by defining SERVICE_ENDPOINT and SERVICE_TOKEN in my 
own environment, which appear to be overriding the credentials provided on the 
CLI -- I don't think that's the intended behavior.

If you unset them, you should be able to verify the install.

If you skip verifying keystone and something is wrong with it, you'll likely 
find out pretty quick when another service calls keystone for the first time :)

-Dolph


On Wed, Oct 31, 2012 at 12:22 PM, Ahmed Al-Mehdi 
mailto:ah...@coraid.com>> wrote:
Hi Dolph,

Thank you very much for helping me on this issue.  Following is the environment 
variables related to openstack:

root@bodega:~# env | egrep "OS_|SERVICE_"
SERVICE_ENDPOINT=http://10.176.20.158:35357/v2.0/
SERVICE_TOKEN=012345SECRET99TOKEN012345
root@bodega:~# ifconfig eth0
eth0  Link encap:Ethernet  HWaddr 00:1e:67:06:1b:67
  inet addr:10.176.20.158  Bcast:10.176.255.255  Mask:255.255.0.0
  inet6 addr: fe80::21e:67ff:fe06:1b67/64 Scope:Link
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:12760203 errors:0 dropped:0 overruns:0 frame:0
  TX packets:203944 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:1000
  RX bytes:1044985224 (1.0 GB)  TX bytes:22642912 (22.6 MB)
  Interrupt:16 Memory:b200-b202
root@bodega:~#

I am attaching keystone.conf file.

Would you happen to know if there is a high level document document on keystone 
(more than just a user guide, but a architectural/functional doc, but not a API 
doc).  Something similar to 
http://docs.openstack.org/trunk/openstack-identity/admin/os-identity-starter-guide-trunk.pdf
 but updated.

Does my current issue prohibit me from progressing forward with the next steps 
in the install document, setting up glance, nova, etc.?

Regards,
Ahmed.



From: Dolph Mathews mailto:dolph.math...@gmail.com>>
Date: Wednesday, October 31, 2012 9:44 AM
To: Ahmed Al-Mehdi mailto:ah...@coraid.com>>
Cc: "openstack@lists.launchpad.net<mailto:openstack@lists.launchpad.net>" 
mailto:openstack@lists.launchpad.net>>
Subject: Re: [Openstack] Verification of Keystone Installation fails

The error you're seeing is actually client-side, so there won't be anything in 
keystone's logs. It indicates that you're not actually authenticating with 
keystone (and instead bypassing authentication using --token and --endpoint, 
for example) ... however, that's obviously not the case, as you're explicitly 
providing --os-username, etc.

Unfortunately, I'm not able to reproduce this issue. Can you share your OS_* 
environment variables? I suspect something there is unexpectedly overriding 
what you're providing on the CLI... which would be a legitimate bug.

Thanks,

-Dolph


On Wed, Oct 31, 2012 at 2:08 AM, Ahmed Al-Mehdi 
mailto:ah...@coraid.com>> wrote:
Hello,

I followed the steps in the "OpenStack Install Deploy for Ubuntu" manual to 
install Keystone.  However, when I issue the commands in section "Verifying the 
Identity Service Installation" ( 
http://docs.openstack.org/trunk/openstack-compute/install/apt/content/verifying-identity-install.html
 ), I am getting the following error:

# keystone --os-username=admin --os-password=admin  
--os-auth-url=http://10.176.20.158:35357/v2.0 token-get
'Client' object has no attribute 'service_catalog'

I don't see any additional info in keystone.log.  Can someone please help me.

Thank you,
Ahmed.


___
Mailing list: https://launchpad.net/~openstack
Post to : 
openstack@lists.launchpad.net<mailto:openstack@lists.launchpad.net>
Unsubscribe : https://launchpad.net/~openstack
More h

Re: [Openstack] Verification of Keystone Installation fails

2012-10-31 Thread Ahmed Al-Mehdi
Hi Dolph,

Awesome, that worked.  Thank you very much.  Just out of curiosity, what was 
the exact conflict?   Between which environment variable and option passed to 
the CLI?

Regards,
Ahmed.


From: Dolph Mathews mailto:dolph.math...@gmail.com>>
Date: Wednesday, October 31, 2012 10:46 AM
To: Ahmed Al-Mehdi mailto:ah...@coraid.com>>
Cc: "openstack@lists.launchpad.net<mailto:openstack@lists.launchpad.net>" 
mailto:openstack@lists.launchpad.net>>, Joseph 
Heck mailto:joe.h...@nebula.com>>
Subject: Re: [Openstack] Verification of Keystone Installation fails

I was able to reproduce by defining SERVICE_ENDPOINT and SERVICE_TOKEN in my 
own environment, which appear to be overriding the credentials provided on the 
CLI -- I don't think that's the intended behavior.

If you unset them, you should be able to verify the install.

If you skip verifying keystone and something is wrong with it, you'll likely 
find out pretty quick when another service calls keystone for the first time :)

-Dolph


On Wed, Oct 31, 2012 at 12:22 PM, Ahmed Al-Mehdi 
mailto:ah...@coraid.com>> wrote:
Hi Dolph,

Thank you very much for helping me on this issue.  Following is the environment 
variables related to openstack:

root@bodega:~# env | egrep "OS_|SERVICE_"
SERVICE_ENDPOINT=http://10.176.20.158:35357/v2.0/
SERVICE_TOKEN=012345SECRET99TOKEN012345
root@bodega:~# ifconfig eth0
eth0  Link encap:Ethernet  HWaddr 00:1e:67:06:1b:67
  inet addr:10.176.20.158  Bcast:10.176.255.255  Mask:255.255.0.0
  inet6 addr: fe80::21e:67ff:fe06:1b67/64 Scope:Link
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:12760203 errors:0 dropped:0 overruns:0 frame:0
  TX packets:203944 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:1000
  RX bytes:1044985224 (1.0 GB)  TX bytes:22642912 (22.6 MB)
  Interrupt:16 Memory:b200-b202
root@bodega:~#

I am attaching keystone.conf file.

Would you happen to know if there is a high level document document on keystone 
(more than just a user guide, but a architectural/functional doc, but not a API 
doc).  Something similar to 
http://docs.openstack.org/trunk/openstack-identity/admin/os-identity-starter-guide-trunk.pdf
 but updated.

Does my current issue prohibit me from progressing forward with the next steps 
in the install document, setting up glance, nova, etc.?

Regards,
Ahmed.



From: Dolph Mathews mailto:dolph.math...@gmail.com>>
Date: Wednesday, October 31, 2012 9:44 AM
To: Ahmed Al-Mehdi mailto:ah...@coraid.com>>
Cc: "openstack@lists.launchpad.net<mailto:openstack@lists.launchpad.net>" 
mailto:openstack@lists.launchpad.net>>
Subject: Re: [Openstack] Verification of Keystone Installation fails

The error you're seeing is actually client-side, so there won't be anything in 
keystone's logs. It indicates that you're not actually authenticating with 
keystone (and instead bypassing authentication using --token and --endpoint, 
for example) ... however, that's obviously not the case, as you're explicitly 
providing --os-username, etc.

Unfortunately, I'm not able to reproduce this issue. Can you share your OS_* 
environment variables? I suspect something there is unexpectedly overriding 
what you're providing on the CLI... which would be a legitimate bug.

Thanks,

-Dolph


On Wed, Oct 31, 2012 at 2:08 AM, Ahmed Al-Mehdi 
mailto:ah...@coraid.com>> wrote:
Hello,

I followed the steps in the "OpenStack Install Deploy for Ubuntu" manual to 
install Keystone.  However, when I issue the commands in section "Verifying the 
Identity Service Installation" ( 
http://docs.openstack.org/trunk/openstack-compute/install/apt/content/verifying-identity-install.html
 ), I am getting the following error:

# keystone --os-username=admin --os-password=admin  
--os-auth-url=http://10.176.20.158:35357/v2.0 token-get
'Client' object has no attribute 'service_catalog'

I don't see any additional info in keystone.log.  Can someone please help me.

Thank you,
Ahmed.


___
Mailing list: https://launchpad.net/~openstack
Post to : 
openstack@lists.launchpad.net<mailto:openstack@lists.launchpad.net>
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp



___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] Verification of Keystone Installation fails

2012-10-31 Thread Dolph Mathews
I was able to reproduce by defining SERVICE_ENDPOINT and SERVICE_TOKEN in
my own environment, which appear to be overriding the credentials provided
on the CLI -- I don't think that's the intended behavior.

If you unset them, you should be able to verify the install.

If you skip verifying keystone and something is wrong with it, you'll
likely find out pretty quick when another service calls keystone for the
first time :)

-Dolph


On Wed, Oct 31, 2012 at 12:22 PM, Ahmed Al-Mehdi  wrote:

> Hi Dolph,
>
> Thank you very much for helping me on this issue.  Following is the
> environment variables related to openstack:
>
> root@bodega:~# env | egrep "OS_|SERVICE_"
> SERVICE_ENDPOINT=http://10.176.20.158:35357/v2.0/
> SERVICE_TOKEN=012345SECRET99TOKEN012345
> root@bodega:~# ifconfig eth0
> eth0  Link encap:Ethernet  HWaddr 00:1e:67:06:1b:67
>   inet addr:10.176.20.158  Bcast:10.176.255.255  Mask:255.255.0.0
>   inet6 addr: fe80::21e:67ff:fe06:1b67/64 Scope:Link
>   UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>   RX packets:12760203 errors:0 dropped:0 overruns:0 frame:0
>   TX packets:203944 errors:0 dropped:0 overruns:0 carrier:0
>   collisions:0 txqueuelen:1000
>   RX bytes:1044985224 (1.0 GB)  TX bytes:22642912 (22.6 MB)
>   Interrupt:16 Memory:b200-b202
> root@bodega:~#
>
> I am attaching keystone.conf file.
>
> Would you happen to know if there is a high level document document on
> keystone (more than just a user guide, but a architectural/functional doc,
> but not a API doc).  Something similar to
> http://docs.openstack.org/trunk/openstack-identity/admin/os-identity-starter-guide-trunk.pdf
>  but
> updated.
>
> Does my current issue prohibit me from progressing forward with the next
> steps in the install document, setting up glance, nova, etc.?
>
> Regards,
> Ahmed.
>
>
>
> From: Dolph Mathews 
> Date: Wednesday, October 31, 2012 9:44 AM
> To: Ahmed Al-Mehdi 
> Cc: "openstack@lists.launchpad.net" 
> Subject: Re: [Openstack] Verification of Keystone Installation fails
>
> The error you're seeing is actually client-side, so there won't be
> anything in keystone's logs. It indicates that you're not actually
> authenticating with keystone (and instead bypassing authentication using
> --token and --endpoint, for example) ... however, that's obviously not the
> case, as you're explicitly providing --os-username, etc.
>
> Unfortunately, I'm not able to reproduce this issue. Can you share your
> OS_* environment variables? I suspect something there
> is unexpectedly overriding what you're providing on the CLI... which would
> be a legitimate bug.
>
> Thanks,
>
> -Dolph
>
>
> On Wed, Oct 31, 2012 at 2:08 AM, Ahmed Al-Mehdi  wrote:
>
>> Hello,
>>
>> I followed the steps in the "OpenStack Install Deploy for Ubuntu" manual
>> to install Keystone.  However, when I issue the commands in section
>> "Verifying the Identity Service Installation" (
>> http://docs.openstack.org/trunk/openstack-compute/install/apt/content/verifying-identity-install.html
>>  ),
>> I am getting the following error:
>>
>> # keystone --os-username=admin --os-password=admin  --os-auth-url=
>> http://10.176.20.158:35357/v2.0 token-get
>> 'Client' object has no attribute 'service_catalog'
>>
>> I don't see any additional info in keystone.log.  Can someone please help
>> me.
>>
>> Thank you,
>> Ahmed.
>>
>>
>> ___
>> Mailing list: https://launchpad.net/~openstack
>> Post to : openstack@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~openstack
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] Verification of Keystone Installation fails

2012-10-31 Thread Ahmed Al-Mehdi
Hi Dolph,

Thank you very much for helping me on this issue.  Following is the environment 
variables related to openstack:

root@bodega:~# env | egrep "OS_|SERVICE_"
SERVICE_ENDPOINT=http://10.176.20.158:35357/v2.0/
SERVICE_TOKEN=012345SECRET99TOKEN012345
root@bodega:~# ifconfig eth0
eth0  Link encap:Ethernet  HWaddr 00:1e:67:06:1b:67
  inet addr:10.176.20.158  Bcast:10.176.255.255  Mask:255.255.0.0
  inet6 addr: fe80::21e:67ff:fe06:1b67/64 Scope:Link
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:12760203 errors:0 dropped:0 overruns:0 frame:0
  TX packets:203944 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:1000
  RX bytes:1044985224 (1.0 GB)  TX bytes:22642912 (22.6 MB)
  Interrupt:16 Memory:b200-b202
root@bodega:~#

I am attaching keystone.conf file.

Would you happen to know if there is a high level document document on keystone 
(more than just a user guide, but a architectural/functional doc, but not a API 
doc).  Something similar to 
http://docs.openstack.org/trunk/openstack-identity/admin/os-identity-starter-guide-trunk.pdf
 but updated.

Does my current issue prohibit me from progressing forward with the next steps 
in the install document, setting up glance, nova, etc.?

Regards,
Ahmed.



From: Dolph Mathews mailto:dolph.math...@gmail.com>>
Date: Wednesday, October 31, 2012 9:44 AM
To: Ahmed Al-Mehdi mailto:ah...@coraid.com>>
Cc: "openstack@lists.launchpad.net<mailto:openstack@lists.launchpad.net>" 
mailto:openstack@lists.launchpad.net>>
Subject: Re: [Openstack] Verification of Keystone Installation fails

The error you're seeing is actually client-side, so there won't be anything in 
keystone's logs. It indicates that you're not actually authenticating with 
keystone (and instead bypassing authentication using --token and --endpoint, 
for example) ... however, that's obviously not the case, as you're explicitly 
providing --os-username, etc.

Unfortunately, I'm not able to reproduce this issue. Can you share your OS_* 
environment variables? I suspect something there is unexpectedly overriding 
what you're providing on the CLI... which would be a legitimate bug.

Thanks,

-Dolph


On Wed, Oct 31, 2012 at 2:08 AM, Ahmed Al-Mehdi 
mailto:ah...@coraid.com>> wrote:
Hello,

I followed the steps in the "OpenStack Install Deploy for Ubuntu" manual to 
install Keystone.  However, when I issue the commands in section "Verifying the 
Identity Service Installation" ( 
http://docs.openstack.org/trunk/openstack-compute/install/apt/content/verifying-identity-install.html
 ), I am getting the following error:

# keystone --os-username=admin --os-password=admin  
--os-auth-url=http://10.176.20.158:35357/v2.0 token-get
'Client' object has no attribute 'service_catalog'

I don't see any additional info in keystone.log.  Can someone please help me.

Thank you,
Ahmed.


___
Mailing list: https://launchpad.net/~openstack
Post to : 
openstack@lists.launchpad.net<mailto:openstack@lists.launchpad.net>
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp




keystone.conf
Description: keystone.conf
___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] Verification of Keystone Installation fails

2012-10-31 Thread Dolph Mathews
The error you're seeing is actually client-side, so there won't be anything
in keystone's logs. It indicates that you're not actually authenticating
with keystone (and instead bypassing authentication using --token and
--endpoint, for example) ... however, that's obviously not the case, as
you're explicitly providing --os-username, etc.

Unfortunately, I'm not able to reproduce this issue. Can you share your
OS_* environment variables? I suspect something there
is unexpectedly overriding what you're providing on the CLI... which would
be a legitimate bug.

Thanks,

-Dolph


On Wed, Oct 31, 2012 at 2:08 AM, Ahmed Al-Mehdi  wrote:

> Hello,
>
> I followed the steps in the "OpenStack Install Deploy for Ubuntu" manual
> to install Keystone.  However, when I issue the commands in section
> "Verifying the Identity Service Installation" (
> http://docs.openstack.org/trunk/openstack-compute/install/apt/content/verifying-identity-install.html
>  ),
> I am getting the following error:
>
> # keystone --os-username=admin --os-password=admin  --os-auth-url=
> http://10.176.20.158:35357/v2.0 token-get
> 'Client' object has no attribute 'service_catalog'
>
> I don't see any additional info in keystone.log.  Can someone please help
> me.
>
> Thank you,
> Ahmed.
>
>
> ___
> Mailing list: https://launchpad.net/~openstack
> Post to : openstack@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp
>
>
___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp