Re: [Openstack] 2 Questions: Port 5000 and 35357, glance index

2012-12-13 Thread Hao Wang
Hi Gui,

Thanks for the reply. I think I have to reconfigure another refresh
environment. It's a little difficult for both of us to make it with a
system full of problem.

Both of the ports are opened by the process of /usr/bin/keystone-all. No
idea why it is like this. Going through source codes would give more points.

Thanks,
Howard

On Thu, Dec 13, 2012 at 10:56 PM, Gui Maluf  wrote:

> I think 5000 is kind of public port, for external use, and 35357 a private
> port for internal use. But probably I'm wrong! :)
> Is your OS_AUTH_URL and SERVICE_ENDPOINT defined?
> unset one of them and try again.
>
>
> On Thu, Dec 13, 2012 at 12:54 AM, Hao Wang  wrote:
>
>> Hi Stackers,
>>
>> What is the difference between the ports 5000 and 35357?
>>
>> When I run glance command, the error message is as below. I googled the
>> message, but no results can address this issue.
>> root@Controller:~# glance index
>> ID   Name   Disk
>> Format  Container Format Size
>>  --
>>   --
>> Error communicating with /v1/images/detail?limit=10: [Errno 111]
>> Connection refused
>>
>> Thanks,
>> Howard
>>
>> ___
>> Mailing list: https://launchpad.net/~openstack
>> Post to : openstack@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~openstack
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
>
> --
> *guilherme* \n
> \t *maluf*
>
>
___
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] 2 Questions: Port 5000 and 35357, glance index

2012-12-13 Thread Gui Maluf
I think 5000 is kind of public port, for external use, and 35357 a private
port for internal use. But probably I'm wrong! :)
Is your OS_AUTH_URL and SERVICE_ENDPOINT defined?
unset one of them and try again.


On Thu, Dec 13, 2012 at 12:54 AM, Hao Wang  wrote:

> Hi Stackers,
>
> What is the difference between the ports 5000 and 35357?
>
> When I run glance command, the error message is as below. I googled the
> message, but no results can address this issue.
> root@Controller:~# glance index
> ID   Name   Disk
> Format  Container Format Size
>  --
>   --
> Error communicating with /v1/images/detail?limit=10: [Errno 111]
> Connection refused
>
> Thanks,
> Howard
>
> ___
> Mailing list: https://launchpad.net/~openstack
> Post to : openstack@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 
*guilherme* \n
\t *maluf*
___
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] 2 Questions: Port 5000 and 35357, glance index

2012-12-12 Thread Hao Wang
Hi guys,

Please ignore the second question for it's my bad to miss some steps. I'd
like to raise another question if you've got any idea.

I know the ports 5000 and 9292 are default ports used by services. What
about 8774 below? Could I use other ports?

keystone --os-token 012345SECRET99TOKEN012345 \
--os-endpoint http://192.168.206.130:35357/v2.0/ \
endpoint-create \
 --region RegionOne \
 --service-id=abc0f03c02904c24abdcc3b7910e2eed \
 --publicurl='http://192.168.206.130:8774/v2/%(tenant_id)s' \
 --internalurl='http://192.168.206.130:8774/v2/%(tenant_id)s' \
 --adminurl='http://192.168.206.130:8774/v2/%(tenant_id)s'


Thanks for your time,
Howard
On Thu, Dec 13, 2012 at 10:54 AM, Hao Wang  wrote:

> Hi Stackers,
>
> What is the difference between the ports 5000 and 35357?
>
> When I run glance command, the error message is as below. I googled the
> message, but no results can address this issue.
> root@Controller:~# glance index
> ID   Name   Disk
> Format  Container Format Size
>  --
>   --
> Error communicating with /v1/images/detail?limit=10: [Errno 111]
> Connection refused
>
> Thanks,
> Howard
>
___
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] 2 Questions: Port 5000 and 35357, glance index

2012-12-12 Thread Hao Wang
Hi Stackers,

What is the difference between the ports 5000 and 35357?

When I run glance command, the error message is as below. I googled the
message, but no results can address this issue.
root@Controller:~# glance index
ID   Name   Disk
Format  Container Format Size
 --
  --
Error communicating with /v1/images/detail?limit=10: [Errno 111] Connection
refused

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