Re: [Openstack] Multiple nodes install

2011-06-24 Thread yasith tharindu
This might helpful to understand the network setup.

http://blog.stackops.com/2011/06/13/understanding-stackops-openstack-nova-networking-configuration/

Thanks

On Fri, Jun 24, 2011 at 7:39 AM, tianyi wang  wrote:

> Hi All,
>
>   I have two PC with same hardware configuration(Intel processor with
> VT,4G RAM, 500G harddisk) and want to install Multiple nodes openstack
> cloud.
>
>   I use the PC-A as Cloud Controller,PC-B as Compute Node. The LAN
> current situation:GateWay:192.168.2.1,PC-A:192.192.2.207, PC-B:
> 192.168.2.206, IP address allocate use DHCP.
>
>   The OS I use ubuntu 10.10 server or ubuntu 11.04 server.
>
>   Which software/services need be installed in Cloud Controller?
> Which software/services need be installed in Compute Node? And what's
> the steps/install process ?
>
>   I want to use VLAN mode,how to configuration the network?
>
>   I have already follow this document:
>
> http://docs.openstack.org/cactus/openstack-compute/admin/content/manual-ubuntu-installation.html
>  install by myself 2 weeks.
>
>   But still can not let it work! This document maybe miss some
> details information for beginner.
>
>   Any more document in detail ?
>
>
>   Thanks
>
>   Alex
>
> 6.24.2011
>
> ___
> Mailing list: https://launchpad.net/~openstack
> Post to : openstack@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp
>



-- 
Thanks..
Best Regards...

www.yasith.info

 ..යසිත්..:~
Yasith Tharindu / யசித்
___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


[Openstack] What is the Fault tolerance mechanism, In case of restart in Nova-compute

2011-06-27 Thread yasith tharindu
Please $subject.


-- 
Thanks..
Best Regards...

www.yasith.info

 ..යසිත්..:~
Yasith Tharindu / யசித்
___
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] What is the Fault tolerance mechanism, In case of restart in Nova-compute

2011-06-28 Thread yasith tharindu
Thanks all.

On Tue, Jun 28, 2011 at 9:56 PM, Joseph Heck  wrote:

> As Mike mentioned, there is little fault tolerance in the various code
> bases today, but it is a priority among components and getting addressed as
> the project moves forward. The module nature of the OpenStack architecture
> and its tendency towards shared-nothing designs allow for adding in
> additional fault tolerance and high availability components as the project
> continues.
>
> - joe
>
>
> On Jun 28, 2011, at 2:18 AM, Mike Scherbakov wrote:
>
> There seems to be no such.
> See blogpost
> http://mirantis.blogspot.com/2011/06/openstack-nova-basic-disaster-recovery.htmlon
>  this item.
>
> Regards,
>
> On Mon, Jun 27, 2011 at 10:45 PM, yasith tharindu wrote:
>
>> Please $subject.
>>
>>
>> --
>> Thanks..
>> Best Regards...
>>
>> www.yasith.info
>>
>>  ..යසිත්..:~
>> Yasith Tharindu / யசித்
>>
>> ___
>> Mailing list: https://launchpad.net/~openstack
>> Post to : openstack@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~openstack
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
>
> --
> Mike Scherbakov
> www.mirantis.com
> ___
> 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
>
>


-- 
Thanks..
Regards...

Blog: http://www.yasith.info
Twitter : http://twitter.com/yasithnd
LinkedIn : http://www.linkedin.com/in/yasithnd
___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


[Openstack] Configuring keystone with ldap

2012-11-29 Thread yasith tharindu
I was trying to enable enable keystone with ldap. but always return me with
a  this error. "*Error: *Invalid user name or password." and no log trace
can be found.

my keystone config as following


[ldap]
url = ldap://ldap.example.org
tree_dn = dc=ldap,dc=example,dc=org
user_tree_dn = ou=user,dc=ldap,dc=example,dc=org
tenant_tree_dn = ou=group,dc=ldap,dc=example,dc=org
user = uid=ldapuser,ou=user,dc=ldap,dc=example,dc=org
password = password
suffix = dc=ldap,dc=example,dc=org
user_name_attribute = uid


