cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Prachi Damle <Prachi.Da...@citrix.com>
Subject RE: [ACS41] Allocator Expert Needed!
Date Thu, 25 Apr 2013 18:21:35 GMT
Found the issue, in the applicationContext .xml , the context of the 'UserConcentratedPodPlanner'
needs to include the list of allocators.
This will ensure that when this component is loaded by Spring, the allocators gets initialized.

Will put in the fix now.

Thanks,
Prachi

-----Original Message-----
From: Prachi Damle [mailto:Prachi.Damle@citrix.com] 
Sent: Thursday, April 25, 2013 11:00 AM
To: dev@cloudstack.apache.org
Subject: RE: [ACS41] Allocator Expert Needed!

It should be set by Spring by looking at the applicationContext or componentContext

-Prachi
-----Original Message-----
From: Marcus Sorensen [mailto:shadowsor@gmail.com]
Sent: Thursday, April 25, 2013 10:58 AM
To: dev@cloudstack.apache.org
Subject: Re: [ACS41] Allocator Expert Needed!

I looked at it a bit, still beyond me, but the actual null pointer is:

for(HostAllocator allocator : _hostAllocators) {

_hostAllocators is locally defined in this file, but empty. I'm not sure what should be calling
'setHostAllocators'.

       protected List<HostAllocator> _hostAllocators;
       public List<HostAllocator> getHostAllocators() {
                return _hostAllocators;
        }
        public void setHostAllocators(List<HostAllocator> _hostAllocators) {
                this._hostAllocators = _hostAllocators;
        }



On Thu, Apr 25, 2013 at 11:49 AM, Chip Childers
<chip.childers@sungard.com>wrote:

> CLOUDSTACK-2158 is a blocker bug for 4.1.0, and I need an allocator 
> expert to review and fix if required.
>
> https://issues.apache.org/jira/browse/CLOUDSTACK-2158
>
> 'userconcentratedpod_firstfit failed to find alternate host to run VM
>
> Marcus laid out the situation in the bug itself.
>
> Help please!
>
> -chip
>

Mime
View raw message