[one-users] oZones Server Incomplete Information

Tino Vazquez cvazquez at c12g.com
Mon Dec 9 04:09:12 PST 2013


Hi Bill,

You are right, there is a bug that prevents certain pool correct
retrieval. Please find the corresponding ticket [1] in the development
portal, along with a revision [2] that fixes it.

Regards,

-Tino

[1] http://dev.opennebula.org/issues/2548
[2] http://dev.opennebula.org/projects/opennebula/repository/revisions/f213728b21226080d784259e74147379fa11d026
--
OpenNebula - Flexible Enterprise Cloud Made Simple

--
Constantino Vázquez Blanco, PhD, MSc
Senior Infrastructure Architect at C12G Labs
www.c12g.com | @C12G | es.linkedin.com/in/tinova

--
Confidentiality Warning: The information contained in this e-mail and
any accompanying documents, unless otherwise expressly indicated, is
confidential and privileged, and is intended solely for the person
and/or entity to whom it is addressed (i.e. those identified in the
"To" and "cc" box). They are the property of C12G Labs S.L..
Unauthorized distribution, review, use, disclosure, or copying of this
communication, or any part thereof, is strictly prohibited and may be
unlawful. If you have received this e-mail in error, please notify us
immediately by e-mail at abuse at c12g.com and delete the e-mail and
attachments and any copy from your system. C12G thanks you for your
cooperation.


