Hi Dan Timoney

Thank you for the response.

I enabled 'platform' component and re-deployed ONAP.

But this, we are getting different error and 'onap-sdnc-0' pod is in 'pending' 
status due to Insufficient memory.

$ kubectl get pods -n onap | grep onap-sdnc-0
onap-sdnc-0        0/2     Pending      0     13m

$ kubectl describe pods onap-sdnc-0 -n onap
Events:
Type     Reason            Age                 From               Message
----     ------            ----                ----               -------
Warning  FailedScheduling  84s (x13 over 12m)  default-scheduler  0/1 nodes are 
available: 1 Insufficient memory.

But we can see sufficient memory is available in a node.
ubuntu@ip-172-31-11-32://home/ubuntu$ cat /proc/meminfo
MemTotal:       130509800 kB
MemFree:        25849720 kB
MemAvailable:   77519916 kB

$ kubectl describe node
Allocated resources:
(Total limits may be over 100 percent, i.e., overcommitted.)
Resource           Requests                Limits
--------           --------                ------
cpu                50550m (78%)            161350m (252%)
memory             133573482905600m (99%)  360904549990400m (270%)
ephemeral-storage  0 (0%)                  0 (0%)
hugepages-1Gi      0 (0%)                  0 (0%)
hugepages-2Mi      0 (0%)                  0 (0%)

Following is the command, we are using to deploy ONAP for 'Network Slicing 
usecase'
helm deploy onap local/onap --namespace onap --create-namespace --set 
global.masterPassword=onap123 -f 
onap/resources/overrides/onap-5g-network-slicing.yaml -f 
onap/resources/overrides/environment.yaml -f 
onap/resources/overrides/openstack.yaml --timeout 2400s

Following is override file(onap-5g-network-slicing.yaml) we are using for
the deployment.

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

repositoryCred:
user: docker
password: docker

# readiness check
readinessImage: onap/oom/readiness:3.0.1

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

# image pull policy
pullPolicy: IfNotPresent

# default mount path root directory referenced
# by persistent volumes and log files
persistence:
mountPath: /dockerdata-nfs
enableDefaultStorageclass: false
parameters: {}
storageclassProvisioner: kubernetes.io/no-provisioner
volumeReclaimPolicy: Retain

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

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

#Global ingress configuration
ingress:
enabled: false
virtualhost:
enabled: true
baseurl: "simpledemo.onap.org"
#################################################################
# Enable/disable and configure helm charts (ie. applications)
# to customize the ONAP deployment.
#################################################################
aaf:
enabled: true
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
cassandra:
enabled: true
cds:
enabled: true
clamp:
enabled: false
cli:
enabled: false
consul:
enabled: false
contrib:
enabled: false
cps:
enabled: true
dcaegen2:
enabled: false
dcaegen2-services:
enabled: false
holmes:
enabled: false
dmaap:
enabled: true
log:
enabled: true
sniro-emulator:
enabled: false
oof:
enabled: true
mariadb-galera:
enabled: true
msb:
enabled: true
multicloud:
enabled: false
nbi:
enabled: true
config:
# openstack configuration
openStackRegion: "Yolo"
openStackVNFTenantId: "1234"
policy:
enabled: true
pomba:
enabled: false
portal:
enabled: true
robot:
enabled: true
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: true

replicaCount: 1

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

# so server configuration
config:
# message router configuration
dmaapTopic: "AUTO"
# openstack configuration
openStackUserName: "vnf_user"
openStackRegion: "RegionOne"
openStackKeyStoneUrl: "http://1.2.3.4:5000";
openStackServiceTenantName: "service"
openStackEncryptedPasswordHere: "c124921a3a0efbe579782cde8227681e"

uui:
enabled: true
vfc:
enabled: false
vid:
enabled: false
vnfsdk:
enabled: false
modeling:
enabled: false
platform:
enabled: true

*Could you please help us to sort out following error?*
0/1 nodes are available: 1 Insufficient memory.


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#23805): https://lists.onap.org/g/onap-discuss/message/23805
Mute This Topic: https://lists.onap.org/mt/89018472/21656
Mute #oom:https://lists.onap.org/g/onap-discuss/mutehashtag/oom
Mute #sdnc:https://lists.onap.org/g/onap-discuss/mutehashtag/sdnc
Mute #istanbul:https://lists.onap.org/g/onap-discuss/mutehashtag/istanbul
Group Owner: [email protected]
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to