[ovirt-users] ovirt-shell show vm doesn't show all vm properties
Nathanaël Blanchet
blanchet at abes.fr
Tue Oct 11 16:09:31 UTC 2016
It works like a charm thanks
Le 11/10/2016 à 17:58, Juan Hernández a écrit :
> On 10/11/2016 03:47 PM, Nathanaël Blanchet wrote:
>> Hi,
>>
>> since ovirt 4.0, I can't use "--all_content" combined with "show vm"
>> anymore. The option si still available with the key tab, but when
>> applying, ovirt-shell complains : option "--all_content" is not supported.
>>
>> I wrote some script using the console-enabled option, how can I
>> retrieve this now?
>>
> This is a bug in the CLI, I opened the following BZ to track it:
>
> The "--all_content true" option isn't accepted
> https://bugzilla.redhat.com/1383735
>
> It will be fixed by this patch:
>
> cli: Base should be None when there is no base
> https://gerrit.ovirt.org/65371
>
> That will hopefully be included in release 4.0.6 of the oVirt project.
>
>> Le 22/04/2016 à 11:39, Juan Hernández a écrit :
>>> On 04/22/2016 10:14 AM, Nathanaël Blanchet wrote:
>>>> Hi all,
>>>>
>>>> I'd like to find any vms with some defined properties like
>>>> (console-enabled or serial_number-policy for example) with ovirt-shell
>>>> -E "show vm name", but I can't find all information that I can get with
>>>> edit vm popupin the UI.
>>>> I belevied these kind of properties were unvailable because the flag was
>>>> by default to false, but after updating the flag to true, it is still
>>>> not visible. Does it exist an extended way to get those feature with
>>>> ovirt-shell?
>>>> Thank you.
>>>>
>>> The console information isn't reported by default because it requires an
>>> additional query to the database, which is expensive, and not useful in
>>> general. You can enable these expensive items using the "all_content"
>>> parameter:
>>>
>>> $ ovirt-shell "show vm name --all_content true"
>>>
>>> The serial number properties are only present if there is one serial
>>> number policy enabled.
>>>
>
--
Nathanaël Blanchet
Supervision réseau
Pôle Infrastrutures Informatiques
227 avenue Professeur-Jean-Louis-Viala
34193 MONTPELLIER CEDEX 5
Tél. 33 (0)4 67 54 84 55
Fax 33 (0)4 67 54 84 14
blanchet at abes.fr
More information about the Users
mailing list