[identity]
driver = keystone.identity.backends.ldap.Identity




I have few questions.

what am i missing here.
what is the purpose of "role_tree_dn" config does that necessarily needed.
can we enable logs.
there are many groups under tenant_tree_dn do I have to setup which group
to look at.
Is there a sample ldap ldif file and keystone config to loook at?

Thanks


-- 
Thanks..
Regards...

Blog: http://www.yasith.info
Twitter : http://twitter.com/yasithnd
LinkedIn : http://www.linkedin.com/in/yasithnd
GPG Key ID : *57CEE66E*
___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


[Openstack] LDAP + Keystone,, Error after authentication..

2012-12-11 Thread yasith tharindu
Hi Team;


I was trying to configure ldap + keystone but it seems not working.  I feel
like authentication is successful but horizon return me python error. Im
unable to trace as its does not give any detail.  Following I have attached
the error, ldap dump, keystone config. I would really appreciate if you can
note me down any configuration error.

My nova version is::   2012.2 (2012.2-LOCALBRANCH:LOCALREVISION)

If its wrong password it returns, "Invalid user name or password." When
type correct credentials but user not in the any of "Group" it return "You
are not authorized for any projects." When type correct credentials and the
user is a member of a group (eg: cn=demo,ou=Groups,dc=example,dc=com), It
returns following error.





### The error 

KeyError at /auth/login/
'name'
Request Method: POST
Request URL: https://192.168.25.240/auth/login/
Django Version: 1.4.1
Exception Type: KeyError
Exception Value:
'name'
Exception Location: /usr/lib/python2.7/dist-packages/openstack_auth/user.py
in create_user_from_token, line 25
Python Executable: /usr/bin/python
Python Version: 2.7.3
Python Path:
['/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../..',
 '/usr/share/openstack-dashboard/openstack_dashboard',
 '/usr/lib/python2.7',
 '/usr/lib/python2.7/plat-linux2',
 '/usr/lib/python2.7/lib-tk',
 '/usr/lib/python2.7/lib-old',
 '/usr/lib/python2.7/lib-dynload',
 '/usr/local/lib/python2.7/dist-packages',
 '/usr/lib/python2.7/dist-packages',
 '/usr/lib/pymodules/python2.7',
 '/usr/share/openstack-dashboard/']


Environment:


Request Method: POST
Request URL: https://192.168.25.240/auth/login/

Django Version: 1.4.1
Python Version: 2.7.3
Installed Applications:
('openstack_dashboard',
 'django.contrib.contenttypes',
 'django.contrib.auth',
 'django.contrib.sessions',
 'django.contrib.messages',
 'django.contrib.staticfiles',
 'django.contrib.humanize',
 'compressor',
 'horizon',
 'horizon.dashboards.nova',
 'horizon.dashboards.syspanel',
 'horizon.dashboards.settings',
 'openstack_auth')
Installed Middleware:
('django.middleware.common.CommonMiddleware',
 'django.middleware.csrf.CsrfViewMiddleware',
 'django.contrib.sessions.middleware.SessionMiddleware',
 'django.contrib.auth.middleware.AuthenticationMiddleware',
 'django.contrib.messages.middleware.MessageMiddleware',
 'horizon.middleware.HorizonMiddleware',
 'django.middleware.doc.XViewMiddleware',
 'django.middleware.locale.LocaleMiddleware')


