cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rohit Yadav <rohit.ya...@shapeblue.com>
Subject Re: Marvin Error
Date Tue, 28 Apr 2015 12:24:46 GMT
Hi Ian,

Turns out this is an environment issue, the attribute maybe only available with ssl module
of Python 2.7+ and not all 2.x ones. I’ve fixed it on master now.

> On 28-Apr-2015, at 12:29 pm, Ian Southam <ISoutham@schubergphilis.com> wrote:
>
> Hi,
>
> Latest Marvin build has an error in it.  Has anyone already worked out the cause before
I put work into it?  Common.py will not load because of an unresolved symbol in vcenter.py
>
> Traceback (most recent call last):
>  File "/cloudstack/cloudstack/test/integration/smoke/misc/test_deploy_vm.py", line 33,
in <module>
>    from marvin.lib.common import get_zone, get_domain, get_template
>  File "/cloudstack/test/venv/lib/python2.7/site-packages/marvin/lib/common.py", line
91, in <module>
>    from marvin.lib.vcenter import Vcenter
>  File "/cloudstack/test/venv/lib/python2.7/site-packages/marvin/lib/vcenter.py", line
22, in <module>
>    ssl._create_default_https_context = ssl._create_unverified_context
> AttributeError: 'module' object has no attribute ‘_create_unverified_context'
>
> —
> Grts!
> Ian

Regards,
Rohit Yadav
Software Architect, ShapeBlue
M. +91 88 262 30892 | rohit.yadav@shapeblue.com
Blog: bhaisaab.org | Twitter: @_bhaisaab



Find out more about ShapeBlue and our range of CloudStack related services

IaaS Cloud Design & Build<http://shapeblue.com/iaas-cloud-design-and-build//>
CSForge – rapid IaaS deployment framework<http://shapeblue.com/csforge/>
CloudStack Consulting<http://shapeblue.com/cloudstack-consultancy/>
CloudStack Software Engineering<http://shapeblue.com/cloudstack-software-engineering/>
CloudStack Infrastructure Support<http://shapeblue.com/cloudstack-infrastructure-support/>
CloudStack Bootcamp Training Courses<http://shapeblue.com/cloudstack-training/>

This email and any attachments to it may be confidential and are intended solely for the use
of the individual to whom it is addressed. Any views or opinions expressed are solely those
of the author and do not necessarily represent those of Shape Blue Ltd or related companies.
If you are not the intended recipient of this email, you must neither take any action based
upon its contents, nor copy or show it to anyone. Please contact the sender if you believe
you have received this email in error. Shape Blue Ltd is a company incorporated in England
& Wales. ShapeBlue Services India LLP is a company incorporated in India and is operated
under license from Shape Blue Ltd. Shape Blue Brasil Consultoria Ltda is a company incorporated
in Brasil and is operated under license from Shape Blue Ltd. ShapeBlue SA Pty Ltd is a company
registered by The Republic of South Africa and is traded under license from Shape Blue Ltd.
ShapeBlue is a registered trademark.
Mime
View raw message