1
0
-1

Hi all, when i execute script ete.sh in robot vm, it return like bleow.

Basic DCAE Health Check | FAIL |
Health check failed {u'service': u'cdap-helloworld', u'instance': u'ZONE', u'status': u'UNDEPLOYED', u'healthTestStatus': u'YELLOW', u'healthTestMessageCode': u'Cluster not deployed'}

My environment settings are shown below. The heat template of onap is onap_openstack_floating.yaml

/opt/app/dcae-controller/config.yaml

ubuntu@vio-dcae-controller:/opt/app/dcae-controller$ cat config.yaml
BASE: 1-NIC-FLOATING-IPS
ZONE: ZONE
DNS-IP-ADDR: 192.168.20.29
STATE: STATE
DCAE-VERSION: 1.1.0
HORIZON-URL: https://<ip_address>/admin
KEYSTONE-URL: http://<ip_address>:5000/v3
OPENSTACK-TENANT-ID: 3893355a611d4a1b9b719740b59015b9
OPENSTACK-TENANT-NAME: OPEN-ECOMP
OPENSTACK-REGION: nova
OPENSTACK-PRIVATE-NETWORK: oam_onap_xMbe
OPENSTACK-USER: admin
OPENSTACK-PASSWORD: password
OPENSTACK-AUTH-METHOD: password
OPENSTACK-KEYNAME: onapkey_xMbe_dcae

NEXUS-URL-ROOT: https://nexus.onap.org
NEXUS-USER: docker
NEXUS-PASSWORD: docker
NEXUS-URL-SNAPSHOTS: https://nexus.onap.org/content/repositories/snapshots
NEXUS-RAWURL: https://nexus.onap.org/content/sites/raw

DOCKER-REGISTRY: nexus3.onap.org:10001
DOCKER-VERSION: 1.1-STAGING-latest

GIT-MR-REPO: http://gerrit.onap.org/r/dcae/demo/startup/message-router.git

public_net_id: 20bc6595-282d-4406-be43-017651a4cbe9
dcae_ip_addr: 192.168.20.23
dcae_pstg00_ip_addr: 192.168.20.25
dcae_coll00_ip_addr: 192.168.20.24
dcae_cdap00_ip_addr: 192.168.20.26
dcae_cdap01_ip_addr: 192.168.20.27
dcae_cdap02_ip_addr: 192.168.20.28

UBUNTU-1404-IMAGE: ubuntu-14.04-server-cloudimg-amd64
UBUNTU-1604-IMAGE: ubuntu-16.04-server-cloudimg-amd64
FLAVOR-SMALL: onap.small
FLAVOR-MEDIUM: onap.medium
FLAVOR-LARGE: onap.large
FLAVOR-XLARGE: onap.xlarge

dcae_float_ip_addr: <ip_address>
dcae_pstg00_float_ip_addr: <ip_address>
dcae_coll00_float_ip_addr: <ip_address>
dcae_cdap00_float_ip_addr: <ip_address>
dcae_cdap01_float_ip_addr: <ip_address>
dcae_cdap02_float_ip_addr: <ip_address>


ubuntu@vio-dcae-controller:/opt$ sudo docker logs -f dcaestartupvmcontroller_dcae-controller_1

apt-get install -y make
Reading package lists...
Building dependency tree...
Reading state information...
Suggested packages:
make-doc
The following NEW packages will be installed:
make
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 119 kB of archives.
After this operation, 328 kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu/ trusty/main make amd64 3.81-8.2ubuntu3 [119 kB]
Fetched 119 kB in 5s (23.4 kB/s)
Selecting previously unselected package make.
(Reading database ... 20445 files and directories currently installed.)
Preparing to unpack .../make_3.81-8.2ubuntu3_amd64.deb ...
Unpacking make (3.81-8.2ubuntu3) ...
Setting up make (3.81-8.2ubuntu3) ...

export JAVA_HOME=/opt/app/java/jdk/jdk170
export GROOVY_HOME=/opt/app/groovy/246
export PATH=$JAVA_HOME/bin:$GROOVY_HOME/bin:/opt/app/git/2.4.1/bin:$PATH


cd /opt/app/dcae-controller-platform-server

