[Openstack] Wrong Status at the Dashboard - IceHouse Horizon - Ubuntu 14.04

Julie Pichon jpichon at redhat.com
Tue May 20 17:11:08 UTC 2014


On 20/05/14 17:13, Martinx - ジェームズ wrote:
> Hey Julie,
> 
> The command `nova quota-show --tenant-id <tenant_id>` didn't worked with
> IceHouse, maybe it have changed?!
> 
> Look:
> 
> ---
> root at psuaa-1:~# nova quota-show --tenant-id 75cdaa9153264d1eb5f86c9207f57010
> usage: nova [--version] [--debug] [--os-cache] [--timings]
>             [--timeout <seconds>] [--os-auth-token OS_AUTH_TOKEN]
>             [--os-username <auth-user-name>] [--os-password <auth-password>]
>             [--os-tenant-name <auth-tenant-name>]
>             [--os-tenant-id <auth-tenant-id>] [--os-auth-url <auth-url>]
>             [--os-region-name <region-name>] [--os-auth-system
> <auth-system>]
>             [--service-type <service-type>] [--service-name <service-name>]
>             [--volume-service-name <volume-service-name>]
>             [--endpoint-type <endpoint-type>]
>             [--os-compute-api-version <compute-api-ver>]
>             [--os-cacert <ca-certificate>] [--insecure]
>             [--bypass-url <bypass-url>]
>             <subcommand> ...
> error: unrecognized arguments: --tenant-id 75cdaa9153264d1eb5f86c9207f57010
> Try 'nova help ' for more information.
> ---
> 
> Maybe the syntax changed... Don't know for sure... I tried it with other
> options but didn't find the quotas via CLI (how newbie I am? hehe)...   :-)

My bad, it looks like it's actually "nova quota-show --tenant
<tenant_id>" ("nova help quota-show" can help and give more information
on parameters when hitting this kind of issues).

Julie

> 
> I figured out how to reproduce the problem:
> 
> 
> 1- Edit /etc/neutron/neutron.conf;
> 
> 2- Replace nova_admin_tenant_id or nova_admin_password for a know bad value;
> 
> 3- Try to start some instances... It will not work...;
> 
> 4- Terminate/Delete the broken Instances...;
> 
> 5- Repeat the process a couple times;
> 
> 7- Restore neutron.conf with good values;
> 
> 8- Quota status will stuck wrong for that Project...
> 
> 
> Tks,
> Thiago
> 
> 
> On 19 May 2014 07:54, Julie Pichon <jpichon at redhat.com> wrote:
> 
>> On 19/05/14 11:19, Matthias Runge wrote:
>>> On Mon, May 19, 2014 at 05:19:42AM -0300, Martinx - ジェームズ wrote:
>>>> Guys,
>>>>
>>>> I'm testing IceHouse to put it in production and I'm seeing that there
>> is
>>>> something wrong with its status, check it out:
>>>>
>>>> ---
>>>> http://i.imgur.com/LIFgrwd.png
>>>> ---
>>>>
>>>> I have only 1 Instance but, Horizon "Overview" shows "Instances Used 5
>> of
>>>> 5"... Where it should show "Instances Used 1 of 5"...
>>>>
>>>> This Project still have 4 Instances available to use but, he is unable
>> to
>>>> start more.
>>>>
>>>> Also, VCPUs and RAM are wrong too...
>>>>
>>>> Tips?!
>>>>
>>>> I noted that those instances wasn't started successfully, they got
>> stucked
>>>> because of other problems so, Project admin deleted but, the status
>> doesn't
>>>> got updated...
>>>>
>>>> I'm following docs.openstack.org...
>>>>
>>>
>>> Would you mind to report is as a bug[1].
>>
>> I suspect this is due to the Nova quotas being out of sync (see e.g. bug
>> 1202896 [1]) rather than something that can be fixed independently on
>> the Horizon side.
>>
>> Does `nova quota-show --tenant-id <tenant_id>` show the same inaccurate
>> numbers?
>>
>> Thanks,
>>
>> Julie
>>
>>
>> [1] https://bugs.launchpad.net/nova/+bug/1202896
>>
>>>
>>> Thanks.
>>>
>>> https://bugs.launchpad.net/horizon/
>>>
>>
>>
>>
>> _______________________________________________
>> Mailing list:
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>> Post to     : openstack at lists.openstack.org
>> Unsubscribe :
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>>
> 





More information about the Openstack mailing list