smart-edge-open / converged-edge-experience-kits

Source code for experience kits with Ansible-based deployment.
Apache License 2.0
37 stars 40 forks source link

Issue installing OpenNESS onPremise node - copy_configs_to_appliance.yml #6

Closed idirect-dev closed 4 years ago

idirect-dev commented 4 years ago

Context: Starting with a centos 7 minimal install (on controller and edge node hosts), I have cloned the experience kit. git clone https://github.com/open-ness/openness-experience-kits.git I modified group_vars/all.yml with my git token I edited inventory.ini to match my configurations (controller and one node) I've setup passwordless ssh and hostnames

I've run the deploy_onprem_controller.sh script After some workarounds I've been able to deploy the controller.

When I try and deploy a node I get an error: File: roles/openness/onprem/worker/tasks/subtasks/copy_configs_to_appliance.yml

TASK [openness/onprem/worker : copy files to /var/lib/appliance] *** task path: /home/idirect/openness-experience-kits/roles/openness/onprem/worker/tasks/subtasks/copy_configs_to_appliance.yml:6 fatal: [mec-node]: FAILED! => {"changed": false, "msg": "Remote copy does not support recursive copy of directory: /opt/edgenode/configs"}

(Note that I had also previously commented #role: os_kernelrt in onprem_node.yml) @idirect-dev, and commented #disable_includes roles/dpdk/tasks/main.yml)

idirect-dev commented 4 years ago

It looks like this is not an issue - it probably related to the context in which the script was initially executed (perhaps sudo as opposed to root)