Re: juju bootstrap fails with vSphere 6.0

2015-11-06 Thread Martin Packman
On 05/11/2015, Forstner Michael  wrote:
>
> Response 4 (Invalid XML; attaching Hex view):
>   1f 8b 08

Aha, that's just gzip encoded. Once decoded, the response looks sane:

http://paste.debian.net/325311

So, need the http headers as well. If the vSphere server included
"Content-Encoding: gzip" response header then the client can certainly
unpack it, whether or not an Accept-Encoding request header was given.

Martin

-- 
Juju mailing list
Juju@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju


Re: juju bootstrap fails with vSphere 6.0

2015-11-05 Thread Forstner Michael
Hi Ed,

Thanks for the hints, but to be honest I do not really get what you’re talking 
about :-)
My vSphere 6 Environment is not hosted by myself (or my company). We’re renting 
a complete package consisting of one vSphere datacenter (2 Hosts and 2 
Storages). I am controlling the vSphere datacenter from my MacBook via VMWare 
Horizon and via the vSphere Client running inside a local Windows VM.

As already mentioned, the API access to the vSphere API seems to work as 
VMWare’s go client is able to fetch information from the environment.
Since I am getting some XML parsing error from the ‘juju bootstrap’ command I 
was wondering how can I enable further debugging options in order to trace down 
the problem.

Thanks and regards,
Michael

From: ed bond <celpa.f...@gmail.com<mailto:celpa.f...@gmail.com>>
Date: Mittwoch, 4. November 2015 um 17:42
To: Katherine Cox-Buday 
<katherine.cox-bu...@canonical.com<mailto:katherine.cox-bu...@canonical.com>>
Cc: Forstner Michael <michael.forst...@cpg.de<mailto:michael.forst...@cpg.de>>, 
Matykevich Sergey 
<sergey.matykev...@altoros.com<mailto:sergey.matykev...@altoros.com>>, 
"juju@lists.ubuntu.com<mailto:juju@lists.ubuntu.com>" 
<juju@lists.ubuntu.com<mailto:juju@lists.ubuntu.com>>
Subject: Re: juju bootstrap fails with vSphere 6.0

Hey Michael,

I had to install a couple libraries on my MaaS, if you watch the logs it will 
tell you. However I use VIRSH to control my vsphere 6.
( sudo apt-get install python-libvirt )

user: Administrator@asdf.vsphere.local<mailto:Administrator@asdf.vsphere.local>
esxi host: 33.33.33.3
vsphere: 44.44.44.44

Power address:
vpx://Administrator%40asdf.vsphere.local@44.44.44.44/Architecture-Lab/33.33.33.3?no_verify=1
power ID:
name-of-vm
power pass:
thePassForTheUserAbove


I know this isn’t the vsphere adapter information, but this is how I connected.

You can test from the MaaS cli via:
virsh -c 
vpx://Administrator%40asdf.vsphere.local@44.44.44.44/Architecture-Lab/33.33.33.3?no_verify=1
 list --all


Hope this helps.

- Ed

On Nov 4, 2015, at 10:21 AM, Katherine Cox-Buday 
<katherine.cox-bu...@canonical.com<mailto:katherine.cox-bu...@canonical.com>> 
wrote:

Hey Michael, apologies for the issues!

I'm going to loop in Sergey who helped work on the vSphere provider.

On Wed, Nov 4, 2015 at 8:59 AM, Forstner Michael 
<michael.forst...@cpg.de<mailto:michael.forst...@cpg.de>> wrote:
Hi all,

I am trying to get startet with juju and VMWare vSphere 6.0 for a private Cloud 
scenario.
The ‘juju bootstrap’ command fails with following output:

Bootstrap failed, cleaning up the environment.
ERROR there was an issue examining the environment: failed to create new 
client: XML syntax error on line 1: illegal character code U+001F

Just to ensure the vSphere API is accessible and my credentials are working, 
I’ve downloaded VMWare’s go client from https://github.com/vmware/govmomi.
Running this client with same settings as in ~/.juju/environment.yml for host, 
user and password runs fine.

