Hi Vijay,

 

We installed ONAP in CMCC lab , and there is no holmes pod startup.

I asked for help from gurong, and he told me we can install Holmes manually,
I follow his steps, but when I execute “cfy executions start -d
holmes_rules install”,  it has the following error: 

Please help me to see if I miss something or the dcae other components have
problems.

 

[root@dev-dcaegen2-dcae-bootstrap-9b6b4fb77-fnsdk blueprints]# cfy
deployments create -b holmes_rules -i /inputs/k8s-holmes_rules-inputs.yaml
holmes_rules

Creating new deployment from blueprint holmes_rules...

Deployment created. The deployment's id is holmes_rules

[root@dev-dcaegen2-dcae-bootstrap-9b6b4fb77-fnsdk blueprints]# cfy
executions start -d holmes_rules install

Executing workflow install on deployment holmes_rules [timeout=900 seconds]

2018-11-19 10:34:28.961  CFY <holmes_rules> Starting 'install' workflow
execution

2018-11-19 10:34:29.541  CFY <holmes_rules> [pgaasvm_p1aax2] Creating node

2018-11-19 10:34:30.550  CFY <holmes_rules> [pgaasvm_p1aax2.create] Sending
task 'pgaas.pgaas_plugin.create_database'

2018-11-19 10:34:30.550  CFY <holmes_rules> [pgaasvm_p1aax2.create] Task
started 'pgaas.pgaas_plugin.create_database'

2018-11-19 10:34:31.232  LOG <holmes_rules> [pgaasvm_p1aax2.create] WARNING:
create_database(holmes)

2018-11-19 10:34:32.237  LOG <holmes_rules> [pgaasvm_p1aax2.create] WARNING:
Error: [Errno 2] No such file or directory:
'/opt/manager/resources/pgaas/dcae-pg-primary.onap'

2018-11-19 10:34:32.237  LOG <holmes_rules> [pgaasvm_p1aax2.create] ERROR:
Cluster must be deployed when using an existing cluster. Check your domain
name: fqdn=dcae-pg-primary.onap, err=[Errno 2] No such file or directory:
'/opt/manager/resources/pgaas/dcae-pg-primary.onap'

2018-11-19 10:34:33.241  LOG <holmes_rules> [pgaasvm_p1aax2.create] WARNING:
Error: Cluster must be deployed when using an existing cluster. Check your
domain name: fqdn=dcae-pg-primary.onap, err=[Errno 2] No such file or
directory: '/opt/manager/resources/pgaas/dcae-pg-primary.onap'

2018-11-19 10:34:32.237  LOG <holmes_rules> [pgaasvm_p1aax2.create] WARNING:
Stack: Traceback (most recent call last):

  File
"/opt/mgmtworker/env/plugins/default_tenant/pgaas-1.1.0/lib/python2.7/site-p
ackages/pgaas/pgaas_plugin.py", line 337, in getclusterinfo

    with open(fn, 'r') as f:

IOError: [Errno 2] No such file or directory:
'/opt/manager/resources/pgaas/dcae-pg-primary.onap'

 

2018-11-19 10:34:33.241  LOG <holmes_rules> [pgaasvm_p1aax2.create] WARNING:
Stack: Traceback (most recent call last):

  File
"/opt/mgmtworker/env/plugins/default_tenant/pgaas-1.1.0/lib/python2.7/site-p
ackages/pgaas/pgaas_plugin.py", line 441, in create_database

    info = dbgetinfo(ctx)

  File
"/opt/mgmtworker/env/plugins/default_tenant/pgaas-1.1.0/lib/python2.7/site-p
ackages/pgaas/pgaas_plugin.py", line 424, in dbgetinfo

    ret = getclusterinfo(wfqdn, True, '', '', [])

  File
"/opt/mgmtworker/env/plugins/default_tenant/pgaas-1.1.0/lib/python2.7/site-p
ackages/pgaas/pgaas_plugin.py", line 344, in getclusterinfo

    raiseNonRecoverableError('Cluster must be deployed when using an
existing cluster. Check your domain name: fqdn={0},
err={1}'.format(safestr(wfqdn),e))

  File
"/opt/mgmtworker/env/plugins/default_tenant/pgaas-1.1.0/lib/python2.7/site-p
ackages/pgaas/pgaas_plugin.py", line 167, in raiseNonRecoverableError

    raise NonRecoverableError(msg)

NonRecoverableError: Cluster must be deployed when using an existing
cluster. Check your domain name: fqdn=dcae-pg-primary.onap, err=[Errno 2] No
such file or directory: '/opt/manager/resources/pgaas/dcae-pg-primary.onap'

 

2018-11-19 10:34:33.238  CFY <holmes_rules> [pgaasvm_p1aax2.create] Task
failed 'pgaas.pgaas_plugin.create_database' -> Cluster must be deployed when
using an existing cluster. Check your domain name:
fqdn=dcae-pg-primary.onap, err=[Errno 2] No such file or directory:
'/opt/manager/resources/pgaas/dcae-pg-primary.onap'

2018-11-19 10:34:33.553  CFY <holmes_rules> 'install' workflow execution
failed: RuntimeError: Workflow failed: Task failed
'pgaas.pgaas_plugin.create_database' -> Cluster must be deployed when using
an existing cluster. Check your domain name: fqdn=dcae-pg-primary.onap,
err=[Errno 2] No such file or directory:
'/opt/manager/resources/pgaas/dcae-pg-primary.onap'

Execution of workflow install for deployment holmes_rules failed.
[error=Traceback (most recent call last):

  File
"/opt/mgmtworker/env/lib/python2.7/site-packages/cloudify/dispatch.py", line
548, in _remote_workflow_child_thread

 

 

 

Copy the DCAE pods here :

 



 

 

 

Best Regards,

Yan


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

View/Reply Online (#13845): https://lists.onap.org/g/onap-discuss/message/13845
Mute This Topic: https://lists.onap.org/mt/28240368/21656
Group Owner: [email protected]
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to