The stack name comes from the VF module name that you assign when scale out is triggered from VID, or CDS generates when using automated configuration. Which name are you using? I can’t see it in the logs. The Heat template is fine, the error is not there.
Marco From: <[email protected]> on behalf of Aniello Paolo Malinconico <[email protected]> Reply-To: "[email protected]" <[email protected]>, "[email protected]" <[email protected]> Date: Tuesday, July 9, 2019 at 5:59 AM To: "[email protected]" <[email protected]>, "MALAKOV, YURIY" <[email protected]>, "[email protected]" <[email protected]> Subject: Re: [onap-discuss] [Dublin] VF Module Scale Out Use Case Hi, thanks for the answer. It solves the issue. Now, the Macro instantaiton starts, but it fails when the STACK is deployed into OPENSTACK : "requestStatus": "IN_PROGRESS", "statusMessage": "Received vfModuleException from VnfAdapter: category='INTERNAL' message='Exception during create VF 400 Bad Request: The server could not comply with the request since it is either malformed or otherwise incorrect., error.type=StackValidationFailed, error.message=Invalid stack name must contain only alphanumeric or \"_-.\" characters, must start with alpha and must be 255 characters or less.' rolledBack='true'", "rollbackStatusMessage": null, "flowStatus": "Execution of ConfigAssignVnfBB has completed successfully, next invoking CreateVfModuleBB (Execution Path progress: BBs completed = 7; BBs remaining = 11).", The error is abount the Stack name that is malformed.d Here the openstack log: 2019-07-09T09:45:04.906Z|| org.onap.so.openstack.utils.MsoHeatUtils - Found: CloudSite_.._jvsta48_3c[regionId=RegionOne,identityServiceId=REGION_THREE_KEYSTONE,cloudVersion=2.5,clli=RegionOne,cloudifyId=<null>,platform=<null>,orchestrator=<null>] 2019-07-09T09:45:04.906Z|| org.onap.so.openstack.utils.MsoHeatUtils - Found: CloudIdentity[id=REGION_THREE_KEYSTONE,identityUrl=http://163.162.95.137:5000/v3,msoId=dc1,projectDomain=datacenter1,userDomain=Default,adminTenant=34f1fe41d1a0483dbd1aa94c26dc5545,memberRole=admin,tenantMetadata=<https://urldefense.proofpoint.com/v2/url?u=http-3A__163.162.95.137-3A5000_v3-2CmsoId-3Ddc1-2CprojectDomain-3Ddatacenter1-2CuserDomain-3DDefault-2CadminTenant-3D34f1fe41d1a0483dbd1aa94c26dc5545-2CmemberRole-3Dadmin-2CtenantMetadata-3D&d=DwMFaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=KgFIQiUJzSC0gUhJaQxg8eC3w16GC3sKgWIcs4iIee0&m=HEz2ZeFCg1UPb4bUx7x45Waj6oPnkbfpZCa8rDdbBAE&s=9N8b3WRn-qY0USU-3p2SVeZkNyk3GJLp0N8vu1O4P0Y&e=><null>,identityServerType=KEYSTONE_V3,identityAuthenticationType=USERNAME_PASSWORD] 2019-07-09T09:45:04.906Z|| org.onap.so.openstack.utils.MsoHeatUtils - keystoneUrl=http://163.162.95.137:5000/v3<https://urldefense.proofpoint.com/v2/url?u=http-3A__163.162.95.137-3A5000_v3&d=DwMFaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=KgFIQiUJzSC0gUhJaQxg8eC3w16GC3sKgWIcs4iIee0&m=HEz2ZeFCg1UPb4bUx7x45Waj6oPnkbfpZCa8rDdbBAE&s=CiCM8C3hk9B1dKwgmP395Vn1-Oe53lW2V1xGBA10ZXM&e=> 2019-07-09T09:45:05.071Z|| org.onap.so.openstack.utils.MsoHeatUtils - Found: com.woorea.openstack.heat.Heat@631e3393 2019-07-09T09:45:05.071Z|| org.onap.so.openstack.utils.MsoHeatUtils - Ready to Create Stack (########################################################################## # #==================LICENSE_START========================================== # # # Copyright (c) 2019 AT&T Intellectual Property. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0<https://urldefense.proofpoint.com/v2/url?u=http-3A__www.apache.org_licenses_LICENSE-2D2.0&d=DwMFaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=KgFIQiUJzSC0gUhJaQxg8eC3w16GC3sKgWIcs4iIee0&m=HEz2ZeFCg1UPb4bUx7x45Waj6oPnkbfpZCa8rDdbBAE&s=mDaBWyh504E_QwDktN26iFn7TdSAn6JUzeL0R6k0CNg&e=> # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # #==================LICENSE_END============================================ # # ECOMP is a trademark and service mark of AT&T Intellectual Property. # ########################################################################## heat_template_version: 2013-05-23 description: Heat template that deploys common resources ############## # # # PARAMETERS # # # ############## parameters: vlb_private_net_id: type: string label: vLoadBalancer private network name or ID description: Private network that connects vLoadBalancer with vDNSs pktgen_private_net_id: type: string label: vPacketGen private network name or ID description: Private network that connects vLoadBalancer with vPacketGen vlb_private_net_cidr: type: string label: vLoadBalancer private network CIDR description: The CIDR of the vLoadBalancer private network pktgen_private_net_cidr: type: string label: vPacketGen private network CIDR description: The CIDR of the vPacketGen private network vnf_id: type: string label: VNF ID description: The VNF ID is provided by ONAP vnf_name: type: string label: VNF NAME description: The VNF NAME is provided by ONAP vlb_0_int_pktgen_private_port_0_mac: type: string label: vLB MAC address description: MAC address of the vLB used by the vPacketGen VM vpg_0_int_pktgen_private_port_0_mac: type: string label: vPacketGen MAC address description: MAC address of the vPacketGen used by the vLB VM key_name: type: string label: Key pair name description: Public/Private key pair name pub_key: type: string label: Public key description: Public key to be installed on the compute instance ############# # # # RESOURCES # # # ############# resources: random-str_0: type: OS::Heat::RandomString properties: length: 4 my_keypair_0: type: OS::Nova::KeyPair properties: name: str_replace: template: vnfname_base_rand params: base: { get_param: key_name } rand: { get_resource: random-str_0 } vnfname: { get_param: vnf_name } public_key: { get_param: pub_key } save_private_key: false # NETWORK_ROLE: private int_private_network: type: OS::Neutron::Net properties: name: str_replace: template: vnfname_privatenetid params: privatenetid: { get_param: vlb_private_net_id } vnfname: { get_param: vnf_name } # NETWORK_ROLE: private int_private_subnet_0: type: OS::Neutron::Subnet properties: name: str_replace: template: vnfname_privatenetid_subnet params: privatenetid: { get_param: vlb_private_net_id } vnfname: { get_param: vnf_name } network: { get_resource: int_private_network } cidr: { get_param: vlb_private_net_cidr } # NETWORK_ROLE: pktgen_private int_pktgen_private_network: type: OS::Neutron::Net properties: name: str_replace: template: vnfname_privatenetid params: privatenetid: { get_param: pktgen_private_net_id } vnfname: { get_param: vnf_name } # NETWORK_ROLE: pktgen_private int_pktgen_private_subnet_0: type: OS::Neutron::Subnet properties: name: str_replace: template: vnfname_privatenetid_subnet params: privatenetid: { get_param: pktgen_private_net_id } vnfname: { get_param: vnf_name } network: { get_resource: int_pktgen_private_network } cidr: { get_param: pktgen_private_net_cidr } outputs: int_private_subnet_id: value: { get_resource: int_private_subnet_0 } int_private_net_id: value: { get_resource: int_private_network } int_pktgen_private_subnet_id: value: { get_resource: int_pktgen_private_subnet_0 } int_pktgen_private_net_id: value: { get_resource: int_pktgen_private_network } keypair: value: { get_resource: my_keypair_0 } vnf_id: value: { get_param: vnf_id } vnf_name: value: { get_param: vnf_name } vlb_0_mac_address: value: { get_param: vlb_0_int_pktgen_private_port_0_mac } vpg_0_mac_address: value: { get_param: vpg_0_int_pktgen_private_port_0_mac }) with input params: {pktgen_private_net_cidr=192.168.20.0/24<https://urldefense.proofpoint.com/v2/url?u=http-3A__192.168.20.0_24&d=DwMFaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=KgFIQiUJzSC0gUhJaQxg8eC3w16GC3sKgWIcs4iIee0&m=HEz2ZeFCg1UPb4bUx7x45Waj6oPnkbfpZCa8rDdbBAE&s=T_x4oaG45bFR-W-SwqyEiog77qDUdlgTEYvTChZBl7s&e=>, key_name=olc-key, vlb_private_net_cidr=192.168.10.0/24<https://urldefense.proofpoint.com/v2/url?u=http-3A__192.168.10.0_24&d=DwMFaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=KgFIQiUJzSC0gUhJaQxg8eC3w16GC3sKgWIcs4iIee0&m=HEz2ZeFCg1UPb4bUx7x45Waj6oPnkbfpZCa8rDdbBAE&s=fa2UxavlJgsDwszsbYSWE2rjn2PLUFhrEByWSQvq0NI&e=>, vnf_id=532aea4a-0bb9-44ec-96f8-37ebc176697b, vpg_0_int_pktgen_private_port_0_mac=fa:16:3e:00:00:20, pktgen_private_net_id=private2, vlb_private_net_id=private1, vnf_name=RegionOne_ONAP-NF_20190709T093939082Z, vlb_0_int_pktgen_private_port_0_mac=fa:16:3e:00:00:10, pub_key=ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCwj7uJMyKiP1ogEsZv5kKDFw9mFNhxI+woR3Tuv8vjfNnqdB1GfSnvTFyNbdpyNdR8BlljkiZ1SlwJLEkvPk0HpOoSVVek/QmBeGC7mxyRcpMB2cNQwjXGfsVrforddXOnOkj+zx1aNdVGMc52Js3pex8B/L00H68kOcwP26BI1o77Uh+AxjOkIEGs+wlWNUmXabLDCH8l8IJk9mCTruKEN9KNj4NRZcaNC+XOz42SyHV9RT3N6efp31FqKzo8Ko63QirvKEEBSOAf9VlJ7mFMrGIGH37AP3JJfFYEHDdOA3N64ZpJLa39y25EWwGZNlWpO/GW5bNjTME04dl4eRyd} 2019-07-09T09:45:05.290Z|| org.onap.so.openstack.utils.MsoCommonUtils - Config values RetryDelay:5 RetryCount:3 RetryCodes:504 ResponseCode:400 2019-07-09T09:45:05.290Z|| org.onap.so.openstack.utils.MsoHeatUtils - ERROR STATUS = 400, Bad Request Bad Request 2019-07-09T09:45:05.290Z|| org.onap.so.openstack.utils.MsoCommonUtils - RA_CONNECTION_EXCEPTION 300 Exception - Openstack Error on CreateStack : Explanation [ code='400', title='Bad Request', explanation='The server could not comply with the request since it is either malformed or otherwise incorrect.', Error [type='StackValidationFailed', message='Invalid stack name must contain only alphanumeric or "_-." characters, must start with alpha and must be 255 characters or less.' ] ] 2019-07-09T09:45:05.290Z|| org.onap.so.openstack.utils.MsoCommonUtils - The server could not comply with the request since it is either malformed or otherwise incorrect., error.type=StackValidationFailed, error.message=Invalid stack name must contain only alphanumeric or "_-." characters, must start with alpha and must be 255 characters or less. 2019-07-09T09:45:05.290Z|| org.onap.so.adapters.vnf.MsoVnfAdapterImpl - RA_CREATE_VNF_ERR svc_20190708/null::VdnsloadbalancerCds..base_template..module-0 CloudOwner RegionOne 34f1fe41d1a0483dbd1aa94c26dc5545 OpenStack 300 MsoException - createStack org.onap.so.openstack.exceptions.MsoOpenstackException: The server could not comply with the request since it is either malformed or otherwise incorrect., error.type=StackValidationFailed, error.message=Invalid stack name must contain only alphanumeric or "_-." characters, must start with alpha and must be 255 characters or less. at org.onap.so.openstack.utils.MsoCommonUtils.heatExceptionToMsoException(MsoCommonUtils.java:202) at org.onap.so.openstack.utils.MsoHeatUtils.createStack(MsoHeatUtils.java:251) at org.onap.so.adapters.vnf.MsoVnfAdapterImpl.createVfModule(MsoVnfAdapterImpl.java:1218) at org.onap.so.adapters.vnf.MsoVnfAdapterImpl$$FastClassBySpringCGLIB$$8b1f101c.invoke(<generated>) at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:746) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:294) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:185) at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:688) at org.onap.so.adapters.vnf.MsoVnfAdapterImpl$$EnhancerBySpringCGLIB$$13694f70.createVfModule(<generated>) at org.onap.so.adapters.vnf.VnfAdapterRest$CreateVfModuleTask.run(VnfAdapterRest.java:362) at java.lang.Thread.run(Thread.java:748) 2019-07-09T09:45:05.290Z|| org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Create VF Module svc_20190708/null::VdnsloadbalancerCds..base_template..module-0 in CloudOwner/RegionOne/34f1fe41d1a0483dbd1aa94c26dc5545: 400 Bad Request: The server could not comply with the request since it is either malformed or otherwise incorrect., error.type=StackValidationFailed, error.message=Invalid stack name must contain only alphanumeric or "_-." characters, must start with alpha and must be 255 characters or less. 2019-07-09T09:45:05.290Z|| org.onap.so.adapters.vnf.MsoVnfAdapterImpl - unhandled exception in create VF org.onap.so.adapters.vnf.exceptions.VnfException: 400 Bad Request: The server could not comply with the request since it is either malformed or otherwise incorrect., error.type=StackValidationFailed, error.message=Invalid stack name must contain only alphanumeric or "_-." characters, must start with alpha and must be 255 characters or less. at org.onap.so.adapters.vnf.MsoVnfAdapterImpl.createVfModule(MsoVnfAdapterImpl.java:1244) at org.onap.so.adapters.vnf.MsoVnfAdapterImpl$$FastClassBySpringCGLIB$$8b1f101c.invoke(<generated>) at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:746) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:294) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:185) at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:688) at org.onap.so.adapters.vnf.MsoVnfAdapterImpl$$EnhancerBySpringCGLIB$$13694f70.createVfModule(<generated>) at org.onap.so.adapters.vnf.VnfAdapterRest$CreateVfModuleTask.run(VnfAdapterRest.java:362) at java.lang.Thread.run(Thread.java:748) Caused by: org.onap.so.openstack.exceptions.MsoOpenstackException: The server could not comply with the request since it is either malformed or otherwise incorrect., error.type=StackValidationFailed, error.message=Invalid stack name must contain only alphanumeric or "_-." characters, must start with alpha and must be 255 characters or less. at org.onap.so.openstack.utils.MsoCommonUtils.heatExceptionToMsoException(MsoCommonUtils.java:202) at org.onap.so.openstack.utils.MsoHeatUtils.createStack(MsoHeatUtils.java:251) at org.onap.so.adapters.vnf.MsoVnfAdapterImpl.createVfModule(MsoVnfAdapterImpl.java:1218) ... 11 common frames omitted Is there any workaround to go on? Thanks, Aniello Paolo Malinconico -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#17926): https://lists.onap.org/g/onap-discuss/message/17926 Mute This Topic: https://lists.onap.org/mt/32390603/21656 Group Owner: [email protected] Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
