open-horizon / anax

Horizon agent control system
https://open-horizon.github.io/docs/anax/docs/
Apache License 2.0
73 stars 98 forks source link

Bug: agent-install.sh from Mac fails to install cluster agent due to permission error on a cp command that isn't needed #4063

Closed dlarson04 closed 4 months ago

dlarson04 commented 4 months ago

Describe the bug.

If you don't have sudo executing agent-install.sh installing an edgecluster agent, it will fail but the cp command where it fails isn't necessary

2024-05-24 13:42:08 clusterrolebinding dougs-ns-openhorizon-agent-cluster-rule created
secret/openhorizon-agent-secrets created
2024-05-24 13:42:08 secret openhorizon-agent-secrets created
cp: /etc/default/cert/agent-install.crt: Permission denied
larson@Dougs-MBP-2 cluster-install %

Describe the steps to reproduce the behavior.

No response

Expected behavior.

No response

Screenshots.

No response

Operating Environment

Mac

Additional Information

No response

dlarson04 commented 4 months ago

verified... closing