So my question would be if the (experimental?) support of vSphere in juju works 
with vSphere v6.0 and how can further debugging options be enabled?

Many thanks in advance,
Michael

--
Juju mailing list
Juju@lists.ubuntu.com<mailto:Juju@lists.ubuntu.com>
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju


--
Juju mailing list
Juju@lists.ubuntu.com<mailto:Juju@lists.ubuntu.com>
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju

-- 
Juju mailing list
Juju@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju


juju bootstrap fails with vSphere 6.0

2015-11-04 Thread Forstner Michael
Hi all,

I am trying to get startet with juju and VMWare vSphere 6.0 for a private Cloud 
scenario.
The ‘juju bootstrap’ command fails with following output:

Bootstrap failed, cleaning up the environment.
ERROR there was an issue examining the environment: failed to create new 
client: XML syntax error on line 1: illegal character code U+001F

Just to ensure the vSphere API is accessible and my credentials are working, 
I’ve downloaded VMWare’s go client from https://github.com/vmware/govmomi.
Running this client with same settings as in ~/.juju/environment.yml for host, 
user and password runs fine.

So my question would be if the (experimental?) support of vSphere in juju works 
with vSphere v6.0 and how can further debugging options be enabled?

Many thanks in advance,
Michael
-- 
Juju mailing list
Juju@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju


Re: juju bootstrap fails with vSphere 6.0

2015-11-04 Thread ed bond
Hey Michael,

I had to install a couple libraries on my MaaS, if you watch the logs it will 
tell you. However I use VIRSH to control my vsphere 6.
( sudo apt-get install python-libvirt )

user: Administrator@asdf.vsphere.local 
esxi host: 33.33.33.3
vsphere: 44.44.44.44

Power address:
vpx://Administrator%40asdf.vsphere.local@44.44.44.44/Architecture-Lab/33.33.33.3?no_verify=1
 

power ID:
name-of-vm
power pass:
thePassForTheUserAbove


I know this isn’t the vsphere adapter information, but this is how I connected.

You can test from the MaaS cli via:
virsh -c 
vpx://Administrator%40asdf.vsphere.local@44.44.44.44/Architecture-Lab/33.33.33.3?no_verify=1
 

 list --all


Hope this helps.

- Ed

> On Nov 4, 2015, at 10:21 AM, Katherine Cox-Buday 
>  wrote:
> 
> Hey Michael, apologies for the issues!
> 
> I'm going to loop in Sergey who helped work on the vSphere provider.
> 
> On Wed, Nov 4, 2015 at 8:59 AM, Forstner Michael  > wrote:
> Hi all,
> 
> I am trying to get startet with juju and VMWare vSphere 6.0 for a private 
> Cloud scenario.
> The ‘juju bootstrap’ command fails with following output:
> 
> Bootstrap failed, cleaning up the environment.
> ERROR there was an issue examining the environment: failed to create new 
> client: XML syntax error on line 1: illegal character code U+001F
> 
> Just to ensure the vSphere API is accessible and my credentials are working, 
> I’ve downloaded VMWare’s go client from https://github.com/vmware/govmomi 
> .
> Running this client with same settings as in ~/.juju/environment.yml for 
> host, user and password runs fine.
> 
> So my question would be if the (experimental?) support of vSphere in juju 
> works with vSphere v6.0 and how can further debugging options be enabled?
> 
> Many thanks in advance,
> Michael
> 
> --
> Juju mailing list
> Juju@lists.ubuntu.com 
> Modify settings or unsubscribe at: 
> https://lists.ubuntu.com/mailman/listinfo/juju 
> 
> 
> 
> -- 
> Juju mailing list
> Juju@lists.ubuntu.com
> Modify settings or unsubscribe at: 
> https://lists.ubuntu.com/mailman/listinfo/juju

-- 
Juju mailing list
Juju@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju