-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
there have something wrong when run sdcadm post-setup cmon #30
Comments
You need a cn-agent build from January the 25th or later including commit
TritonDataCenter/sdc-cn-agent@b42d166
Cheers,
El 9 mar. 2017 2:36, "tangfeng123" <[email protected]> escribió:
… Below is the error message. cmon is installed and running smooth. but
cmon-agent have below error.
The attachment is the error log detail with sdcadm -v post-setup cmon 2>&1
| tee post-setup-cmon.log
***@***.*** (bst-1) /]# sdcadm post-setup cmon
Installing cmon-agent [=============================
=========================================>] 100% 6
"cmon-agent" install failed on 6 servers.
sdcadm post-setup cmon: error (MultiError): multiple (6) errors
error (Update): Task 0cdf414c-358f-4280-b566-4df0919e50a8 failed with
error: AgentInstall error: Command failed: cp: cannot access
/opt/smartdc/agents/lib/node_modules/cmon-agent
error (Update): Task 4453cd9b-7164-4339-b7cd-ab9a52f830f7 failed with error: AgentInstall error: Command failed: cp: cannot access /opt/smartdc/agents/lib/node_modules/cmon-agent
error (Update): Task eb959b2b-6015-435e-9734-f1828c94b691 failed with error: AgentInstall error: Command failed: cp: cannot access /opt/smartdc/agents/lib/node_modules/cmon-agent
error (Update): Task 6f93a45a-537c-46bc-8139-dd57a49b055b failed with error: AgentInstall error: Command failed: cp: cannot access /opt/smartdc/agents/lib/node_modules/cmon-agent
error (Update): Task 16c17852-ff39-4e0f-82a6-3aca58b8647d failed with error: AgentInstall error: Command failed: cp: cannot access /opt/smartdc/agents/lib/node_modules/cmon-agent
error (Update): Task bbe218f4-4bfe-4ba2-9a10-613b289c86e1 failed with error: AgentInstall error: Command failed: cp: cannot access /opt/smartdc/agents/lib/node_modules/cmon-agent
log.zip <https://github.com/joyent/sdcadm/files/829473/log.zip>
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#30>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAA0ohoPW0CVV2cjZpMn_zS1_BmnyZ1pks5rj1eGgaJpZM4MXiXE>
.
|
The command must be just:
sdcadm experimental update-agents --latest
without "cn-agent" at all.
Pedro Palazón Candel
[email protected]
…On Wed, Mar 15, 2017 at 7:13 AM, tangfeng123 ***@***.***> wrote:
When I try update the sdc-cn-agent as below there still have something
wrong.
***@***.*** (bst-1) /]# sdcadm experimental update-agents --latest
cn-agent
Finding latest "agentsshar" on updates server (channel "dev")
Latest is agentsshar ee973a68-4aca-4308-a5be-284e3d8822c0 (1.0.0-master-
20170309T222915Z-g707200f)
Finding servers to update
sdcadm experimental update-agents: error: 1 of 1 selected servers were not
found in CNAPI: cn-agent
If there have something wrong with my env?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#30 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAA0otS9Oxdf1057E-gAm7lRBmWFwy3uks5rl4GRgaJpZM4MXiXE>
.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Below is the error message. cmon is installed and running smooth. but cmon-agent have below error.
The attachment is the error log detail with sdcadm -v post-setup cmon 2>&1 | tee post-setup-cmon.log
[root@headnode (bst-1) /]# sdcadm post-setup cmon
Installing cmon-agent [======================================================================>] 100% 6
"cmon-agent" install failed on 6 servers.
sdcadm post-setup cmon: error (MultiError): multiple (6) errors
error (Update): Task 0cdf414c-358f-4280-b566-4df0919e50a8 failed with error: AgentInstall error: Command failed: cp: cannot access /opt/smartdc/agents/lib/node_modules/cmon-agent
log.zip
The text was updated successfully, but these errors were encountered: