Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagebash
themeMidnight
titleBBSep deployment
linenumberstrue
~/oom/kubernetes# kubectl exec -ti dev-dcaegen2-dcae-bootstrap-85f664d489-54pmt bash
[root@dev-dcaegen2-dcae-bootstrap-85f664d489-54pmt /]# cfy blueprints validate /blueprints/k8s-bbs-event-processor.yaml-template
Validating blueprint: /blueprints/k8s-bbs-event-processor.yaml-template
Blueprint validated successfully
[root@dev-dcaegen2-dcae-bootstrap-85f664d489-54pmt /]# cfy blueprints upload -b bbs-ep /blueprints/k8s-bbs-event-processor.yaml-template
Uploading blueprint /blueprints/k8s-bbs-event-processor.yaml-template...
 k8s-bbs-event-pro... |################################################| 100.0%
Blueprint uploaded. The blueprint's id is bbs-ep
[root@dev-dcaegen2-dcae-bootstrap-85f664d489-54pmt /]# cfy deployments create -b bbs-ep -i /bbs-event-processor-input.yaml bbs-ep
Creating new deployment from blueprint bbs-ep...
Unable to create deployment. Not all deployment plugins are installed on the Manager.
* Use 'cfy plugins upload' to upload the missing plugins to the Manager, or use 'cfy deployments create' with the '--skip-plugins-validation' flag  to skip this validation.
400: Required plugin k8splugin, version 1.4.11 is not installed on the manager
[root@dev-dcaegen2-dcae-bootstrap-85f664d489-54pmt /]# cfy plugins upload https://nexus.onap.org/service/local/repositories/raw/content/org.onap.dcaegen2.platform.plugins/R4/k8splugin/1.4.11/k8splugin-1.4.11-py27-none-linux_x86_64.wgn-20190322T142308
Uploading plugin https://nexus.onap.org/service/local/repositories/raw/content/org.onap.dcaegen2.platform.plugins/R4/k8splugin/1.4.11/k8splugin-1.4.11-py27-none-linux_x86_64.wgn-20190322T142308...
Plugin uploaded. The plugin's id is 8668bc41-778d-4901-910c-f5697343b3de
[root@dev-dcaegen2-dcae-bootstrap-85f664d489-54pmt /]# cfy deployments create -b bbs-ep -i /bbs-event-processor-input.yaml bbs-ep
Creating new deployment from blueprint bbs-ep...
Deployment created. The deployment's id is bbs-ep
[root@dev-dcaegen2-dcae-bootstrap-85f664d489-54pmt /]# cfy executions start -d bbs-ep install
Executing workflow install on deployment bbs-ep [timeout=900 seconds]
An error occurred on the server: 500: Can't launch executions since environment creation for deployment bbs-ep has failed: Traceback (most recent call last):
  File "/opt/mgmtworker/env/lib/python2.7/site-packages/cloudify/dispatch.py", line 571, in _remote_workflow_child_thread
    workflow_result = self._execute_workflow_function()
  File "/opt/mgmtworker/env/lib/python2.7/site-packages/cloudify/dispatch.py", line 600, in _execute_workflow_function
    result = self.func(*self.args, **self.kwargs)
  File "/opt/mgmtworker/env/lib/python2.7/site-packages/cloudify_system_workflows/deployment_environment.py", line 100, in create
    return graph.execute()
  File "/opt/mgmtworker/env/lib/python2.7/site-packages/cloudify/workflows/tasks_graph.py", line 237, in execute
    raise self._error
RuntimeError: Workflow failed: Task failed 'cloudify_agent.operations.install_plugins' -> No source or managed plugin found for {u'distribution_release': None, u'install_arguments': None, u'name': u'k8s', u'package_name': u'k8splugin', u'distribution_version': None, u'package_version': u'1.4.11', u'supported_platform': None, u'source': None, u'install': True, u'executor': u'central_deployment_agent', u'distribution': None} [current_platform=linux_x86_64, current_distro=centos, current_distro_release=core]



Policy: BBS APEX Policy

Notes from Ram Krishna Verma

...