On Thu, Dec 5, 2013 at 3:04 PM, Campbell, Bill
<bcampbell at axcess-financial.com> wrote:
> Sure,
> I just created a 'bcampbell' user and added it to the 'oneadmin' group.
> After that, I created resources, so ownership was 'bcampbell:oneadmin"
>
> As an aside, I connected the 4.4 oZones to our 3.8 instance of ONE, and
> received the same result.  I could only see things owned by my user, not
> anything else.
>
> ________________________________
> From: "Tino Vazquez" <cvazquez at c12g.com>
> To: "Bill Campbell" <bcampbell at axcess-financial.com>
> Cc: "users" <users at lists.opennebula.org>
> Sent: Thursday, December 5, 2013 5:59:41 AM
>
> Subject: Re: [one-users] oZones Server Incomplete Information
>
> Hi Bill,
>
> That shouldn't be the case. Can you send the permissions & ownership
> of the resource not visible by 'oneadmin'?
>
> I'll try to reproduce that locally.
>
> Regards,
>
> -Tino
>
> --
> OpenNebula - Flexible Enterprise Cloud Made Simple
>
> --
> Constantino Vázquez Blanco, PhD, MSc
> Senior Infrastructure Architect at C12G Labs
> www.c12g.com | @C12G | es.linkedin.com/in/tinova
>
> --
> Confidentiality Warning: The information contained in this e-mail and
> any accompanying documents, unless otherwise expressly indicated, is
> confidential and privileged, and is intended solely for the person
> and/or entity to whom it is addressed (i.e. those identified in the
> "To" and "cc" box). They are the property of C12G Labs S.L..
> Unauthorized distribution, review, use, disclosure, or copying of this
> communication, or any part thereof, is strictly prohibited and may be
> unlawful. If you have received this e-mail in error, please notify us
> immediately by e-mail at abuse at c12g.com and delete the e-mail and
> attachments and any copy from your system. C12G thanks you for your
> cooperation.
>
>
> On Wed, Dec 4, 2013 at 7:52 PM, Campbell, Bill
> <bcampbell at axcess-financial.com> wrote:
>> Tino,
>> I figured out why they are not displaying.
>>
>> I'm connecting the oZones server using the 'oneadmin' account.  All of the
>> missing resources were created and owned by my account (not oneadmin).
>> After changing the owner to oneadmin, the resources appeared in oZones.
>>
>>
>> This poses a problem.  Since we have multiple users and would like to use
>> oZones as a dashboard for a broad overview of the entire environment, is
>> there a way to ensure that all resources, no matter who they are owned by,
>> are visible?
>>
>> ________________________________
>> From: "Bill Campbell" <bcampbell at axcess-financial.com>
>> To: "Tino Vazquez" <cvazquez at c12g.com>
>> Cc: "users" <users at lists.opennebula.org>
>> Sent: Wednesday, December 4, 2013 1:42:08 PM
>>
>> Subject: Re: [one-users] oZones Server Incomplete Information
>>
>> Tino,
>> I have 2 VMs running, 4 virtual networks defined, multiple images and
>> templates defined prior to adding to oZones.
>>
>> ________________________________
>> From: "Tino Vazquez" <cvazquez at c12g.com>
>> To: "Bill Campbell" <bcampbell at axcess-financial.com>
>> Cc: "users" <users at lists.opennebula.org>
>> Sent: Wednesday, December 4, 2013 1:19:14 PM
>> Subject: Re: [one-users] oZones Server Incomplete Information
>>
>> Hi Bill,
>>
>> Just checking, are there VMs running in the zone? Could it be that
>> there are no  vms, templates, images nor vnets defined in the
>> OpenNebula instance running in the zone?
>>
>> I'll check the users CLI bug, and come back if I need more input for
>> debugging, thanks for the feedback.
>>
>> Regards,
>>
>> -Tino
>> --
>> OpenNebula - Flexible Enterprise Cloud Made Simple
>>
>> --
>> Constantino Vázquez Blanco, PhD, MSc
>> Senior Infrastructure Architect at C12G Labs
>> www.c12g.com | @C12G | es.linkedin.com/in/tinova
>>
>> --
>> Confidentiality Warning: The information contained in this e-mail and
>> any accompanying documents, unless otherwise expressly indicated, is
>> confidential and privileged, and is intended solely for the person
>> and/or entity to whom it is addressed (i.e. those identified in the
>> "To" and "cc" box). They are the property of C12G Labs S.L..
>> Unauthorized distribution, review, use, disclosure, or copying of this
>> communication, or any part thereof, is strictly prohibited and may be
>> unlawful. If you have received this e-mail in error, please notify us
>> immediately by e-mail at abuse at c12g.com and delete the e-mail and
>> attachments and any copy from your system. C12G thanks you for your
>> cooperation.
>>
>>
>> On Wed, Dec 4, 2013 at 2:45 PM, Campbell, Bill
>> <bcampbell at axcess-financial.com> wrote:
>>> I've had the same result on 4.2 and 4.4
>>>
>>> The CLI output is the same, but 'user' exhibits an error (all the others
>>> report back appropriate information).  Not sure if that's related, but
>>> the
>>> user information shows up just fine in the Web UI:
>>>
>>> oneadmin at opennebula:~$ onezone show 3 vm
>>> ZONE E-Comm Lab INFORMATION
>>> ID : 3
>>> NAME : E-Comm Lab
>>> ZONE ADMIN : oneadmin
>>> ZONE PASS : PvrIdBbb+iOBb6fUxKOqwiK2lHn5LB5X/vm0iynSMzg=
>>> ENDPOINT : http://localhost:2633/RPC2
>>> SUNSENDPOINT : http://opennebula.ecommlab.local:9869/
>>> # VDCS : 0
>>>
>>>
>>> oneadmin at opennebula:~$ onezone show 3 host
>>> ZONE E-Comm Lab INFORMATION
>>> ID : 3
>>> NAME : E-Comm Lab
>>> ZONE ADMIN : oneadmin
>>> ZONE PASS : PvrIdBbb+iOBb6fUxKOqwiK2lHn5LB5X/vm0iynSMzg=
>>> ENDPOINT : http://localhost:2633/RPC2
>>> SUNSENDPOINT : http://opennebula.ecommlab.local:9869/
>>> # VDCS : 0
>>>
>>>
>>> ZONE VIEW - host
>>> ID NAME CLUSTER RVM ALLOCATED_CPU ALLOCATED_MEM STAT
>>> 0 kvmhost1.ecomml E-Comm La 0 0 / 800 (0%) 0K / 15.7G (0%) on
>>> 1 kvmhost2.ecomml E-Comm La 0 0 / 400 (0%) 0K / 7.8G (0%) on
>>> 2 kvmhost3.ecomml Support S 2 400 / 400 (100%) 4G / 7.8G (51%) on
>>>
>>>
>>> oneadmin at opennebula:~$ onezone show 3 user
>>> ZONE E-Comm Lab INFORMATION
>>> ID : 3
>>> NAME : E-Comm Lab
>>> ZONE ADMIN : oneadmin
>>> ZONE PASS : PvrIdBbb+iOBb6fUxKOqwiK2lHn5LB5X/vm0iynSMzg=
>>> ENDPOINT : http://localhost:2633/RPC2
>>> SUNSENDPOINT : http://opennebula.ecommlab.local:9869/
>>> # VDCS : 0
>>>
>>>
>>> ZONE VIEW - user
>>> ID NAME GROUP AUTH VMS MEMORY CPU
>>> /usr/lib/one/ruby/cli/one_helper/oneuser_helper.rb:176:in `format_pool':
>>> undefined method `[]' for nil:NilClass (NoMethodError)
>>> from /usr/lib/one/ruby/cli/cli_helper.rb:239:in `call'
>>> from /usr/lib/one/ruby/cli/cli_helper.rb:239:in `data_array'
>>> from /usr/lib/one/ruby/cli/cli_helper.rb:238:in `collect'
>>> from /usr/lib/one/ruby/cli/cli_helper.rb:238:in `data_array'
>>> from /usr/lib/one/ruby/cli/cli_helper.rb:237:in `collect'
>>> from /usr/lib/one/ruby/cli/cli_helper.rb:237:in `data_array'
>>> from /usr/lib/one/ruby/cli/cli_helper.rb:209:in `print_data'
>>> from /usr/lib/one/ruby/cli/cli_helper.rb:204:in `print_table'
>>> from /usr/lib/one/ruby/cli/cli_helper.rb:171:in `show'
>>> from /usr/bin/onezone:135
>>> from /usr/lib/one/ruby/cli/command_parser.rb:449:in `call'
>>> from /usr/lib/one/ruby/cli/command_parser.rb:449:in `run'
>>> from /usr/lib/one/ruby/cli/command_parser.rb:76:in `initialize'
>>> from /usr/bin/onezone:42:in `new'
>>> from /usr/bin/onezone:42
>>>
>>>
>>>
>>> ________________________________
>>> From: "Tino Vazquez" <cvazquez at c12g.com>
>>> To: "Bill Campbell" <bcampbell at axcess-financial.com>
>>> Cc: "users" <users at lists.opennebula.org>
>>> Sent: Wednesday, December 4, 2013 5:54:05 AM
>>> Subject: Re: [one-users] oZones Server Incomplete Information
>>>
>>>
>>> Hi Bill,
>>>
>>> On what OpenNebula version are you on?
>>>
>>> It would be also useful to know if the same applies for the CLI, that
>>> is, what output do you get for the following commands:
>>>
>>> $ onezone show <zone_id> vm
>>> $ onezone show <zone_id> user
>>>
>>> Regards,
>>>
>>> -Tino
>>> --
>>> OpenNebula - Flexible Enterprise Cloud Made Simple
>>>
>>> --
>>> Constantino Vázquez Blanco, PhD, MSc
>>> Senior Infrastructure Architect at C12G Labs
>>> www.c12g.com | @C12G | es.linkedin.com/in/tinova
>>>
>>> --
>>> Confidentiality Warning: The information contained in this e-mail and
>>> any accompanying documents, unless otherwise expressly indicated, is
>>> confidential and privileged, and is intended solely for the person
>>> and/or entity to whom it is addressed (i.e. those identified in the
>>> "To" and "cc" box). They are the property of C12G Labs S.L..
>>> Unauthorized distribution, review, use, disclosure, or copying of this
>>> communication, or any part thereof, is strictly prohibited and may be
>>> unlawful. If you have received this e-mail in error, please notify us
>>> immediately by e-mail at abuse at c12g.com and delete the e-mail and
>>> attachments and any copy from your system. C12G thanks you for your
>>> cooperation.
>>>
>>>
>>> On Tue, Dec 3, 2013 at 8:38 PM, Campbell, Bill
>>> <bcampbell at axcess-financial.com> wrote:
>>>> Hello,
>>>> I'm having some weird issues with oZones.  Trying to configure it and
>>>> add
>>>> our zones, seems to work okay, but only seeing some of the information.
>>>> I
>>>> can see Datastores, Users, and Hosts, but I'm missing VMs, Templates,
>>>> Images, and Virtual Networks.  All show "No Data in Table"
>>>>
>>>> Is there something I'm missing in configuration?  Should I see this
>>>> information upon connecting it to my OpenNebula instances?
>>>>
>>>> ________________________________
>>>>
>>>> Bill Campbell
>>>> Infrastructure Architect
>>>>
>>>>
>>>> Axcess Financial Services, Inc.
>>>> 7755 Montgomery Rd., Suite 400
>>>> Cincinnati, OH  45236
>>>>
>>>>
>>>>
>>>> NOTICE: Protect the information in this message in accordance with the
>>>> company's security policies. If you received this message in error,
>>>> immediately notify the sender and destroy all copies.
>>>>
>>>>
>>>> _______________________________________________
>>>> Users mailing list
>>>> Users at lists.opennebula.org
>>>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>>>
>>>
>>>
>>> NOTICE: Protect the information in this message in accordance with the
>>> company's security policies. If you received this message in error,
>>> immediately notify the sender and destroy all copies.
>>>
>>>
>>> _______________________________________________
>>> Users mailing list
>>> Users at lists.opennebula.org
>>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>>
>>
>>
>> NOTICE: Protect the information in this message in accordance with the
>> company's security policies. If you received this message in error,
>> immediately notify the sender and destroy all copies.
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.opennebula.org
>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>
>>
>> NOTICE: Protect the information in this message in accordance with the
>> company's security policies. If you received this message in error,
>> immediately notify the sender and destroy all copies.
>>
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.opennebula.org
>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>
>
>
> NOTICE: Protect the information in this message in accordance with the
> company's security policies. If you received this message in error,
> immediately notify the sender and destroy all copies.
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>



More information about the Users mailing list