On Tue, May 27, 2014 at 11:54 PM, chris snow <[email protected]> wrote:

> Hi Lahiru,
>
> I'll have a poke around - it will give me a good opportunity to learn
> some more Stratos code :)
>
>
Cool :)

Debug logs should be able to show us where it went wrong.

Thanks.

> Many thanks,
>
> Chris
>
> On Tue, May 27, 2014 at 7:45 AM, Lahiru Sandaruwan <[email protected]>
> wrote:
> > Hi Chris,
> >
> > Can you enable debug logs and try out?
> > If so please send them over.
> >
> > Thanks.
> >
> >
> > On Tue, May 27, 2014 at 12:05 PM, chris snow <[email protected]>
> wrote:
> >>
> >> Deployment Policy partitionMax seems to be ignored.  My deployment
> >> policy looks like this:
> >>
> >> {
> >>   "id": "economyDeployment",
> >>   "partitionGroup": [
> >>     {
> >>       "id": "G1",
> >>       "partitionAlgo": "one-after-another",
> >>       "partition": [
> >>         {
> >>           "id": "P1",
> >>           "partitionMax": "1",
> >>           "partitionMin": "1"
> >>         }
> >>       ]
> >>     }
> >>   ]
> >> }
> >>
> >> Stratos initially starts two instances:
> >>
> >>
> >>
> +--------------------------------------+---------------+--------+------------+-------------+--------------------+
> >> | ID                                   | Name          | Status | Task
> >> State | Power State | Networks           |
> >>
> >>
> +--------------------------------------+---------------+--------+------------+-------------+--------------------+
> >> | c91eddd7-f2d5-49e5-b602-fde5df38e16d | php111php-9f6 | ACTIVE | -
> >>       | Running     | private=10.11.12.2 |
> >> | b38536d2-bc9e-4ab2-984c-bc3f2091947f | php111php-a05 | ACTIVE | -
> >>       | Running     | private=10.11.12.3 |
> >>
> >>
> +--------------------------------------+---------------+--------+------------+-------------+--------------------+
> >> Then attempts to start more:
> >>
> >>
> >>
> +--------------------------------------+---------------+--------+------------+-------------+--------------------+
> >> | ID                                   | Name          | Status | Task
> >> State | Power State | Networks           |
> >>
> >>
> +--------------------------------------+---------------+--------+------------+-------------+--------------------+
> >> | 91029130-37b5-4df6-ad95-1d9f609a22c3 | php111php-13e | ERROR  | -
> >>       | NOSTATE     |                    |
> >> | 71c1e361-df55-4f61-84c5-79774fef2beb | php111php-3d7 | ERROR  | -
> >>       | NOSTATE     |                    |
> >> | b0d72602-cdb8-4621-ad12-911ade4d89b1 | php111php-412 | ERROR  | -
> >>       | NOSTATE     |                    |
> >> | d4eac55d-bb7c-48d6-83f2-cb9a11581a18 | php111php-6f5 | ERROR  | -
> >>       | NOSTATE     |                    |
> >> | 738a9534-2b95-4984-a51b-748bc7169b9a | php111php-73e | ERROR  | -
> >>       | NOSTATE     |                    |
> >> | c91eddd7-f2d5-49e5-b602-fde5df38e16d | php111php-9f6 | ACTIVE | -
> >>       | Running     | private=10.11.12.2 |
> >> | b38536d2-bc9e-4ab2-984c-bc3f2091947f | php111php-a05 | ACTIVE | -
> >>       | Running     | private=10.11.12.3 |
> >> | f570e654-024b-4240-bad2-8a11f04f23f0 | php111php-a30 | ERROR  | -
> >>       | NOSTATE     |                    |
> >> | 0ab36824-9bea-4a95-aa22-7f935406d83d | php111php-bca | ERROR  | -
> >>       | NOSTATE     |                    |
> >> | 02ed97df-02bc-4bff-b42d-9f2bcbd4f569 | php111php-f6f | ERROR  | -
> >>       | NOSTATE     |                    |
> >>
> >>
> +--------------------------------------+---------------+--------+------------+-------------+--------------------+
> >>
> >> I'm on branch: 4.0.0-incubating, using Openstack Havana + Docker.
> >>
> >> Any ideas?
> >>
> >> Many thanks,
> >>
> >> Chris
> >
> >
> >
> >
> > --
> > --
> > Lahiru Sandaruwan
> > Committer and PMC member, Apache Stratos,
> > Senior Software Engineer,
> > WSO2 Inc., http://wso2.com
> > lean.enterprise.middleware
> >
> > email: [email protected] cell: (+94) 773 325 954
> > blog: http://lahiruwrites.blogspot.com/
> > twitter: http://twitter.com/lahirus
> > linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
> >
>
>
>
> --
> Check out my professional profile and connect with me on LinkedIn.
> http://lnkd.in/cw5k69
>



-- 
--
Lahiru Sandaruwan
Committer and PMC member, Apache Stratos,
Senior Software Engineer,
WSO2 Inc., http://wso2.com
lean.enterprise.middleware

email: [email protected] cell: (+94) 773 325 954
blog: http://lahiruwrites.blogspot.com/
twitter: http://twitter.com/lahirus
linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146

Reply via email to