Return-Path: X-Original-To: apmail-cloudstack-issues-archive@www.apache.org Delivered-To: apmail-cloudstack-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id AA5BDF7DF for ; Wed, 17 Jul 2013 05:14:50 +0000 (UTC) Received: (qmail 83879 invoked by uid 500); 17 Jul 2013 05:14:50 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 83767 invoked by uid 500); 17 Jul 2013 05:14:50 -0000 Mailing-List: contact issues-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list issues@cloudstack.apache.org Received: (qmail 83585 invoked by uid 500); 17 Jul 2013 05:14:49 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 83473 invoked by uid 99); 17 Jul 2013 05:14:49 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Jul 2013 05:14:49 +0000 Date: Wed, 17 Jul 2013 05:14:49 +0000 (UTC) From: "Animesh Chaturvedi (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (CLOUDSTACK-3559) AddSecondaryStorage Marvin Failure MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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 > 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