stratos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Udara Liyanage <ud...@wso2.com>
Subject Re: [Openstack] [test] Instance termination failed with NPE from jclouds
Date Wed, 11 Mar 2015 16:34:29 GMT
Hi Raj,

If the region has not set, the error should appear at instance start level.

On Wed, Mar 11, 2015 at 5:38 PM, Rajkumar Rajaratnam <rajkumarr@wso2.com>
wrote:

> Hi Lahiru,
>
> Can you add region property in iaasProvider section of the cartridge json
> and check whether you experience the same?
>
>     "iaasProvider": [
>         {
>             "type": "openstack",
>             "imageId": "RegionOne/b4ca55e3-58ab-4937-82ce-817ebd10240e",
>             "networkInterfaces": [
>                 {
>                     "name": "network-non-routable",
>                     "networkUuid": "b55f009a-1cc6-4b17-924f-4ae0ee18db5e"
>                 }
>             ],
>             "maxInstanceLimit": "2",
>             "property": [
>                 {
>                     "name": "instanceType",
>                     "value":
> "RegionOne/aa5f45a2-c6d6-419d-917a-9dd2e3888594"
>                 },
>                 {
>                     "name": "keyPair",
>                     "value": "vishanth-key"
>                 },
>                 {
>                     "name": "securityGroups",
>                     "value": "default"
>                 },
>
>
>
> *                {                    "name": "region",
> "value": "RegionOne"                }*
>             ]
>         }
>     ]
>
> Sorry I couldn't test this because I don't have the setup now.
>
> Thanks.
>
> On Wed, Mar 11, 2015 at 5:27 PM, Rajkumar Rajaratnam <rajkumarr@wso2.com>
> wrote:
>
>> I guess we are passing NULL zone to getFloatingIPExtensionForZone()
>> jclouds API. We might need to check why zone becomes NULL, instead of
>> looking into why jclouds throws NPE.
>>
>> I will look into it.
>>
>> Thanks.
>>
>> On Wed, Mar 11, 2015 at 5:18 PM, Lahiru Sandaruwan <lahirus@wso2.com>
>> wrote:
>>
>>> Hi all,
>>>
>>> $subject is noticed while scaling down. I was able to reproduce this
>>> again today, where i reported this at [1] sometime back.
>>> Looking into it.
>>>
>>> Thanks.
>>> [1] https://issues.apache.org/jira/browse/STRATOS-1229
>>>
>>> --
>>> --
>>> Lahiru Sandaruwan
>>> Committer and PMC member, Apache Stratos,
>>> Senior Software Engineer,
>>> WSO2 Inc., http://wso2.com
>>> lean.enterprise.middleware
>>>
>>> email: lahirus@wso2.com blog: http://lahiruwrites.blogspot.com/
>>> linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
>>>
>>>
>>
>>
>> --
>> Rajkumar Rajaratnam
>> Committer & PMC Member, Apache Stratos
>> Software Engineer, WSO2
>>
>> Mobile : +94777568639
>> Blog : rajkumarr.com
>>
>
>
>
> --
> Rajkumar Rajaratnam
> Committer & PMC Member, Apache Stratos
> Software Engineer, WSO2
>
> Mobile : +94777568639
> Blog : rajkumarr.com
>



-- 

Udara Liyanage
Software Engineer
WSO2, Inc.: http://wso2.com
lean. enterprise. middleware

web: http://udaraliyanage.wordpress.com
phone: +94 71 443 6897

Mime
View raw message