Hi,

I was running into something similar and I think it is a little more complex 
(still investigating but think I’m close to the root of the problem)

I think the parsing in the deploy.sh is a tiny bit off and it is been confused 
by the sniro-emulator as the “–“ isn’t in the word definition.

I think if you enable the sniro-emulator
    enabled : true

then it won’t mess up the sdnc.

I’m going to write a bug on it ASAP.


Or in the file
~/.helm/plugins/deploy/deploy.sh

Change the line
local s='[[:space:]]*' w='[a-zA-Z0-9_]*' fs=$(echo @|tr @ '\034')

to

local s='[[:space:]]*' w='[a-zA-Z0-9_-]*' fs=$(echo @|tr @ '\034')

Please note : I haven’t tested this a lot

/Andrew

From: onap-discuss@lists.onap.org <onap-discuss@lists.onap.org> On Behalf Of 
Brian
Sent: 01 October 2018 22:10
To: onap-discuss@lists.onap.org; georgehcl...@gmail.com
Subject: Re: [onap-discuss] [OOM] SDNC is not installing when installing a 
subset of ONAP in Rancher/Kubernetes

For SDNC you need something like this (from integration-override.yaml):
Remember the default is enabled: true so I think the issue is its not liking 
the mysql section vs the enableClustering: true/false

Brian

sdnc:
  replicaCount: 3
  config:
    enableClustering: true

or

sdnc:
  replicaCount: 1
  config:
    enableClustering: false

From: onap-discuss@lists.onap.org<mailto:onap-discuss@lists.onap.org> 
<onap-discuss@lists.onap.org<mailto:onap-discuss@lists.onap.org>> On Behalf Of 
George Clapp
Sent: Monday, October 01, 2018 4:49 PM
To: onap-discuss@lists.onap.org<mailto:onap-discuss@lists.onap.org>
Subject: Re: [onap-discuss] [OOM] SDNC is not installing when installing a 
subset of ONAP in Rancher/Kubernetes

Thanks much!  Here it is.

# Copyright © 2017 Amdocs, Bell Canada
#
# 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=DwQFaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=e3d1ehx3DI5AoMgDmi2Fzw&m=-CGTkpgOLoeP83ahczyUwDnV1SZvaqqijO7GYGSC3iQ&s=rhnh6ybCMmI22alydQpKEtr4xdnarzLHBE2ogFI9Yjc&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.

#################################################################
# Global configuration overrides.
#
# These overrides will affect all helm charts (ie. applications)
# that are listed below and are 'enabled'.
#################################################################
global:
  # Change to an unused port prefix range to prevent port conflicts
  # with other instances running within the same k8s cluster
  nodePortPrefix: 302
  nodePortPrefixExt: 304

  # ONAP Repository
  # Uncomment the following to enable the use of a single docker
  # repository but ONLY if your repository mirrors all ONAP
  # docker images. This includes all images from dockerhub and
  # any other repository that hosts images for ONAP components.
  #repository: nexus3.onap.org:10001
  repositoryCred:
    user: docker
    password: docker

  # readiness check - temporary repo until images migrated to nexus3
  readinessRepository: oomk8s
  # logging agent - temporary repo until images migrated to nexus3
  loggingRepository: docker.elastic.co

  # image pull policy
  pullPolicy: Always

  # default mount path root directory referenced
  # by persistent volumes and log files
  persistence:
    mountPath: /dockerdata-nfs

  # flag to enable debugging - application support required
  debugEnabled: false

  # override default resource limit flavor for all charts
  flavor: unlimited

# Repository for creation of nexus3.onap.org secret
repository: nexus3.onap.org:10001


#################################################################
# Enable/disable and configure helm charts (ie. applications)
# to customize the ONAP deployment.
#################################################################
aaf:
  enabled: false
aai:
  enabled: true
appc:
  enabled: false
  config:
    openStackType: OpenStackProvider
    openStackName: OpenStack
    openStackKeyStoneUrl: http://localhost:8181/apidoc/explorer/index.html
    openStackServiceTenantName: default
    openStackDomain: default
    openStackUserName: admin
    openStackEncryptedPassword: admin
clamp:
  enabled: false
cli:
  enabled: false
consul:
  enabled: false
contrib:
  enabled: false
dcaegen2:
  enabled: false
  pnda:
    enabled: false
dmaap:
  enabled: true
esr:
  enabled: false
log:
  enabled: true
sniro-emulator:
  enabled: false
oof:
  enabled: true
msb:
  enabled: false
multicloud:
  enabled: false
nbi:
  enabled: false
  config:
    # openstack configuration
    openStackRegion: "Yolo"
    openStackVNFTenantId: "1234"
policy:
  enabled: true
pomba:
  enabled: false
portal:
  enabled: false
robot:
  enabled: false
  config:
# openStackEncryptedPasswordHere should match the encrypted string used in SO 
and APPC and overridden per environment
    openStackEncryptedPasswordHere: "c124921a3a0efbe579782cde8227681e"
sdc:
  enabled: true
sdnc:
  enabled: true

  replicaCount: 1

  mysql:
    replicaCount: 1
so:
  enabled: false

  replicaCount: 1

  liveness:
    # necessary to disable liveness probe when setting breakpoints
    # in debugger so K8s doesn't restart unresponsive container
    enabled: true

  # so server configuration
  config:
    # message router configuration
    dmaapTopic: "AUTO"
    # openstack configuration
    openStackUserName: "vnf_user"
    openStackRegion: "RegionOne"
    openStackKeyStoneUrl: 
"http://1.2.3.4:5000<https://urldefense.proofpoint.com/v2/url?u=http-3A__1.2.3.4-3A5000&d=DwQFaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=e3d1ehx3DI5AoMgDmi2Fzw&m=-CGTkpgOLoeP83ahczyUwDnV1SZvaqqijO7GYGSC3iQ&s=oA6GGJ2RQGvl2yfAzvGOc6wkrRTm0SW4MZ2qDK18DTM&e=>"
    openStackServiceTenantName: "service"
    openStackEncryptedPasswordHere: "c124921a3a0efbe579782cde8227681e"

  # configure embedded mariadb
  mariadb:
    config:
      mariadbRootPassword: password
uui:
  enabled: false
vfc:
  enabled: false
vid:
  enabled: false
vnfsdk:
  enabled: false



-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#12786): https://lists.onap.org/g/onap-discuss/message/12786
Mute This Topic: https://lists.onap.org/mt/26508343/21656
Group Owner: onap-discuss+ow...@lists.onap.org
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to