Great to see you  make progress. I have reviewed the issue and found out the 
problem.

The issue is with the population of the vf module name  in A&AI. So is 
currently retrieving null because SDNC is not populating the vf module name as 
part of the AI&I updates.

SDNC in Dublin release is using the vf_module_name param to update the aai data 
with stack name however the current CBA package is using vf-module-name which 
is a change we made in master for el alto.

I have provide an update CBA and Data Dictionary.

Can you onboard these two artifacts and retry.

NOTE: Please onbaord your CBA using CDS UI Deploy button.


[cid:[email protected]]

Yuriy Malakov
SDN-CP Lead Engineer
732-420-3030, Q-Chat<qto://talk/ym9479>
[email protected]<mailto:[email protected]>

From: Aniello Paolo Malinconico <[email protected]>
Sent: Tuesday, July 09, 2019 5:59 AM
To: [email protected]; MALAKOV, YURIY <[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=4IIOMdJjMRUSnNTEG5jeUQ&m=Aanhgpe-LDgjhlDoo1srmhQ0nEYOgxIr1863yVXXpwE&s=iwRLAaeu_Ldydk4R3OM-P1njJgg-7VAo5-TciW_TIjM&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=4IIOMdJjMRUSnNTEG5jeUQ&m=Aanhgpe-LDgjhlDoo1srmhQ0nEYOgxIr1863yVXXpwE&s=zG9HaMXxxmhGxVGWryCZStJtcGXatK6WaCb55Rbzl2o&e=>
2019-07-09T09:45:05.071Z|| org.onap.so.openstack.utils.MsoHeatUtils - Found: 
com.woorea.openstack.heat.Heat@631e3393<mailto: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=4IIOMdJjMRUSnNTEG5jeUQ&m=Aanhgpe-LDgjhlDoo1srmhQ0nEYOgxIr1863yVXXpwE&s=CLyYv-p5ppEr9EFfOJsCO1dbLDkusCUXQCfTVCTLpRo&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=4IIOMdJjMRUSnNTEG5jeUQ&m=Aanhgpe-LDgjhlDoo1srmhQ0nEYOgxIr1863yVXXpwE&s=0dqexVZoFDcp1UInHVBgWxyP1V7ELM3PrlkK9_hiJ3E&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=4IIOMdJjMRUSnNTEG5jeUQ&m=Aanhgpe-LDgjhlDoo1srmhQ0nEYOgxIr1863yVXXpwE&s=f5HxJRZ99rhtdyv9EknUPxulCARY2EmuXTyC4xocrO8&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 (#17924): https://lists.onap.org/g/onap-discuss/message/17924
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]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to