export ZONE=$(grep ZONE /opt/app/dcae-controller/config.yaml | sed s/ZONE:.//)
grep ZONE /opt/app/dcae-controller/config.yaml | sed s/ZONE:.//
export BASE=$(grep BASE /opt/app/dcae-controller/config.yaml | sed s/BASE:.//)
grep BASE /opt/app/dcae-controller/config.yaml | sed s/BASE:.//

OPENSTACK_KEYNAME=$(grep OPENSTACK-KEYNAME /opt/app/dcae-controller/config.yaml | sed s/OPENSTACK-KEYNAME:.//)
grep OPENSTACK-KEYNAME /opt/app/dcae-controller/config.yaml | sed s/OPENSTACK-KEYNAME:.//
NETWORK=$(grep OPENSTACK-PRIVATE-NETWORK /opt/app/dcae-controller/config.yaml | sed s/OPENSTACK-PRIVATE-NETWORK:.//)
grep OPENSTACK-PRIVATE-NETWORK /opt/app/dcae-controller/config.yaml | sed s/OPENSTACK-PRIVATE-NETWORK:.//
FLAVOR=$(grep FLAVOR-LARGE /opt/app/dcae-controller/config.yaml | sed s/FLAVOR-LARGE:.//)
grep FLAVOR-LARGE /opt/app/dcae-controller/config.yaml | sed s/FLAVOR-LARGE:.//

echo nameserver 10.0.0.1 >> /etc/resolv.conf

make gen-config sync restart
bin/dcae-controller.sh rackspace-substitute --from OPENECOMP-DEMO-1-NIC-FLOATING-IPS --to OPENECOMP-DEMO-ZONE --file /opt/app/dcae-controller/config.yaml
grep: ./config/controller.properties: No such file or directory
java -cp 'lib/*' org.openecomp.dcae.controller.operation.utils.GenControllerConfiguration ZONE . GITLINK OPENECOMP-DEMO
destinationRoot=GITLINK/OPENECOMP-DEMO-ZONE/controller-gen
exception: OPENECOMP-DEMO-ZONE/cdap-instances/cdap-tca-hi-lo.yaml class java.nio.file.NoSuchFileException
log4j:WARN No appenders could be found for logger (org.openecomp.ncomp.utils.io).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
exception: OPENECOMP-DEMO-ZONE/cdap-instances/cdap-helloworld.yaml class java.nio.file.NoSuchFileException
exception: OPENECOMP-DEMO-ZONE/docker-instances/docker-common-event.yaml class java.nio.file.NoSuchFileException
exception: OPENECOMP-DEMO-ZONE/docker-instances/docker-databus-controller.yaml class java.nio.file.NoSuchFileException
exception: OPENECOMP-DEMO-ZONE/chef.yaml class java.nio.file.NoSuchFileException
exception: OPENECOMP-DEMO-ZONE/vm-instances/vm-controller.yaml class java.nio.file.NoSuchFileException
XXXXX: ./OPENECOMP-DEMO-ZONE/vm-config/vm-controller
exception: OPENECOMP-DEMO-ZONE/vm-instances/vm-postgresql.yaml class java.nio.file.NoSuchFileException
XXXXX: ./OPENECOMP-DEMO-ZONE/vm-config/vm-postgresql
XXXXX: ./OPENECOMP-DEMO-ZONE/vm-config/vm-postgresql
XXXXX: ./OPENECOMP-DEMO-ZONE/vm-config/vm-postgresql/hosts
exception: OPENECOMP-DEMO-ZONE/vm-instances/vm-docker-host-1.yaml class java.nio.file.NoSuchFileException
XXXXX: ./OPENECOMP-DEMO-ZONE/vm-config/vm-docker-host
XXXXX: ./OPENECOMP-DEMO-ZONE/vm-config/vm-docker-host
XXXXX: ./OPENECOMP-DEMO-ZONE/vm-config/vm-docker-host/hosts
exception: OPENECOMP-DEMO-ZONE/vm-instances/vm-cdap-cluster.yaml class java.nio.file.NoSuchFileException
XXXXX: ./OPENECOMP-DEMO-ZONE/vm-config/vm-cdap-cluster
XXXXX: ./OPENECOMP-DEMO-ZONE/vm-config/vm-cdap-cluster
XXXXX: ./OPENECOMP-DEMO-ZONE/vm-config/vm-cdap-cluster/hosts
zldcZONESTATEcont00 UNKNOWN
version=[version:ONAP-R2, supportedVersions:[UNKNOWN:null]]
exception: OPENECOMP-DEMO/vm-service-instance-templates/vm-controller-ZONE.yaml class java.nio.file.NoSuchFileException
exception: OPENECOMP-DEMO/vm-service-instance-templates/vm-postgresql-ZONE.yaml class java.nio.file.NoSuchFileException
exception: OPENECOMP-DEMO/vm-service-instance-templates/vm-docker-host-1-ZONE.yaml class java.nio.file.NoSuchFileException
exception: OPENECOMP-DEMO/vm-service-instance-templates/vm-cdap-cluster-ZONE.yaml class java.nio.file.NoSuchFileException
vm-controller
vm-postgresql
vm-docker-host-1
vm-cdap-cluster
bin/dcae-controller.sh sync-configuration --environment OPENECOMP-DEMO-ZONE
grep: ./config/controller.properties: No such file or directory
Non Zero exit value: bin/dcae-controller.sh sync-install OPENECOMP-DEMO-ZONE GITLINK/OPENECOMP-DEMO-ZONE/controller-gen 1
output: Updating config/console.properties
Updating config/controller.properties
Updating config/gui.properties
Updating config/instances
Updating config/inventory.properties
Updating config/log4j.properties
Updating config/managers.properties
Updating config/openstack.properties
Updating config/passwords.yaml
Updating config/runtime.properties
Updating config/simpledemo-root-ca.crt
Updating config/simpledemo-server-ca.crt
Updating /opt/app/dcae-*-jars/lib/*.jar
Updating /opt/app/dcae-*-model/lib/*.jar
Updating /opt/app/dcae-*-manager/lib/*.jar
Updating /opt/app/dcae-*-adaptor/lib/*.jar
Updating /opt/app/ncomp-*-jars/lib/*.jar
Updating /opt/app/ncomp-*-model/lib/*.jar
Updating /opt/app/ncomp-*-manager/lib/*.jar
Updating /opt/app/ncomp-*-adaptor/lib/*.jar

error: cp: cannot stat '/opt/app/dcae-*-jars/lib/*.jar': No such file or directory
cp: cannot stat '/opt/app/dcae-*-model/lib/*.jar': No such file or directory
cp: cannot stat '/opt/app/dcae-*-manager/lib/*.jar': No such file or directory
cp: cannot stat '/opt/app/dcae-*-adaptor/lib/*.jar': No such file or directory
cp: cannot stat '/opt/app/ncomp-*-jars/lib/*.jar': No such file or directory
cp: cannot stat '/opt/app/ncomp-*-model/lib/*.jar': No such file or directory
cp: cannot stat '/opt/app/ncomp-*-manager/lib/*.jar': No such file or directory
cp: cannot stat '/opt/app/ncomp-*-adaptor/lib/*.jar': No such file or directory

output: Dcae Controller (pid 307) is running

error: Loading runtime factory: org.openecomp.dcae.controller.service.servers.docker.DcaeDockerFactory
Loading runtime factory: org.openecomp.dcae.controller.service.servers.dockermanager.DcaeDockermanagerFactory
Loading runtime factory: org.openecomp.dcae.controller.service.servers.cdap.DcaeCdapFactory
Loading runtime factory: org.openecomp.dcae.controller.service.docker.host.servers.service.DcaeServiceFactory
Loading runtime factory: org.openecomp.dcae.controller.service.docker.host.servers.manager.DcaeManagerFactory
Loading runtime factory: org.openecomp.dcae.analytics.cdap.common.impl.CommonPackageImpl
Loading runtime factory: org.openecomp.dcae.controller.service.common.vm.servers.service.DcaeServiceFactory
Loading runtime factory: org.openecomp.dcae.controller.service.common.vm.servers.manager.DcaeManagerFactory
Loading runtime factory: org.openecomp.dcae.controller.service.standardeventcollector.servers.service.DcaeServiceFactory
Loading runtime factory: org.openecomp.dcae.controller.service.standardeventcollector.servers.manager.DcaeManagerFactory
Loading runtime factory: org.openecomp.dcae.controller.service.dmaap.drsub.servers.service.DcaeServiceFactory
Loading runtime factory: org.openecomp.dcae.controller.service.dmaap.drsub.servers.manager.DcaeManagerFactory
Loading runtime factory: org.openecomp.ncomp.servers.cdap.CdapCdapFactory
Loading runtime factory: org.openecomp.ncomp.servers.docker.DockerDockerFactory
Loading runtime factory: org.openecomp.dcae.controller.service.common.docker.servers.service.DcaeServiceFactory
Loading runtime factory: org.openecomp.dcae.controller.service.common.docker.servers.manager.DcaeManagerFactory
Loading runtime factory: org.openecomp.dcae.controller.service.servers.vm.DcaeVmFactory
Loading runtime factory: org.openecomp.dcae.controller.service.storage.postgres.service.impl.ServicePackageImpl
Loading runtime factory: org.openecomp.dcae.controller.service.servers.docker.DcaeDockerFactory
Loading runtime factory: org.openecomp.dcae.controller.service.cdap.cluster.servers.service.DcaeServiceFactory
Loading runtime factory: org.openecomp.dcae.controller.service.cdap.cluster.servers.manager.DcaeManagerFactory
Loading runtime factory: org.openecomp.dcae.controller.service.servers.cdapmanager.DcaeCdapmanagerFactory
Loading runtime factory: org.openecomp.dcae.controller.service.servers.cdap.DcaeCdapFactory

output: descriptors: [cdap-helloworld, cdap-tca-hi-lo, docker-common-event, docker-databus-controller, vm-cdap-cluster, vm-controller, vm-docker-host-1, vm-postgresql]
services: []
Deploying undeployed descriptor cdap-helloworld
Done: services: [cdap-helloworld]
Deploying undeployed descriptor cdap-tca-hi-lo
Done: services: [cdap-helloworld, cdap-tca-hi-lo]
Deploying undeployed descriptor docker-common-event
Done: services: [cdap-helloworld, cdap-tca-hi-lo, docker-common-event]
Deploying undeployed descriptor docker-databus-controller
Done: services: [cdap-helloworld, cdap-tca-hi-lo, docker-common-event, docker-databus-controller]
Deploying undeployed descriptor vm-cdap-cluster
Done: services: [cdap-helloworld, cdap-tca-hi-lo, docker-common-event, docker-databus-controller, vm-cdap-cluster]
Deploying undeployed descriptor vm-controller
Done: services: [cdap-helloworld, cdap-tca-hi-lo, docker-common-event, docker-databus-controller, vm-cdap-cluster, vm-controller]
Deploying undeployed descriptor vm-docker-host-1
Done: services: [cdap-helloworld, cdap-tca-hi-lo, docker-common-event, docker-databus-controller, vm-cdap-cluster, vm-controller, vm-docker-host-1]
Deploying undeployed descriptor vm-postgresql
Done: services: [cdap-helloworld, cdap-tca-hi-lo, docker-common-event, docker-databus-controller, vm-cdap-cluster, vm-controller, vm-docker-host-1, vm-postgresql]

output: service vm-docker-host-1
creating instance vm-docker-host-1@ZONE
service vm-postgresql
creating instance vm-postgresql@ZONE
service docker-common-event
creating instance docker-common-event@ZONE
service cdap-helloworld
creating instance cdap-helloworld@ZONE
service vm-cdap-cluster
creating instance vm-cdap-cluster@ZONE
service vm-controller
creating instance vm-controller@ZONE
service cdap-tca-hi-lo
creating instance cdap-tca-hi-lo@ZONE
service docker-databus-controller
creating instance docker-databus-controller@ZONE

error: Loading runtime factory: org.openecomp.dcae.controller.service.servers.docker.DcaeDockerFactory
Loading runtime factory: org.openecomp.dcae.controller.service.servers.dockermanager.DcaeDockermanagerFactory
Loading runtime factory: org.openecomp.dcae.controller.service.servers.cdap.DcaeCdapFactory
Loading runtime factory: org.openecomp.dcae.controller.service.docker.host.servers.service.DcaeServiceFactory
Loading runtime factory: org.openecomp.dcae.controller.service.docker.host.servers.manager.DcaeManagerFactory
Loading runtime factory: org.openecomp.dcae.analytics.cdap.common.impl.CommonPackageImpl
Loading runtime factory: org.openecomp.dcae.controller.service.common.vm.servers.service.DcaeServiceFactory
Loading runtime factory: org.openecomp.dcae.controller.service.common.vm.servers.manager.DcaeManagerFactory
Loading runtime factory: org.openecomp.dcae.controller.service.standardeventcollector.servers.service.DcaeServiceFactory
Loading runtime factory: org.openecomp.dcae.controller.service.standardeventcollector.servers.manager.DcaeManagerFactory
Loading runtime factory: org.openecomp.dcae.controller.service.dmaap.drsub.servers.service.DcaeServiceFactory
Loading runtime factory: org.openecomp.dcae.controller.service.dmaap.drsub.servers.manager.DcaeManagerFactory
Loading runtime factory: org.openecomp.ncomp.servers.cdap.CdapCdapFactory
Loading runtime factory: org.openecomp.ncomp.servers.docker.DockerDockerFactory
Loading runtime factory: org.openecomp.dcae.controller.service.common.docker.servers.service.DcaeServiceFactory
Loading runtime factory: org.openecomp.dcae.controller.service.common.docker.servers.manager.DcaeManagerFactory
Loading runtime factory: org.openecomp.dcae.controller.service.servers.vm.DcaeVmFactory
Loading runtime factory: org.openecomp.dcae.controller.service.storage.postgres.service.impl.ServicePackageImpl
Loading runtime factory: org.openecomp.dcae.controller.service.servers.docker.DcaeDockerFactory
Loading runtime factory: org.openecomp.dcae.controller.service.cdap.cluster.servers.service.DcaeServiceFactory
Loading runtime factory: org.openecomp.dcae.controller.service.cdap.cluster.servers.manager.DcaeManagerFactory
Loading runtime factory: org.openecomp.dcae.controller.service.servers.cdapmanager.DcaeCdapmanagerFactory
Loading runtime factory: org.openecomp.dcae.controller.service.servers.cdap.DcaeCdapFactory

bin/dcae-controller.sh stop
Stopping Dcae Controller...
Dcae Controller (pid=307) is stopping...
Dcae Controller has stopped.
bin/dcae-controller.sh start
Dcae Controller (pid 884) is running

## need to do 2 syncs to get all references working.
make sync
bin/dcae-controller.sh sync-configuration --environment OPENECOMP-DEMO-ZONE
Non Zero exit value: bin/dcae-controller.sh sync-install OPENECOMP-DEMO-ZONE GITLINK/OPENECOMP-DEMO-ZONE/controller-gen 1
output: Updating config/console.properties
Updating config/controller.properties
Updating config/gui.properties
Updating config/instances
Updating config/inventory.properties
Updating config/log4j.properties
Updating config/managers.properties
Updating config/openstack.properties
Updating config/passwords.yaml
Updating config/runtime.properties
Updating config/simpledemo-root-ca.crt
Updating config/simpledemo-server-ca.crt
Updating /opt/app/dcae-*-jars/lib/*.jar
Updating /opt/app/dcae-*-model/lib/*.jar
Updating /opt/app/dcae-*-manager/lib/*.jar
Updating /opt/app/dcae-*-adaptor/lib/*.jar
Updating /opt/app/ncomp-*-jars/lib/*.jar
Updating /opt/app/ncomp-*-model/lib/*.jar
Updating /opt/app/ncomp-*-manager/lib/*.jar
Updating /opt/app/ncomp-*-adaptor/lib/*.jar

error: cp: cannot stat '/opt/app/dcae-*-jars/lib/*.jar': No such file or directory
cp: cannot stat '/opt/app/dcae-*-model/lib/*.jar': No such file or directory
cp: cannot stat '/opt/app/dcae-*-manager/lib/*.jar': No such file or directory
cp: cannot stat '/opt/app/dcae-*-adaptor/lib/*.jar': No such file or directory
cp: cannot stat '/opt/app/ncomp-*-jars/lib/*.jar': No such file or directory
cp: cannot stat '/opt/app/ncomp-*-model/lib/*.jar': No such file or directory
cp: cannot stat '/opt/app/ncomp-*-manager/lib/*.jar': No such file or directory
cp: cannot stat '/opt/app/ncomp-*-adaptor/lib/*.jar': No such file or directory

output: Dcae Controller (pid 884) is running

error: Loading runtime factory: org.openecomp.dcae.controller.service.servers.docker.DcaeDockerFactory
Loading runtime factory: org.openecomp.dcae.controller.service.servers.dockermanager.DcaeDockermanagerFactory
Loading runtime factory: org.openecomp.dcae.controller.service.servers.cdap.DcaeCdapFactory
Loading runtime factory: org.openecomp.dcae.controller.service.docker.host.servers.service.DcaeServiceFactory
Loading runtime factory: org.openecomp.dcae.controller.service.docker.host.servers.manager.DcaeManagerFactory
Loading runtime factory: org.openecomp.dcae.analytics.cdap.common.impl.CommonPackageImpl
Loading runtime factory: org.openecomp.dcae.controller.service.common.vm.servers.service.DcaeServiceFactory
Loading runtime factory: org.openecomp.dcae.controller.service.common.vm.servers.manager.DcaeManagerFactory
Loading runtime factory: org.openecomp.dcae.controller.service.standardeventcollector.servers.service.DcaeServiceFactory
Loading runtime factory: org.openecomp.dcae.controller.service.standardeventcollector.servers.manager.DcaeManagerFactory
Loading runtime factory: org.openecomp.dcae.controller.service.dmaap.drsub.servers.service.DcaeServiceFactory
Loading runtime factory: org.openecomp.dcae.controller.service.dmaap.drsub.servers.manager.DcaeManagerFactory
Loading runtime factory: org.openecomp.ncomp.servers.cdap.CdapCdapFactory
Loading runtime factory: org.openecomp.ncomp.servers.docker.DockerDockerFactory
Loading runtime factory: org.openecomp.dcae.controller.service.common.docker.servers.service.DcaeServiceFactory
Loading runtime factory: org.openecomp.dcae.controller.service.common.docker.servers.manager.DcaeManagerFactory
Loading runtime factory: org.openecomp.dcae.controller.service.servers.vm.DcaeVmFactory
Loading runtime factory: org.openecomp.dcae.controller.service.storage.postgres.service.impl.ServicePackageImpl
Loading runtime factory: org.openecomp.dcae.controller.service.servers.docker.DcaeDockerFactory
Loading runtime factory: org.openecomp.dcae.controller.service.cdap.cluster.servers.service.DcaeServiceFactory
Loading runtime factory: org.openecomp.dcae.controller.service.cdap.cluster.servers.manager.DcaeManagerFactory
Loading runtime factory: org.openecomp.dcae.controller.service.servers.cdapmanager.DcaeCdapmanagerFactory
Loading runtime factory: org.openecomp.dcae.controller.service.servers.cdap.DcaeCdapFactory

output: descriptors: [cdap-helloworld, cdap-tca-hi-lo, docker-common-event, docker-databus-controller, vm-cdap-cluster, vm-controller, vm-docker-host-1, vm-postgresql]
services: [cdap-helloworld, cdap-tca-hi-lo, docker-common-event, docker-databus-controller, vm-cdap-cluster, vm-controller, vm-docker-host-1, vm-postgresql]

output: service vm-docker-host-1
updating instance vm-docker-host-1@ZONE
service vm-postgresql
updating instance vm-postgresql@ZONE
service docker-common-event
updating instance docker-common-event@ZONE
service cdap-helloworld
updating instance cdap-helloworld@ZONE
service vm-cdap-cluster
updating instance vm-cdap-cluster@ZONE
service vm-controller
updating instance vm-controller@ZONE
service cdap-tca-hi-lo
updating instance cdap-tca-hi-lo@ZONE
service docker-databus-controller
updating instance docker-databus-controller@ZONE

error: Loading runtime factory: org.openecomp.dcae.controller.service.servers.docker.DcaeDockerFactory
Loading runtime factory: org.openecomp.dcae.controller.service.servers.dockermanager.DcaeDockermanagerFactory
Loading runtime factory: org.openecomp.dcae.controller.service.servers.cdap.DcaeCdapFactory
Loading runtime factory: org.openecomp.dcae.controller.service.docker.host.servers.service.DcaeServiceFactory
Loading runtime factory: org.openecomp.dcae.controller.service.docker.host.servers.manager.DcaeManagerFactory
Loading runtime factory: org.openecomp.dcae.analytics.cdap.common.impl.CommonPackageImpl
Loading runtime factory: org.openecomp.dcae.controller.service.common.vm.servers.service.DcaeServiceFactory
Loading runtime factory: org.openecomp.dcae.controller.service.common.vm.servers.manager.DcaeManagerFactory
Loading runtime factory: org.openecomp.dcae.controller.service.standardeventcollector.servers.service.DcaeServiceFactory
Loading runtime factory: org.openecomp.dcae.controller.service.standardeventcollector.servers.manager.DcaeManagerFactory
Loading runtime factory: org.openecomp.dcae.controller.service.dmaap.drsub.servers.service.DcaeServiceFactory
Loading runtime factory: org.openecomp.dcae.controller.service.dmaap.drsub.servers.manager.DcaeManagerFactory
Loading runtime factory: org.openecomp.ncomp.servers.cdap.CdapCdapFactory
Loading runtime factory: org.openecomp.ncomp.servers.docker.DockerDockerFactory
Loading runtime factory: org.openecomp.dcae.controller.service.common.docker.servers.service.DcaeServiceFactory
Loading runtime factory: org.openecomp.dcae.controller.service.common.docker.servers.manager.DcaeManagerFactory
Loading runtime factory: org.openecomp.dcae.controller.service.servers.vm.DcaeVmFactory
Loading runtime factory: org.openecomp.dcae.controller.service.storage.postgres.service.impl.ServicePackageImpl
Loading runtime factory: org.openecomp.dcae.controller.service.servers.docker.DcaeDockerFactory
Loading runtime factory: org.openecomp.dcae.controller.service.cdap.cluster.servers.service.DcaeServiceFactory
Loading runtime factory: org.openecomp.dcae.controller.service.cdap.cluster.servers.manager.DcaeManagerFactory
Loading runtime factory: org.openecomp.dcae.controller.service.servers.cdapmanager.DcaeCdapmanagerFactory
Loading runtime factory: org.openecomp.dcae.controller.service.servers.cdap.DcaeCdapFactory


cat OPENECOMP-DEMO-$ZONE/hosts >> /etc/hosts

## Add SSL CAs to Java

(echo changeit ; echo yes ) | keytool -importcert -keystore /etc/ssl/certs/java/cacerts -alias simpledemo-root-ca -file config/simpledemo-root-ca.crt
Owner: EMAILADDRESS=simpledemo@openecomp.org, CN=OpenECOMP simpledemo Root Certification Authority, OU=simpledemo, O=OpenECOMP, L=Bedminster, ST=NJ, C=US
Issuer: EMAILADDRESS=simpledemo@openecomp.org, CN=OpenECOMP simpledemo Root Certification Authority, OU=simpledemo, O=OpenECOMP, L=Bedminster, ST=NJ, C=US
Serial number: d4a2fdbb1710e239
Valid from: Mon Nov 28 21:14:25 UTC 2016 until: Thu Nov 26 21:14:25 UTC 2026
Certificate fingerprints:
MD5: FC:64:AF:8A:39:0B:73:48:29:B7:E7:FF:0B:0D:F9:2C
SHA1: E5:E8:31:B2:C8:EB:40:C9:FF:08:69:D2:ED:DF:39:31:64:8E:0F:3C
SHA256: C3:35:15:5F:EC:A0:42:2F:C2:A0:42:80:A4:5C:CB:00:15:60:12:AF:13:EE:76:5F:11:3C:A1:98:4A:6E:A8:77
Signature algorithm name: SHA256withRSA
Version: 3

Extensions:

#1: ObjectId: 2.5.29.19 Criticality=true
BasicConstraints:[
CA:true
PathLen:2147483647
]

#2: ObjectId: 2.5.29.15 Criticality=true
KeyUsage [
Key_CertSign
Crl_Sign
]

#3: ObjectId: 2.5.29.14 Criticality=false
SubjectKeyIdentifier [
KeyIdentifier [
0000: 9A 64 05 40 3D E8 59 95 0E 54 4F 35 41 CF 56 49 .d.@=.Y..TO5A.VI
0010: F7 32 AB 0C .2..
]
]

Enter keystore password: Trust this certificate? [no]: Certificate was added to keystore
(echo changeit ; echo yes ) | keytool -importcert -keystore /etc/ssl/certs/java/cacerts -alias simpledemo-server-ca -file config/simpledemo-server-ca.crt
Enter keystore password: Certificate was added to keystore

bin/dcae-controller.sh undeploy-service-instance -i $ZONE -s vm-docker-host-1 &
bin/dcae-controller.sh undeploy-service-instance -i $ZONE -s vm-postgresql &
bin/dcae-controller.sh undeploy-service-instance -i $ZONE -s vm-cdap-cluster &

bin/dcae-controller.sh deploy-user -l $ZONE -p OPEN-ECOMP -u $OPENSTACK_KEYNAME
Caught: org.openecomp.ncomp.sirius.manager.Jetty8ClientException: HTTP Request Failed: URL: http://localhost:9998/resources/services/vm-postgresql code:400 msg:REQUEST-FAILED-UNDEPLOY-4001W REQUEST-FAILED-DELETESERVER-4001W !Absolute URI: null/servers
org.openecomp.ncomp.sirius.manager.Jetty8ClientException: HTTP Request Failed: URL: http://localhost:9998/resources/services/vm-postgresql code:400 msg:REQUEST-FAILED-UNDEPLOY-4001W REQUEST-FAILED-DELETESERVER-4001W !Absolute URI: null/servers
at org.openecomp.ncomp.sirius.manager.JavaHttpClient.httpBinaryTransaction(JavaHttpClient.java:177)
at org.openecomp.ncomp.sirius.manager.AbstractClient.httpStringTransaction(AbstractClient.java:219)
at org.openecomp.ncomp.sirius.manager.AbstractClient.httpJsonTransaction(AbstractClient.java:205)
at org.openecomp.ncomp.sirius.manager.AbstractClient.operationPath2(AbstractClient.java:65)
at org.openecomp.ncomp.sirius.manager.AbstractClient.operation(AbstractClient.java:97)
at org.openecomp.ncomp.sirius.manager.AbstractClient$operation.call(Unknown Source)
at org.openecomp.ncomp.sirius.manager.console.Console.operation(Console.groovy:107)
at org.openecomp.ncomp.sirius.manager.console.Console.operation(Console.groovy)
at undeploy-service-instance.run(undeploy-service-instance.groovy:45)
Caught: org.openecomp.ncomp.sirius.manager.Jetty8ClientException: HTTP Request Failed: URL: http://localhost:9998/resources/openstack/locations/ZONE code:400 msg:REQUEST-FAILED-DEPLOYUSER-4001W REQUEST-FAILED-CREATEKEYPAIR-4001W !Absolute URI: null/os-keypairs
org.openecomp.ncomp.sirius.manager.Jetty8ClientException: HTTP Request Failed: URL: http://localhost:9998/resources/openstack/locations/ZONE code:400 msg:REQUEST-FAILED-DEPLOYUSER-4001W REQUEST-FAILED-CREATEKEYPAIR-4001W !Absolute URI: null/os-keypairs
at org.openecomp.ncomp.sirius.manager.JavaHttpClient.httpBinaryTransaction(JavaHttpClient.java:177)
at org.openecomp.ncomp.sirius.manager.AbstractClient.httpStringTransaction(AbstractClient.java:219)
at org.openecomp.ncomp.sirius.manager.AbstractClient.httpJsonTransaction(AbstractClient.java:205)
at org.openecomp.ncomp.sirius.manager.AbstractClient.operationPath2(AbstractClient.java:65)
at org.openecomp.ncomp.sirius.manager.AbstractClient.operation(AbstractClient.java:97)
at org.openecomp.ncomp.sirius.manager.AbstractClient$operation.call(Unknown Source)
at org.openecomp.ncomp.sirius.manager.console.Console.operation(Console.groovy:107)
at org.openecomp.ncomp.sirius.manager.console.Console.operation(Console.groovy)
at deploy-user.run(deploy-user.groovy:46)

NETWORKPATH=/openstack/locations/$ZONE/projects/OPEN-ECOMP/networks/$NETWORK
KEYPATH=/openstack/locations/$ZONE/projects/OPEN-ECOMP/keypairs/$OPENSTACK_KEYNAME
FLAVORPATH=/openstack/locations/$ZONE/flavors/$FLAVOR

## wait for flavor but since flavor name may have spaces which 'wait-for' does not support we do this hack
## wait 11 minutes

i=0
until [ $i = "66" ]; do
((i++))
if [ -e "data/resources/$FLAVORPATH" ]; then break; fi
echo waiting for data/resources/$FLAVORPATH
sleep 10
done
waiting for data/resources//openstack/locations/ZONE/flavors/onap.large
Caught: org.openecomp.ncomp.sirius.manager.Jetty8ClientException: HTTP Request Failed: URL: http://localhost:9998/resources/services/vm-cdap-cluster code:400 msg:REQUEST-FAILED-UNDEPLOY-4001W REQUEST-FAILED-DELETESERVER-4001W !Absolute URI: null/servers
org.openecomp.ncomp.sirius.manager.Jetty8ClientException: HTTP Request Failed: URL: http://localhost:9998/resources/services/vm-cdap-cluster code:400 msg:REQUEST-FAILED-UNDEPLOY-4001W REQUEST-FAILED-DELETESERVER-4001W !Absolute URI: null/servers
at org.openecomp.ncomp.sirius.manager.JavaHttpClient.httpBinaryTransaction(JavaHttpClient.java:177)
at org.openecomp.ncomp.sirius.manager.AbstractClient.httpStringTransaction(AbstractClient.java:219)
at org.openecomp.ncomp.sirius.manager.AbstractClient.httpJsonTransaction(AbstractClient.java:205)
at org.openecomp.ncomp.sirius.manager.AbstractClient.operationPath2(AbstractClient.java:65)
at org.openecomp.ncomp.sirius.manager.AbstractClient.operation(AbstractClient.java:97)
at org.openecomp.ncomp.sirius.manager.AbstractClient$operation.call(Unknown Source)
at org.openecomp.ncomp.sirius.manager.console.Console.operation(Console.groovy:107)
at org.openecomp.ncomp.sirius.manager.console.Console.operation(Console.groovy)
at undeploy-service-instance.run(undeploy-service-instance.groovy:45)
Caught: org.openecomp.ncomp.sirius.manager.Jetty8ClientException: HTTP Request Failed: URL: http://localhost:9998/resources/services/vm-docker-host-1 code:400 msg:REQUEST-FAILED-UNDEPLOY-4001W REQUEST-FAILED-DELETESERVER-4001W !Absolute URI: null/servers
org.openecomp.ncomp.sirius.manager.Jetty8ClientException: HTTP Request Failed: URL: http://localhost:9998/resources/services/vm-docker-host-1 code:400 msg:REQUEST-FAILED-UNDEPLOY-4001W REQUEST-FAILED-DELETESERVER-4001W !Absolute URI: null/servers
at org.openecomp.ncomp.sirius.manager.JavaHttpClient.httpBinaryTransaction(JavaHttpClient.java:177)
at org.openecomp.ncomp.sirius.manager.AbstractClient.httpStringTransaction(AbstractClient.java:219)
at org.openecomp.ncomp.sirius.manager.AbstractClient.httpJsonTransaction(AbstractClient.java:205)
at org.openecomp.ncomp.sirius.manager.AbstractClient.operationPath2(AbstractClient.java:65)
at org.openecomp.ncomp.sirius.manager.AbstractClient.operation(AbstractClient.java:97)
at org.openecomp.ncomp.sirius.manager.AbstractClient$operation.call(Unknown Source)
at org.openecomp.ncomp.sirius.manager.console.Console.operation(Console.groovy:107)
at org.openecomp.ncomp.sirius.manager.console.Console.operation(Console.groovy)
at undeploy-service-instance.run(undeploy-service-instance.groovy:45)
waiting for data/resources//openstack/locations/ZONE/flavors/onap.large
waiting for data/resources//openstack/locations/ZONE/flavors/onap.large

Please help

    CommentAdd your comment...

    2 answers

    1.  
      1
      0
      -1

      fyi, DCAE gen1 (the 1.0 version in 1.1) has been deprecated - its repo is locked.  DCAEGEN2 is being developed for R1. Unfortunately when we have issues with the only working version of DCAE (1.0/1.1) we don't have a project team to turn to as they are focused on the next version - however most of the issue now are DevOps related and can be referred to the Integration team.  DCAE does come up periodically on its own or after a restart depending on timing - sometimes due to nexus3 throttling.  The last time I had DCAE up was 0911.  as of 20170929 there are issues with the 10003 port on nexus3

      AAI-417 - Rackspace 20170928 fails to authenticate nexus3 on 10003 during *_init.sh (sdnc for example) Closed

      I recommend you raise DCAE issues in the INT project as it won't get immediately closed as wont-do.

      thank you

      /michael

      1. kranthi guttikonda

        Do we have any timeline for DCAE gen2? With the gen1 repos locked there is nothing we can do to deploy a new DCAE cluster.

      CommentAdd your comment...
    2.  
      1
      0
      -1

      Hi subond yu

      Restarting dcae controller container may simply work. I also see sometimes scripts are unable to find flavor PATH and key PATH even though they exists. Restart of the container will solve the problem. 

      Lately I am seeing issues with DCAE deployment. Looks like something is really broken. I have created a ticket in Jira

      DCAEGEN2-113 - DCAE deployment fails Closed

        CommentAdd your comment...