I am not sure, need to check. This logic is there from the beginning. May
be we can add a validation while creating/updating IaaS providers.

Thanks.

On Wed, Mar 11, 2015 at 10:14 PM, Udara Liyanage <[email protected]> wrote:

> Hi,
>
> Thanks for the info. I didn't know that. Does every IaaS has the region
> information in image ID. In ec2 and openstack it is contained.
>
> On Wed, Mar 11, 2015 at 10:09 PM, Rajkumar Rajaratnam <[email protected]>
> wrote:
>
>>
>>
>> On Wed, Mar 11, 2015 at 10:04 PM, Udara Liyanage <[email protected]> wrote:
>>
>>> Hi Raj,
>>>
>>> If the region has not set, the error should appear at instance start
>>> level.
>>>
>>
>> No Udara. If region property is not set, we are string-processing image
>> id and find the region. So setting region property is optional.
>>
>> Thanks.
>>
>>>
>>> On Wed, Mar 11, 2015 at 5:38 PM, Rajkumar Rajaratnam <[email protected]
>>> > 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 <
>>>> [email protected]> 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 <[email protected]>
>>>>> 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: [email protected] 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
>>>
>>
>>
>>
>> --
>> 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
>



-- 
Rajkumar Rajaratnam
Committer & PMC Member, Apache Stratos
Software Engineer, WSO2

Mobile : +94777568639
Blog : rajkumarr.com

Reply via email to