SUMMARY
When deploying ONAP sub charts doen't show up as been deployed even though the k8s components are installed. This means they cannot be upgraded and the ONAPis essentially unmaintainable.
The problem is that errors simalar to the one below show up in the tillar pod
[storage] 2020/08/07 12:44:37 creating release "dev-portal.v1"
[storage/driver] 2020/08/07 12:44:37 create: failed to create: ConfigMap "dev-portal.v1" is invalid: []: Too long: must have at most 1048576 characters
[tiller] 2020/08/07 12:44:37 warning: Failed to record release dev-portal: ConfigMap "dev-portal.v1" is invalid: []: Too long: must have at most 1048576 characters
This stops the helm data been updated so the deployment can't be managed.
The problem is that the cert data in
https://git.onap.org/oom/tree/kubernetes/common/certInitializer/resources
is been copied into subcharts charts and this results in a very big chart that can exceed the maximum chart size.
OS / ENVIRONMENT
- Kubernetes version:
1.15.11
- Helm version:
helm version
Client: &version.Version{SemVer:"v2.16.6", GitCommit:"dd2e5695da88625b190e6b22e9542550ab503a47", GitTreeState:"clean"}
Server: &version.Version{SemVer:"v2.16.6", GitCommit:"dd2e5695da88625b190e6b22e9542550ab503a47", GitTreeState:"clean"}
- Kubernetes mode of installation:
from integration RKE/HEAT scripts)
- CNI Used for Kubernetes:
- fannel (from integration RKE/HEAT scripts)
OOM VERSION
seen on Master (G) and frankfurt F
CONFIGURATION
global:
repository: nexus3.onap.org:10001
pullPolicy: IfNotPresent
masterPassword: afr
robot:
flavor: large
appcUsername: "appc@appc.onap.org"
appcPassword: "demo123456!"
openStackKeyStoneUrl: "https://identity1.citycloud.com:5000/v3"
openStackTenantId: ""
openStackUserName: "afenner"
ubuntu14Image: "Ubuntu 14.04 LTS Generic"
ubuntu16Image: "Ubuntu 16.04 LTS Generic"
openStackPrivateNetCidr: "10.0.0.0/16"
openStackOamNetworkCidrPrefix: "10.0"
dcaeCollectorIp: "_k8s_1_vm_ip_"
demoArtifactsVersion: "1.3.0-SNAPSHOT"
scriptVersion: "1.3.0-SNAPSHOT"
rancherIpAddress: "_rancher_ip_addr_"
so:
enabled: true
cassandra:
enabled: true
mariadb-galera:
enabled: true
appc:
enabled: false
sdnc:
enabled: false
replicaCount: 1
config:
enableClustering: false
aaf:
enabled: true
aai:
enabled: true
clamp:
enabled: false
cli:
enabled: false
consul:
enabled: true
contrib:
enabled: false
dcaegen2:
enabled: false
pnda:
enabled: false
dmaap:
enabled: true
esr:
enabled: true
log:
enabled: false
sniro-emulator:
enabled: false
oof:
enabled: false
msb:
enabled: true
multicloud:
enabled: false
nbi:
enabled: false
policy:
enabled: false
pomba:
enabled: false
portal:
enabled: true
robot:
enabled: false
sdc:
enabled: true
uui:
enabled: false
vfc:
enabled: false
vid:
enabled: false
vnfsdk:
enabled: false
vvp:
enabled: false
STEPS TO REPRODUCE
make oom
helm deploy (including at least portal)
EXPECTED RESULTS
helm ls to show all deployed subcharts
ACTUAL RESULTS
helm ls is missing some of the subcharts due to the error above