You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Animesh Chaturvedi (JIRA)" <ji...@apache.org> on 2013/07/17 07:14:49 UTC
[jira] [Resolved] (CLOUDSTACK-3559) AddSecondaryStorage Marvin
Failure
[ https://issues.apache.org/jira/browse/CLOUDSTACK-3559?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Animesh Chaturvedi resolved CLOUDSTACK-3559.
--------------------------------------------
Resolution: Fixed
> AddSecondaryStorage Marvin Failure
> ----------------------------------
>
> Key: CLOUDSTACK-3559
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-3559
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the default.)
> Components: API, Storage Controller
> Affects Versions: 4.2.0
> Environment: devcloud
> Reporter: John Burwell
> Priority: Blocker
>
> The AddSecondaryStorage API command fails due a missing provider error from the AddImageStore command. I encountered this issue by executing this Marvin configuration [1] using the following command:
> nosetests --with-marvin --marvin-config=../test/zone1.devcloud.cfg
> This command results in the following error:
> nosetests --with-marvin --marvin-config=../test/zone1.devcloud.cfg
> Traceback (most recent call last):
> File "/Users/jburwell/.virtualenvs/cloudstack/bin/nosetests", line 8, in <module>
> load_entry_point('nose==1.3.0', 'console_scripts', 'nosetests')()
> File "/Users/jburwell/.virtualenvs/cloudstack/lib/python2.7/site-packages/nose/core.py", line 118, in __init__
> **extra_args)
> File "/Users/jburwell/.homebrew/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/unittest/main.py", line 94, in __init__
> self.parseArgs(argv)
> File "/Users/jburwell/.virtualenvs/cloudstack/lib/python2.7/site-packages/nose/core.py", line 135, in parseArgs
> self.config.configure(argv, doc=self.usage())
> File "/Users/jburwell/.virtualenvs/cloudstack/lib/python2.7/site-packages/nose/config.py", line 344, in configure
> self.plugins.configure(options, self)
> File "/Users/jburwell/.virtualenvs/cloudstack/lib/python2.7/site-packages/nose/plugins/manager.py", line 284, in configure
> cfg(options, config)
> File "/Users/jburwell/.virtualenvs/cloudstack/lib/python2.7/site-packages/nose/plugins/manager.py", line 99, in __call__
> return self.call(*arg, **kw)
> File "/Users/jburwell/.virtualenvs/cloudstack/lib/python2.7/site-packages/nose/plugins/manager.py", line 167, in simple
> result = meth(*arg, **kw)
> File "/Users/jburwell/.virtualenvs/cloudstack/lib/python2.7/site-packages/marvin/marvinPlugin.py", line 68, in configure
> deploy.loadCfg() if options.load else deploy.deploy()
> File "/Users/jburwell/.virtualenvs/cloudstack/lib/python2.7/site-packages/marvin/deployDataCenter.py", line 575, in deploy
> self.createZones(self.config.zones)
> File "/Users/jburwell/.virtualenvs/cloudstack/lib/python2.7/site-packages/marvin/deployDataCenter.py", line 443, in createZones
> self.createSecondaryStorages(zone.secondaryStorages, zoneId)
> File "/Users/jburwell/.virtualenvs/cloudstack/lib/python2.7/site-packages/marvin/deployDataCenter.py", line 170, in createSecondaryStorages
> self.apiClient.addImageStore(secondarycmd)
> File "/Users/jburwell/.virtualenvs/cloudstack/lib/python2.7/site-packages/marvin/cloudstackAPI/cloudstackAPIClient.py", line 1293, in addImageStore
> response = self.connection.marvin_request(command, response_type=response, method=method)
> File "/Users/jburwell/.virtualenvs/cloudstack/lib/python2.7/site-packages/marvin/cloudstackConnection.py", line 214, in marvin_request
> cmdname, isAsync, payload = self.sanitize_command(cmd)
> File "/Users/jburwell/.virtualenvs/cloudstack/lib/python2.7/site-packages/marvin/cloudstackConnection.py", line 187, in sanitize_command
> cmdname, "%s is required" % requiredPara)
> marvin.cloudstackException.cloudstackAPIException: Execute cmd: addImageStore failed, due to: provider is required
> These tests where executed against revision bd0cfd9c0614bd7ff837bf1d0872db6935c541d6 with the latest version of Marvin installed via pip install --upgrade before executing the test.
> [1]: http://pastie.org/8145963
--
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