You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@libcloud.apache.org by Rick Copeland <ri...@arborian.com> on 2012/12/26 17:15:11 UTC

ElasticHosts Problems?

Hi,

I'm using libcloud to manage a multi-cloud deployment and trying to use the
ElasticHosts support. While I can build & launch servers just fine, it's
not possible as far as I can tell to actually log in to the servers via
libcloud.

The API provides for a "VNC password" which will be used to set a password
for a "toor" user, but there is a bug in the libcloud driver where it
 passes a vnc:ip=auto param instead of vnc=auto. The vnc:ip param is not
recognized by elastichosts, so the API call fails. The fix is here:
https://gist.github.com/4381128

-Rick Copeland

Re: ElasticHosts Problems?

Posted by Tomaž Muraus <to...@apache.org>.
Thanks for spotting this again.

I've checked their docs and it looks like that this argument was silently
removed, because it's not documented anymore.

I would assume they have fixed the "issue" with VNC only listening on
private interface by default. In this past that meant if you didn't specify
"vnc:ip: auto" you couldn't login to the server over public internet which
made it pretty much useless.

In any case, I've pushed a fix for this to trunk -
http://svn.apache.org/viewvc?view=revision&revision=r1426126

On Wed, Dec 26, 2012 at 10:54 AM, Tomaž Muraus <to...@apache.org> wrote:

> Thanks for spotting this, I will dig into it later on (check the docs,
> verify that vnc=auto works correctly).
>
> I'm pretty sure the attribute was called "vnc:ip" when I originally worked
> on the driver back in 2010 though.
>
> Also next time when you send a patch like this please include more
> information (error message, etc.) and reference to the documentation and /
> or official client library which says that "vnc=auto" is the right
> parameter.
>
> Thanks
>
> On Wed, Dec 26, 2012 at 8:15 AM, Rick Copeland <ri...@arborian.com> wrote:
>
>> Hi,
>>
>> I'm using libcloud to manage a multi-cloud deployment and trying to use
>> the
>> ElasticHosts support. While I can build & launch servers just fine, it's
>> not possible as far as I can tell to actually log in to the servers via
>> libcloud.
>>
>> The API provides for a "VNC password" which will be used to set a password
>> for a "toor" user, but there is a bug in the libcloud driver where it
>>  passes a vnc:ip=auto param instead of vnc=auto. The vnc:ip param is not
>> recognized by elastichosts, so the API call fails. The fix is here:
>> https://gist.github.com/4381128
>>
>> -Rick Copeland
>>
>
>

Re: ElasticHosts Problems?

Posted by Tomaž Muraus <to...@apache.org>.
Thanks for spotting this, I will dig into it later on (check the docs,
verify that vnc=auto works correctly).

I'm pretty sure the attribute was called "vnc:ip" when I originally worked
on the driver back in 2010 though.

Also next time when you send a patch like this please include more
information (error message, etc.) and reference to the documentation and /
or official client library which says that "vnc=auto" is the right
parameter.

Thanks

On Wed, Dec 26, 2012 at 8:15 AM, Rick Copeland <ri...@arborian.com> wrote:

> Hi,
>
> I'm using libcloud to manage a multi-cloud deployment and trying to use the
> ElasticHosts support. While I can build & launch servers just fine, it's
> not possible as far as I can tell to actually log in to the servers via
> libcloud.
>
> The API provides for a "VNC password" which will be used to set a password
> for a "toor" user, but there is a bug in the libcloud driver where it
>  passes a vnc:ip=auto param instead of vnc=auto. The vnc:ip param is not
> recognized by elastichosts, so the API call fails. The fix is here:
> https://gist.github.com/4381128
>
> -Rick Copeland
>