Did a quick check, seems the method [1] of IaaSConfig class is not getting
called from anywhere. The payload field in IaaSProvider is populated using
the same field in IaaSConfig.

@ Asanka: Can you remove the null check [2] and re-test.

[1].    setPayload(byte[] payload)
[2].    iaasInfo.getPayload() == null

On Wed, Jun 3, 2015 at 11:36 AM, Asanka Sanjaya Herath <angal...@gmail.com>
wrote:

> Hi Isuru and Gayan,
>
> I'll follow the steps you mentioned and update the thread ASAP.
>
> On Wed, Jun 3, 2015 at 6:00 AM, Isuru Haththotuwa <isu...@apache.org>
> wrote:
>
>> Hi Asanka,
>>
>> Great work in finding this!
>>
>> Can you check what are the values that are coming in the payload for the
>> setDynamicPayload function?
>>
>> In both EC2IaaS and OpenStackIaaS this check is not there. Can you test
>> removing 'iaasInfo.getPayload() == null' check?
>>
>> On Wed, Jun 3, 2015 at 11:15 AM, Asanka Sanjaya Herath <
>> angal...@gmail.com> wrote:
>>
>>> Hi All,
>>>
>>> I did some debugging on $subject and I found that there is a problem in
>>> GCEIaas.java class located in cloud controller component. In line
>>> 184, iaasInfo.getPayload()  is always has a null value. So the
>>> method setDynamicPayload() will return immediately without setting user
>>> metadata to the instance. But I can see that the payload object has some
>>> values. So is that null check on line 184 is required? Any help is
>>> appreciated.
>>>
>>> --
>>> Thanks,
>>> Regards,
>>> ASH
>>>
>>> --
>>> Thanks and Regards,
>>>
>>> Isuru H.
>>> +94 716 358 048* <http://wso2.com/>*
>>>
>>>
>>> * <http://wso2.com/>*
>>>
>>>
>>>
>
>
> --
> Thanks,
> Regards,
> ASH
>
> --
> Thanks and Regards,
>
> Isuru H.
> +94 716 358 048* <http://wso2.com/>*
>
>
> * <http://wso2.com/>*
>
>
>

Reply via email to