Traceback:
File "/usr/lib/python2.7/dist-packages/django/core/handlers/base.py" in
get_response
  111. response = callback(request, *callback_args,
**callback_kwargs)
File "/usr/lib/python2.7/dist-packages/django/views/decorators/debug.py" in
sensitive_post_parameters_wrapper
  69. return view(request, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/django/utils/decorators.py" in
_wrapped_view
  91. response = view_func(request, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/django/views/decorators/cache.py" in
_wrapped_view_func
  89. response = view_func(request, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/openstack_auth/views.py" in login
  50.extra_context=extra_context)
File "/usr/lib/python2.7/dist-packages/django/views/decorators/debug.py" in
sensitive_post_parameters_wrapper
  69. return view(request, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/django/utils/decorators.py" in
_wrapped_view
  91. response = view_func(request, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/django/views/decorators/cache.py" in
_wrapped_view_func
  89. response = view_func(request, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/django/contrib/auth/views.py" in
login
  36. if form.is_valid():
File "/usr/lib/python2.7/dist-packages/django/forms/forms.py" in is_valid
  124. return self.is_bound and not bool(self.errors)
File "/usr/lib/python2.7/dist-packages/django/forms/forms.py" in _get_errors
  115. self.full_clean()
File "/usr/lib/python2.7/dist-packages/django/forms/forms.py" in full_clean
  271. self._clean_form()
File "/usr/lib/python2.7/dist-packages/django/forms/forms.py" in _clean_form
  299. self.cleaned_data = self.clean()
File "/usr/lib/python2.7/dist-packages/django/views/decorators/debug.py" in
sensitive_variables_wrapper
  34. return func(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/openstack_auth/forms.py" in clean
  57.auth_url=region)
File "/usr/lib/python2.7/dist-packages/django/contrib/auth/__init__.py" in
authenticate
  45. user = backend.authenticate(**credentials)
File "/usr/lib/python2.7/dist-packages/openstack_auth/backend.py" in
authenticate
  113. user = create_user_from_token(request, token,
client.management_url)
File "/usr/lib/python2.7/dist

[Openstack] Invalid OpenStack Identity credentials; when running "keystone role-list"

2013-01-11 Thread yasith tharindu
Hi All; Im getting following error when trying to: following keystone
commands. What could be the problem?



#keystone role-list
No handlers could be found for logger "keystoneclient.v2_0.client"
Invalid OpenStack Identity credentials.


#But keystone service-list
No handlers could be found for logger "keystoneclient.v2_0.client"
++--+--+-+
| id | name | type | description |
++--+--+-+
++--+--+-+



nova commands also works.

# nova list
+--+---++---+
|  ID  |  Name | Status |
   Networks |
+--+---++---+
| 31bc1922-5dc2-4461-a047-f14f4bc4fa2c | test | ACTIVE |
service=172.16.25.5, 192.168.25.1 |
| b1d8534c-a022-4a70-b266-ae71156adc3f | image | ACTIVE |
service=172.16.25.6, 192.168.25.5 |
+--+---++---+



Please let me know what could be the problem and where to start
troubleshoot.
___
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] Invalid OpenStack Identity credentials; when running "keystone role-list"

2013-01-11 Thread yasith tharindu
Hi;

Thanks a lot Razique. I hadn't set  OS_TENANT_NAME and now its working now.
 I need to work with all openstack nova, glance, swift, keystone CLIs
 follow variables I have currently set.


export NOVA_PROJECT_ID
export NOVA_USERNAME
export NOVA_API_KEY
export NOVA_URL

export OS_USERNAME
export OS_PASSWORD
export OS_AUTH_URL
export OS_TENANT_NAME

Do I have t set any other variables. Can i find some bash which exports
all required variables?

Thanks

On Fri, Jan 11, 2013 at 3:32 PM, Razique Mahroua
wrote:

> Hi,
> looks like your current user's credentials are not the one defined into KS.
> Check your .bashrc' following values :
>
> export OS_USERNAME=*$KEYSTONE USER*
> export OS_PASSWORD=*$KEYSTONE PASSWORD*
> export OS_TENANT_NAME=*$YOUR TENANT*
>
>
> Regards,
> *Razique Mahroua** - **Nuage & Co*
> razique.mahr...@gmail.com
> Tel : +33 9 72 37 94 15
>
>
> Le 11 janv. 2013 à 10:53, yasith tharindu  a écrit :
>
>
> Hi All; Im getting following error when trying to: following keystone
> commands. What could be the problem?
>
>
>
> #keystone role-list
> No handlers could be found for logger "keystoneclient.v2_0.client"
> Invalid OpenStack Identity credentials.
>
>
> #But keystone service-list
> No handlers could be found for logger "keystoneclient.v2_0.client"
> ++--+--+-+
> | id | name | type | description |
> ++--+--+-+
> ++--+--+-+
>
>
>
> nova commands also works.
>
> # nova list
>
> +--+---++---+
> |  ID  |  Name | Status |
>  Networks |
>
> +--+---++---+
> | 31bc1922-5dc2-4461-a047-f14f4bc4fa2c | test | ACTIVE |
> service=172.16.25.5, 192.168.25.1 |
> | b1d8534c-a022-4a70-b266-ae71156adc3f | image | ACTIVE |
> service=172.16.25.6, 192.168.25.5 |
>
> +--+---++---+
>
>
>
> Please let me know what could be the problem and where to start
> troubleshoot.
>
>
> ___
> Mailing list: https://launchpad.net/~openstack
> Post to : openstack@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp
>
>
>


-- 
Thanks..
Regards...

Blog: http://www.yasith.info
Twitter : http://twitter.com/yasithnd
LinkedIn : http://www.linkedin.com/in/yasithnd
GPG Key ID : *57CEE66E*
<>___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


[Openstack] How to configure Keystone with open LDAP + horizon on grizzly

2013-05-19 Thread yasith tharindu
The question is posted on openstack ask page.
https://ask.openstack.org/question/1350/how-to-configure-keystone-with-open-ldap-horizon-on-grizzly/

Error

2013-05-19 15:21:23ERROR [root] 'domain_id'
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/keystone/common/wsgi.py",
line 236, in __call__
result = method(context, **params)
  File "/usr/lib/python2.7/dist-packages/keystone/token/controllers.py",
line 82, in authenticate
core.validate_auth_info(self, context, user_ref, tenant_ref)
  File "/usr/lib/python2.7/dist-packages/keystone/token/core.py", line
84, in validate_auth_info
user_ref['domain_id'])
KeyError: 'domain_id'

2013-05-19 15:21:23DEBUG [keystone.common.wsgi] {"error":
{"message": "An unexpected error prevented the server from fulfilling
your request. 'domain_id'", "code": 500, "title": "Internal Server
Error"}}

Keystone config

==
url = ldap://192.168.1.111
user = cn=admin,dc=example,dc=com
password = secret
suffix = cn=example,cn=com
use_dumb_member = False
tree_dn = dc=example,dc=com

user_tree_dn = ou=Users,dc=example,dc=com
user_objectclass = inetOrgPerson
user_id_attribute = cn
user_name_attribute = sn
user_pass_attribute = userPassword
user_allow_create = True
user_allow_update = True
user_enabled_attribute = enabled
user_enabled_default = True
user_domain_id_attribute = None

tenant_tree_dn = ou=Tenants,dc=example,dc=com
tenant_objectclass = groupOfNames
tenant_id_attribute = cn
tenant_member_attribute = member
tenant_name_attribute = ou
tenant_domain_id_attribute = None
tenant_allow_create = True
tenant_allow_update = True


role_tree_dn = ou=Roles,dc=example,dc=com
role_objectclass = groupOfNames
role_member_attribute = member
role_id_attribute = cn
role_name_attribute = ou
role_allow_create = True
role_allow_update = True


==

ldap config as follows.

dn: dc=example,dc=com
objectClass: top
objectClass: dcObject
objectClass: organization
o: example Inc
dc: example


dn: cn=admin,dc=example,dc=com
objectClass: simpleSecurityObject
objectClass: organizationalRole
cn: admin
description: LDAP administrator
userPassword:: c2VjcmV0



dn: ou=Users,dc=example,dc=com
ou: users
objectClass: organizationalUnit
structuralObjectClass: organizationalUnit


dn: ou=Roles,dc=example,dc=com
ou: roles
objectClass: organizationalUnit
structuralObjectClass: organizationalUnit


dn: ou=Tenants,dc=example,dc=com
ou: tenants
objectClass: organizationalUnit



dn: cn=demo,ou=Users,dc=example,dc=com
cn: demo
displayName: demo
givenName: demo
mail: d...@example.com
objectClass: inetOrgPerson
objectClass: top
sn: demo
uid: demo
userPassword:: c2VjcmV0


dn: cn=admin,ou=Roles,dc=example,dc=com
objectClass: groupOfNames
cn: admin
description: Openstack admin Role
member: cn=demo,ou=Users,dc=example,dc=com


dn: cn=admin,ou=Tenants,dc=example,dc=com
objectClass: groupOfNames
cn: admin
description: Openstack admin Tenant
member: cn=demo,ou=Users,dc=example,dc=com

I would really appreciate your help
___
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] How to configure Keystone with open LDAP + horizon on grizzly

2013-05-29 Thread yasith tharindu
Now my authentication phase is right through ldap i guess. But Im getting a
error when try to login saying "You are not authorized for any projects."


My ldap configurations have been used by the keystone it seems. keystone
command gives following results.


root@ubuntu:/home/wso2/ldap#* keystone user-list*
WARNING: Bypassing authentication using a token & endpoint (authentication
credentials are being ignored).
+--+--+-+--+
|  id  | name | enabled |  email   |
+--+--+-+--+
| demo | demo |   True  | d...@example.com |
+--+--+-+--+
root@ubuntu:/home/wso2/ldap# *keystone role-list*
WARNING: Bypassing authentication using a token & endpoint (authentication
credentials are being ignored).
+---+---+
|   id  |  name |
+---+---+
| admin | Admin |
+---+---+
root@ubuntu:/home/wso2/ldap# *keystone tenant-list*
WARNING: Bypassing authentication using a token & endpoint (authentication
credentials are being ignored).
+---+---+-+
|   id  |  name | enabled |
+---+---+-+
| admin | admin |   True  |
+---+---+-+




But with nova commands  return a error with the ldap user credentials.

#* nova image-list*
ERROR: Invalid OpenStack Nova credentials.


System variables I used as follows.

export OS_USERNAME=demo
export OS_TENANT_NAME=admin
export OS_PASSWORD=secret
export OS_AUTH_URL=http://192.168.1.111:5000/v2.0/
export OS_REGION_NAME=RegionOne
export SERVICE_ENDPOINT="http://192.168.1.111:35357/v2.0";
export SERVICE_TOKEN=012345SECRET99TOKEN012345
export OS_NO_CACHE=1




Following is the keystone log..

2013-05-29 02:45:20DEBUG [keystone.common.ldap.core] LDAP search:
dn=ou=Tenants,dc=example,dc=com, scope=2,
query=(&(objectClass=organizationalRole)(roleOccupant=cn=demo,ou=Users,dc=example,dc=com)),
attrs=None
2013-05-29 02:45:20DEBUG [keystone.common.wsgi] 
RESPONSE HEADERS 
2013-05-29 02:45:20DEBUG [keystone.common.wsgi] Vary = X-Auth-Token
2013-05-29 02:45:20DEBUG [keystone.common.wsgi] Content-Type =
application/json
2013-05-29 02:45:20DEBUG [keystone.common.wsgi] Content-Length = 36
2013-05-29 02:45:20DEBUG [keystone.common.wsgi]
2013-05-29 02:45:20DEBUG [keystone.common.wsgi] 
RESPONSE BODY 
2013-05-29 02:45:20DEBUG [keystone.common.wsgi] {"tenants_links": [],
"tenants": []}
2013-05-29 02:45:20 INFO [access] 127.0.0.1 - - [28/May/2013:21:15:20
+] "GET http://127.0.0.1:5000/v2.0/tenants HTTP/1.0" 200 36
2013-05-29 02:45:20DEBUG [eventlet.wsgi.server] 127.0.0.1 - -
[29/May/2013 02:45:20] "GET /v2.0/tenants HTTP/1.1" 200 164 0.028584



And tenant config of keystone as follows;

tenant_tree_dn = ou=Tenants,dc=example,dc=com
tenant_objectclass = groupOfNames
tenant_id_attribute = cn
tenant_member_attribute = member
tenant_name_attribute = cn
tenant_domain_id_attribute = businessCategory
tenant_enabled_attribute = o
tenant_allow_create = True
tenant_allow_update = True
tenant_allow_delete = True
tenant_desc_attribute = description



*Any one have any suggestions??*  It seems no tanents according to the log
"DEBUG [keystone.common.wsgi] {"tenants_links": [], "tenants": []} "
But i have enabled the user in the Tenant ldap group.

dn: cn=admin,ou=Tenants,dc=example,dc=com
objectClass: groupOfNames
cn: admin
o: True
businessCategory: default
description: Openstack admin Tenant
member: cn=demo,ou=Users,dc=example,dc=com

Thanks in advance..:)


On Mon, May 20, 2013 at 11:24 AM, yasith tharindu wrote:

> The question is posted on openstack ask page.
> https://ask.openstack.org/question/1350/how-to-configure-keystone-with-open-ldap-horizon-on-grizzly/
>
> Error
>
> 2013-05-19 15:21:23ERROR [root] 'domain_id'
> Traceback (most recent call last):
>   File "/usr/lib/python2.7/dist-packages/keystone/common/wsgi.py", line 236, 
> in __call__
> result = method(context, **params)
>   File "/usr/lib/python2.7/dist-packages/keystone/token/controllers.py", line 
> 82, in authenticate
> core.validate_auth_info(self, context, user_ref, tenant_ref)
>   File "/usr/lib/python2.7/dist-packages/keystone/token/core.py", line 84, in 
> validate_auth_info
> user_ref['domain_id'])
> KeyError: 'domain_id'
>
> 2013-05-19 15:21:23DEBUG [keystone.common.wsgi] {"error": {"message": "An 
> unexpected error prevented the server from fulfilling your request. 
> 'domain_id'", "code": 500, "title": "Internal Server Error"}}
>
> Keystone config
>
> ==
> url = ld

Re: [Openstack] How to configure Keystone with open LDAP + horizon on grizzly

2013-05-29 Thread yasith tharindu
I have updated the ask page.

https://ask.openstack.org/question/1350/how-to-configure-keystone-with-open-ldap-horizon-on-grizzly/


On Wed, May 29, 2013 at 8:18 PM, yasith tharindu wrote:

> Now my authentication phase is right through ldap i guess. But Im getting
> a error when try to login saying "You are not authorized for any
> projects."
>
>
> My ldap configurations have been used by the keystone it seems. keystone
> command gives following results.
>
>
> root@ubuntu:/home/wso2/ldap#* keystone user-list*
> WARNING: Bypassing authentication using a token & endpoint (authentication
> credentials are being ignored).
> +--+--+-+--+
> |  id  | name | enabled |  email   |
> +--+--+-+--+
> | demo | demo |   True  | d...@example.com |
> +--+--+-+--+
> root@ubuntu:/home/wso2/ldap# *keystone role-list*
> WARNING: Bypassing authentication using a token & endpoint (authentication
> credentials are being ignored).
> +---+---+
> |   id  |  name |
> +---+---+
> | admin | Admin |
> +---+---+
> root@ubuntu:/home/wso2/ldap# *keystone tenant-list*
> WARNING: Bypassing authentication using a token & endpoint (authentication
> credentials are being ignored).
> +---+---+-+
> |   id  |  name | enabled |
> +---+---+-+
> | admin | admin |   True  |
> +---+---+-+
>
>
>
>
> But with nova commands  return a error with the ldap user credentials.
>
> #* nova image-list*
> ERROR: Invalid OpenStack Nova credentials.
>
>
> System variables I used as follows.
>
> export OS_USERNAME=demo
> export OS_TENANT_NAME=admin
> export OS_PASSWORD=secret
> export OS_AUTH_URL=http://192.168.1.111:5000/v2.0/
> export OS_REGION_NAME=RegionOne
> export SERVICE_ENDPOINT="http://192.168.1.111:35357/v2.0";
> export SERVICE_TOKEN=012345SECRET99TOKEN012345
> export OS_NO_CACHE=1
>
>
>
>
> Following is the keystone log..
>
> 2013-05-29 02:45:20DEBUG [keystone.common.ldap.core] LDAP search:
> dn=ou=Tenants,dc=example,dc=com, scope=2,
> query=(&(objectClass=organizationalRole)(roleOccupant=cn=demo,ou=Users,dc=example,dc=com)),
> attrs=None
> 2013-05-29 02:45:20DEBUG [keystone.common.wsgi] 
> RESPONSE HEADERS 
> 2013-05-29 02:45:20DEBUG [keystone.common.wsgi] Vary = X-Auth-Token
> 2013-05-29 02:45:20DEBUG [keystone.common.wsgi] Content-Type =
> application/json
> 2013-05-29 02:45:20DEBUG [keystone.common.wsgi] Content-Length = 36
> 2013-05-29 02:45:20DEBUG [keystone.common.wsgi]
> 2013-05-29 02:45:20DEBUG [keystone.common.wsgi] 
> RESPONSE BODY 
> 2013-05-29 02:45:20DEBUG [keystone.common.wsgi] {"tenants_links": [],
> "tenants": []}
> 2013-05-29 02:45:20 INFO [access] 127.0.0.1 - - [28/May/2013:21:15:20
> +] "GET http://127.0.0.1:5000/v2.0/tenants HTTP/1.0" 200 36
> 2013-05-29 02:45:20DEBUG [eventlet.wsgi.server] 127.0.0.1 - -
> [29/May/2013 02:45:20] "GET /v2.0/tenants HTTP/1.1" 200 164 0.028584
>
>
>
> And tenant config of keystone as follows;
>
> tenant_tree_dn = ou=Tenants,dc=example,dc=com
> tenant_objectclass = groupOfNames
> tenant_id_attribute = cn
> tenant_member_attribute = member
> tenant_name_attribute = cn
> tenant_domain_id_attribute = businessCategory
> tenant_enabled_attribute = o
> tenant_allow_create = True
> tenant_allow_update = True
> tenant_allow_delete = True
> tenant_desc_attribute = description
>
>
>
> *Any one have any suggestions??*  It seems no tanents according to the
> log "DEBUG [keystone.common.wsgi] {"tenants_links": [], "tenants": []} "
> But i have enabled the user in the Tenant ldap group.
>
> dn: cn=admin,ou=Tenants,dc=example,dc=com
> objectClass: groupOfNames
> cn: admin
> o: True
> businessCategory: default
> description: Openstack admin Tenant
> member: cn=demo,ou=Users,dc=example,dc=com
>
> Thanks in advance..:)
>
>
> On Mon, May 20, 2013 at 11:24 AM, yasith tharindu wrote:
>
>> The question is posted on openstack ask page.
>> https://ask.openstack.org/question/1350/how-to-configure-keystone-with-open-ldap-horizon-on-grizzly/
>>
>> Error
>>
>> 2013-05-19 15:21:23ERROR [root] 'domain_id'
>> Traceback (most recent call last):
>>   File "/usr/lib/python2.7/dist-packages/keystone/common/wsgi.py", line 236, 
>> in __call__
>> result = method(context, **params)
>>   File "/usr/lib/python2.7

[Openstack] Does the Ubuntu repo updated to 2013.1.2

2013-06-10 Thread yasith tharindu
I installed couple of days back with following url. But it installed
2013.1.1

deb http://ubuntu-cloud.archive.canonical.com/ubuntuprecise-updates/grizzly main




-- 
Thanks..
Regards...

Blog: http://www.yasith.info
Twitter : http://twitter.com/yasithnd
LinkedIn : http://www.linkedin.com/in/yasithnd
GPG Key ID : *57CEE66E*
___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp