You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@libcloud.apache.org by "Michel Samia (JIRA)" <ji...@apache.org> on 2013/04/19 12:49:16 UTC
[dev] [jira] [Commented] (LIBCLOUD-318) Add ability to manipulate with
vApp metadata in vCloud
[ https://issues.apache.org/jira/browse/LIBCLOUD-318?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13636253#comment-13636253 ]
Michel Samia commented on LIBCLOUD-318:
---------------------------------------
Please test the patch with tox. For me ox worked well only with py2.6, although python 3.3 was in path. The test runner crashed on 3.1 and 3.3 with this message:
??
py33 inst-nodeps: /home/nsbuild/libcloud/.tox/dist/apache-libcloud-0.12.0-dev.zip
py33 runtests: commands[0]
running test
Traceback (most recent call last):
File "setup.py", line 265, in <module>
'Programming Language :: Python :: Implementation :: PyPy'])
File "/home/nsbuild/local/lib/python3.3/distutils/core.py", line 148, in setup
dist.run_commands()
File "/home/nsbuild/local/lib/python3.3/distutils/dist.py", line 917, in run_commands
self.run_command(cmd)
File "/home/nsbuild/local/lib/python3.3/distutils/dist.py", line 936, in run_command
cmd_obj.run()
File "setup.py", line 88, in run
status = self._run_tests()
File "setup.py", line 143, in _run_tests
tests = TestLoader().loadTestsFromNames(testfiles)
File "/home/nsbuild/local/lib/python3.3/unittest/loader.py", line 137, in loadTestsFromNames
suites = [self.loadTestsFromName(name, module) for name in names]
File "/home/nsbuild/local/lib/python3.3/unittest/loader.py", line 137, in <listcomp>
suites = [self.loadTestsFromName(name, module) for name in names]
File "/home/nsbuild/local/lib/python3.3/unittest/loader.py", line 105, in loadTestsFromName
parent, obj = obj, getattr(obj, part)
AttributeError: 'module' object has no attribute 'test_local'
ERROR: InvocationError: '/home/nsbuild/libcloud/.tox/py33/bin/python setup.py test'
??
> Add ability to manipulate with vApp metadata in vCloud
> ------------------------------------------------------
>
> Key: LIBCLOUD-318
> URL: https://issues.apache.org/jira/browse/LIBCLOUD-318
> Project: Libcloud
> Issue Type: New Feature
> Components: Compute
> Affects Versions: 0.12.3
> Reporter: Michel Samia
> Labels: metadata, vcloud
> Attachments: LIBCLOUD-metadata.patch
>
> Original Estimate: 24h
> Remaining Estimate: 24h
>
> vCloud 5.1 RESTful api supports reading and updating metadata of vApps. You can save there key:value pairs and you can also specify type of the value. It is practical for example for saving/reading owner of given vApp. I have implemented two methods in vCloud driver, one for getting all metadata of given vApp and one for setting value for given vApp and key. It currently supports only string value type (we don't need typechecking there). I will attach the patch soon.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira