[
https://issues.apache.org/jira/browse/CLOUDSTACK-3829?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13731176#comment-13731176
]
Sheng Yang commented on CLOUDSTACK-3829:
----------------------------------------
I don't think shared network can be created in VPC.
> [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