Chip,

I just added the fix for CLOUDSTACK-2158  to master. Here is the commit info to 
cherry-pick:

----
Commit hash:    232d44bf6e31898887b324bcdebbc659423917e4

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.

Contained in branches: master
Contained in no tag

Thanks,
Prachi

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

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.da...@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:shadow...@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.child...@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
>

Reply via email to