[Openstack] horizon login error

2013-06-17 Thread Nguyễn Quốc
Hi all,

I install openstack by followed this instruction:
http://docs.openstack.org/grizzly/basic-install/apt/content/basic-install_controller.html
but
without quantum. I already modify the script to remove the relate quantum
things.

after login into horizon dashboard, get message internal server error.

The /var/log/apache2/errror.log is following:

[Tue Jun 18 05:55:02 2013] [error] unable to retrieve service catalog with
>> token
>
> [Tue Jun 18 05:55:02 2013] [error] Traceback (most recent call last):
>
> [Tue Jun 18 05:55:02 2013] [error]   File
>> "/usr/lib/python2.7/dist-packages/keystoneclient/v2_0/client.py", line 132,
>> in _extract_service_catalog
>
> [Tue Jun 18 05:55:02 2013] [error] endpoint_type='adminURL')
>
> [Tue Jun 18 05:55:02 2013] [error]   File
>> "/usr/lib/python2.7/dist-packages/keystoneclient/service_catalog.py", line
>> 62, in url_for
>
> [Tue Jun 18 05:55:02 2013] [error] raise
>> exceptions.EndpointNotFound('Endpoint not found.')
>
> [Tue Jun 18 05:55:02 2013] [error] EndpointNotFound: Endpoint not found.
>
>
>
 here is my endpoint list:

+--+---+-+-+-+
>
> |id|   region  |publicurl
>>|   internalurl   |
>> adminurl|
>
>
>> +--+---+-+-+-+
>
> | 468d543d3eb440f9962a812bab0aac57 | RegionOne |
>> http://10.8.41.51:8774/v2/$(tenant_id)s |
>> http://10.8.41.51:8774/v2/$(tenant_id)s |
>> http://10.8.41.51:8774/v2/$(tenant_id)s |
>
> | ab5efbe0140f480a907c04574141df06 | RegionOne |
>> http://10.8.41.51:5000/v2.0   |   http://10.8.41.51:5000/v2.0
>> |   http://10.8.41.51:35357/v2.0  |
>
> | bed78acd34024995af93b41acc1a1716 | RegionOne |
>> http://10.8.41.51:9292 |  http://10.8.41.51:9292
>> |  http://10.8.41.51:9292 |
>
> | eb0b951ea6e748618794ad4fd46639c1 | RegionOne |
>> http://10.8.41.51:8776/v1/$(tenant_id)s |
>> http://10.8.41.51:8776/v1/$(tenant_id)s |
>> http://10.8.41.51:8776/v1/$(tenant_id)s |
>
> | f954d0645232408ab2f28976b5327f55 | RegionOne |
>> http://10.8.41.51:8773/services/Cloud  |
>> http://10.8.41.51:8773/services/Cloud  |
>> http://10.8.41.51:8773/services/Admin  |
>
>
>> +--+---+-+-+-+
>
>
>
How can I solve this problem?

Thanks.
-- 
Regards,
Nguyen Quoc Vu
___
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 config nova-schedule

2013-06-04 Thread Nguyễn Quốc
Hi all,

I'm new to openstack, I read the manual to study about it's scheduling.

I find that there are other schedulers (chance, multi, and simple
scheduler). How can I config to change the schedule in nova?

By default there is "compute_scheduler_driver =
nova.scheduler.filter_scheduler.FilterScheduler" in nova.conf file. It will
call host_manager to apply all the filters (RetryFilter,
AvailabilityZoneFilter, RamFilter,...) is defined in there right? and so we
just change those filters if we want to archive our requires?

I just try to find how to allocate an instance. For example, we want to
create 2 instances both are require lot of CPU, it will be allocated in two
different hosts. In case of one is require CPU, and another one is just
require I/O, it will be allocated in the same host. Any idea?

thanks,

-- 
Regards,
Nguyen Quoc Vu
___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp