[
https://issues.apache.org/jira/browse/CLOUDSTACK-3829?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13731654#comment-13731654
]
Prasanna Santhanam commented on CLOUDSTACK-3829:
------------------------------------------------
[~yasker] [~girishs] I believe the test is about adding a VM to a shared
network outside the VPC. So the VM is part of vpc as well as a shared network
available in the deployment. The shared ntwk itself is not part of the VPC.
See
http://mail-archives.apache.org/mod_mbox/cloudstack-dev/201306.mbox/%3ccddb5586.19111%[email protected]%3E
> [Automation] test_vpc_vm_life_cycle.py: TestVMLifeCycleSharedNwVPC failed
> during create network command
> --------------------------------------------------------------------------------------------------------
>
> Key: CLOUDSTACK-3829
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-3829
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Components: Automation, Test
> Affects Versions: 4.2.0
> Environment: Automation
> Reporter: Rayees Namathponnan
> Assignee: Girish Shilamkar
> Priority: Critical
> Fix For: 4.2.0
>
>
> test_vpc_vm_life_cycle.py: TestVMLifeCycleSharedNwVPC failed during create
> network command
> Observed below error in log
> Error Message
> Execute cmd: createnetwork failed, due to: errorCode: 431, errorText:Network
> offering can't be used for VPC networks
> Stacktrace
> Traceback (most recent call last):
> File "/usr/local/lib/python2.7/site-packages/nose/suite.py", line 208, in
> run
> self.setUp()
> File "/usr/local/lib/python2.7/site-packages/nose/suite.py", line 291, in
> setUp
> self.setupContext(ancestor)
> File "/usr/local/lib/python2.7/site-packages/nose/suite.py", line 314, in
> setupContext
> try_run(context, names)
> File "/usr/local/lib/python2.7/site-packages/nose/util.py", line 469, in
> try_run
> return func()
> File
> "/Repo_30X/ipcl/cloudstack/test/integration/component/test_vpc_vm_life_cycle.py",
> line 978, in setUpClass
> vpcid=cls.vpc.id
> File
> "/usr/local/lib/python2.7/site-packages/marvin/integration/lib/base.py", line
> 1880, in create
> return Network(apiclient.createNetwork(cmd).__dict__)
> File
> "/usr/local/lib/python2.7/site-packages/marvin/cloudstackAPI/cloudstackAPIClient.py",
> line 1689, in createNetwork
> response = self.connection.marvin_request(command,
> response_type=response, method=method)
> File
> "/usr/local/lib/python2.7/site-packages/marvin/cloudstackConnection.py", line
> 222, in marvin_request
> response = jsonHelper.getResultObj(response.json(), response_type)
> File "/usr/local/lib/python2.7/site-packages/marvin/jsonHelper.py", line
> 148, in getResultObj
> raise cloudstackException.cloudstackAPIException(respname, errMsg)
> cloudstackAPIException: Execute cmd: createnetwork failed, due to: errorCode:
> 431, errorText:Network offering can't be used for VPC networks
--
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