Hi Vijay,
I have a friend who may have a solution, though I have not been able to
test. You can try
add the below into the file: /usr/lib/python2.7/site-
packages/pyVim/connect.py
try:
if sslContext is not None and sslContext.verify_mode == ssl.CERT_NONE:
sock = requests.get(url, verify=False)
e
Hi Kamil,
I am facing the similar issue related to certificate. :( do you know the
solution ?
Thanks,
Vijay
On Wednesday, March 16, 2016 at 5:49:26 AM UTC-7, Kamil Szczygieł wrote:
>
> I had the same thing on my mind this morning, but I'm not certain if this
> is a pyvmomi issue.
>
> Kamil
>
>
Hi Jonathan,
I was so happy to see this post. I have struggled almost a day for this
but could not rersolve this.
did you have any luck on this issue...
Thanks,
Vijay
On Wednesday, March 16, 2016 at 5:10:02 AM UTC-7, Jonathan Frappier wrote:
>
> Thanks, look forward to testing. As I sit here n
In any case, thank you so much for looking into it. I'll keep an eye on the
PR to see when it is merged.
On Wed, Mar 16, 2016 at 8:49 AM, wrote:
> I had the same thing on my mind this morning, but I'm not certain if this
> is a pyvmomi issue.
>
> Kamil
>
> On Wednesday, March 16, 2016 at 1:10:02
I had the same thing on my mind this morning, but I'm not certain if this
is a pyvmomi issue.
Kamil
On Wednesday, March 16, 2016 at 1:10:02 PM UTC+1, Jonathan Frappier wrote:
>
> Thanks, look forward to testing. As I sit here now, I also wonder if this
> is a pyVmomi specific issue...
> On Mar
If you'd like to try it out ASAP, my fork is up to date with ansible main
devel.
Kamil
On Wednesday, March 16, 2016 at 2:01:49 PM UTC+1, Jonathan Frappier wrote:
>
> In any case, thank you so much for looking into it. I'll keep an eye on
> the PR to see when it is merged.
>
> On Wed, Mar 16, 20
Thanks, look forward to testing. As I sit here now, I also wonder if this
is a pyVmomi specific issue...
On Mar 16, 2016 4:38 AM, wrote:
> I've created PR with a small fix (
> https://github.com/ansible/ansible/pull/14988) that I've tested with
> Ubuntu 15.10/14.04 and Python 2.7.11. This should
I've created PR with a small fix
(https://github.com/ansible/ansible/pull/14988) that I've tested with
Ubuntu 15.10/14.04 and Python 2.7.11. This should resolve the issue with
Python > 2.7.9. I"m not sure about older python, since it shouldn't
validate certificates in a first place.
Kamil
On
I've tested it with the same configuration and I can confirm it's not
working. I'll try to fix it until the end of week.
On Saturday, March 5, 2016 at 10:52:46 PM UTC+1, Vinson Xing wrote:
>
> I installed the ansible from devel branch, I got the same issue even set
> validate_certs to false.
>
Thanks for the tips Julian! Hoping to show this off at work without any
hacks. Don't want it to come off as glitchy and unsupportable
On Mar 10, 2016 6:08 PM, "Julian Barnett" wrote:
> I've been struggling with these SSL CERTIFICATE_VERIFY_ISSUES also. I
> can't get validate_certs: false to work,
I've been struggling with these SSL CERTIFICATE_VERIFY_ISSUES also. I can't
get validate_certs: false to work, I've even downloaded the unsigned cert,
converted it to PEM and added it to /usr/local/etc/openssl/certs and run /
usr/local/opt/openssl/bin/c_rehash to no avail. Something is definitely
So it appears this is still an issue? Would be awesome to get this fixed in
the GA release so we can proceed with testing out the modules w/out hacks.
Also not assuming that every environment uses self-signed certs should have
been considered initially
On Saturday, March 5, 2016 at 5:06:17
I'll add that I also tried on Ubuntu 15.04 w Python 2.7.10
On Mar 5, 2016 4:52 PM, "Vinson Xing" wrote:
> I installed the ansible from devel branch, I got the same issue even set
> validate_certs to false.
> My test environment:
>
> Ubuntu: 14.04
> Python: 2.7.6
> vSphere 5.5
>
> --
> You receive
I installed the ansible from devel branch, I got the same issue even set
validate_certs to false.
My test environment:
Ubuntu: 14.04
Python: 2.7.6
vSphere 5.5
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group an
So I've tried with two different environments, one vSphere 6, one with 5.5
and it does't seem to work. Always comes back with [SSL:
CERTIFICATE_VERIFY_FAILED] even when set to false
On Mon, Feb 15, 2016 at 12:31 PM, jonathan frappier <
jonathan.frapp...@gmail.com> wrote:
> Thanks! Really apprecia
Thanks! Really appreciate it, I'll poke at my local environment more.
On Feb 15, 2016 12:20 PM, wrote:
> I've copied the playbook you've pasted, modified credentials and it works.
>
> ---
> - hosts: localhost
> tasks:
> - name: Add ESXi host to vCenter
> local_action:
> module
I've copied the playbook you've pasted, modified credentials and it works.
---
- hosts: localhost
tasks:
- name: Add ESXi host to vCenter
local_action:
module: vmware_host
hostname: ip
username: administrator@vsphere.local
password:
datacent
With VMware_host or another module?
On Feb 15, 2016 12:16 PM, wrote:
> I've just cloned and installed from devel - works for me.
>
> On Monday, February 15, 2016 at 6:09:02 PM UTC+1, Jonathan Frappier wrote:
>>
>> Curious if anyone else has had luck with this in devel? I get
>> "unsupported param
I've just cloned and installed from devel - works for me.
On Monday, February 15, 2016 at 6:09:02 PM UTC+1, Jonathan Frappier wrote:
>
> Curious if anyone else has had luck with this in devel? I get "unsupported
> parameter for module: validate_certs"
>
>- name: Add ESXi host to vCenter
>
Curious if anyone else has had luck with this in devel? I get "unsupported
parameter for module: validate_certs"
- name: Add ESXi host to vCenter
local_action:
module: vmware_host
hostname: "{{ vcenter }}"
username: administrator@vsphere.local
password:
My PR for validate_certs was merged to the master branch
(https://github.com/ansible/ansible/pull/14261). I suggest using devel, as
it's already reviewed and merged (add validate_certs=false as param for the
module you're using)
On Monday, February 15, 2016 at 5:49:18 PM UTC+1, Jonathan Frappie
Where do you suggest adding validate_certs=false? It wasn't obvious to me
On Wednesday, January 27, 2016 at 3:23:42 PM UTC-5, kamil.s...@intel.com
wrote:
>
> I've added skip_ssl argument to module_utils/vmware.py. Perhaps that's not
> the best implementation...
>
> https://github.com/kamsz/ansib
Where do you suggest adding validate_certs=false?
On Wednesday, January 27, 2016 at 3:23:42 PM UTC-5, kamil.s...@intel.com
wrote:
>
> I've added skip_ssl argument to module_utils/vmware.py. Perhaps that's not
> the best implementation...
>
> https://github.com/kamsz/ansible
>
> On Wednesday, Jan
I've added skip_ssl argument to module_utils/vmware.py. Perhaps that's not
the best implementation...
https://github.com/kamsz/ansible
On Wednesday, January 13, 2016 at 6:54:29 PM UTC+1, Larry Smith wrote:
>
> Just getting started messing with these new 2.0 VMWare modules and seem to
> be stuck
I've added skip_ssl argument in module_utils/vmware.py, perhaps that's not
the best implementation of this.
https://github.com/kamsz/ansible
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving e
25 matches
Mail list logo