[one-users] econe does not report date properly

sebastien goasguen runseb at gmail.com
Mon May 30 06:57:56 PDT 2011


Thanks, I confirm that this works :)

On Mon, May 30, 2011 at 6:13 AM, Daniel Molina <dmolina at opennebula.org> wrote:
> Hi,
>
> There was a bug in the launchTime generation, it has been fixed in the
> master branch.
>
> --- a/src/cloud/ec2/lib/EC2QueryServer.rb
> +++ b/src/cloud/ec2/lib/EC2QueryServer.rb
> @@ -318,7 +318,7 @@ private
>     end
>
>     def render_launch_time(vm)
> -        return "<launchTime>#{Time.at(vm[:stime].to_i).xmlschema}</launchTime>"
> +        return
> "<launchTime>#{Time.at(vm["STIME"].to_i).xmlschema}</launchTime>"
>     end
>  end
>
> Thanks for the feedback
>
> On 27 May 2011 17:36, sebastien goasguen <runseb at gmail.com> wrote:
>> Hi,
>>
>> When using the ec2 interface via the euca2ools, the date is not
>> reported properly:
>>
>> sebgoa at belmiro:~$ euca-run-instances ami-00000013
>> RESERVATION     r-47a5402e      runseb  default
>> INSTANCE        i-358   ami-00000013    128.142.192.39  128.142.192.39
>>  pending default 0               m1.small
>> 1970-01-01T01:00:00+01:00        default
>> sebgoa at belmiro:~$ euca-describe-instances
>> RESERVATION     default runseb  default
>> INSTANCE        i-358           128.142.192.39  128.142.192.39
>> pending default 0               m1.small
>> 1970-01-01T01:00:00+01:00       default eki-EA801065      eri-1FEE1144
>>
>> Is this a known bug ? is there a quick fix ?
>>
>> thanks
>>
>> -sebastien
>>
>> --
>> ---
>> Sebastien Goasguen, Associate Professor
>> School of Computing
>> Clemson University
>> 864-553-4734.
>> Google Voice: (864)-869-8683
>> http://sites.google.com/site/runseb/
>> _______________________________________________
>> Users mailing list
>> Users at lists.opennebula.org
>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>
>
>
>
> --
> Daniel Molina, Cloud Technology Engineer/Researcher
> Major Contributor
> OpenNebula - The Open Source Toolkit for Cloud Computing
> www.OpenNebula.org | dmolina at opennebula.org
>



-- 
---
Sebastien Goasguen, Associate Professor
School of Computing
Clemson University
864-553-4734.
Google Voice: (864)-869-8683
http://sites.google.com/site/runseb/



More information about the Users mailing list