/build/static/layout/Breadcrumb_cap_w.png
03/14/2018 838 views
Using the provisioning tool starting in V8.0 K1000 agents deployed to High Sierra (10.13) via the provisioning tools, i get this network error where AMP connection is not successful. I thought maybe the agent was not supported. But with V8.1 it does the same thing.  Fresh installs of the agent on a new High Sierra install works fine. These Mac's have been in use for a few months and most likely upgraded from Sierra "10.12"  Anyone have any ideas of why the AMP connection does not work? It installs fine, except the connection back to the K1000 can not be established.  

Here is the logs.

[2018-03-14 14:05:34 -0700] 140.107.167.120 [debug] RemoteShell->ReadInternal() - Read from stream: installer: The install was successful.

[2018-03-14 14:05:35 -0700] 140.107.167.120 [debug] RemoteShell->ReadInternal() - Read from stream: "disk4" unmounted.

[2018-03-14 14:05:35 -0700] 140.107.167.120 [debug] RemoteShell->ReadInternal() - Read from stream: "disk4" ejected.

[2018-03-14 14:05:35 -0700] 140.107.167.120 [debug] RemoteShell->ReadInternal() - Read from stream: bash-3.2# kr1521061513-8bash-3.2#
[2018-03-14 14:05:35 -0700] 140.107.167.120 [debug] RemoteShell->ReadInternal() - Encountered prompt: bash-3.2# kr1521061513-8bash-3.2#
[2018-03-14 14:05:35 -0700] 140.107.167.120 [debug] UnixProvisionMgr->agentExists() - Executing command:
ls /Library/Application\ Support/Quest/KACE/bin/konea 2>/dev/null
[2018-03-14 14:05:35 -0700] 140.107.167.120 [debug] RemoteShell->ReadInternal() - Read from stream: /Library/Application Support/Quest/KACE/bin/konea

[2018-03-14 14:05:35 -0700] 140.107.167.120 [debug] RemoteShell->ReadInternal() - Read from stream: bash-3.2#
[2018-03-14 14:05:35 -0700] 140.107.167.120 [debug] RemoteShell->ReadInternal() - Read from stream: kr1521061535-9bash-3.2#
[2018-03-14 14:05:35 -0700] 140.107.167.120 [debug] RemoteShell->ReadInternal() - Encountered prompt: kr1521061535-9bash-3.2#
[2018-03-14 14:05:35 -0700] 140.107.167.120 [debug] UnixProvisionMgr->getInstalledAgentVersion() - Executing command:
cat /Library/Application\ Support/Quest/KACE/data/version /Library/Application\ Support/Dell/KACE/data/version /Library/KBOXAgent/Home/data/version 2>/dev/null
[2018-03-14 14:05:35 -0700] 140.107.167.120 [debug] RemoteShell->ReadInternal() - Read from stream: 8.1.52

[2018-03-14 14:05:35 -0700] 140.107.167.120 [debug] RemoteShell->ReadInternal() - Read from stream: kab-mac-sierra-1.test.kace.com

[2018-03-14 14:05:35 -0700] 140.107.167.120 [debug] RemoteShell->ReadInternal() - Read from stream: build

[2018-03-14 14:05:35 -0700] 140.107.167.120 [debug] RemoteShell->ReadInternal() - Read from stream: ea0a1aa8

[2018-03-14 14:05:35 -0700] 140.107.167.120 [debug] RemoteShell->ReadInternal() - Read from stream: bash-3.2# kr1521061535-10bash-3.2#
[2018-03-14 14:05:35 -0700] 140.107.167.120 [debug] RemoteShell->ReadInternal() - Encountered prompt: bash-3.2# kr1521061535-10bash-3.2#
[2018-03-14 14:06:00 -0700] 140.107.167.120 [debug] UnixProvisionMgr->agentGetInstalledKUID() - Executing command:
(test -f /var/dell/kace/kuid.txt && cat /var/dell/kace/kuid.txt 2>/dev/null) || (test -f /var/quest/kace/kuid.txt && cat /var/quest/kace/kuid.txt 2>/dev/null) || (test -f /var/kace/kagentd/kuid.txt && cat /var/kace/kagentd/kuid.txt 2>/dev/null) || (test -f /Library/Application\ Support/Quest/KACE/data/kuid.txt && cat /Library/Application\ Support/Quest/KACE/data/kuid.txt) || (test -f /Library/Application\ Support/Dell/KACE/data/kuid.txt && cat /Library/Application\ Support/Dell/KACE/data/kuid.txt 2>/dev/null) ; echo
[2018-03-14 14:06:00 -0700] 140.107.167.120 [debug] RemoteShell->ReadInternal() - Read from stream:

[2018-03-14 14:06:00 -0700] 140.107.167.120 [debug] RemoteShell->ReadInternal() - Read from stream: bash-3.2#
[2018-03-14 14:06:00 -0700] 140.107.167.120 [debug] RemoteShell->ReadInternal() - Read from stream: kr1521061560-11bash-3.2#
[2018-03-14 14:06:00 -0700] 140.107.167.120 [debug] RemoteShell->ReadInternal() - Encountered prompt: kr1521061560-11bash-3.2#
[2018-03-14 14:06:00 -0700] 140.107.167.120 [debug] UnixProvisionMgr->agentIsAMPConnected() - Executing command:
ls /Library/Application\ Support/Quest/KACE/data/AMP_CONNECTED /Library/Application\ Support/Dell/KACE/data/AMP_CONNECTED /var/kace/SMMP/SMMP_CONNECTED 2>/dev/null
[2018-03-14 14:06:00 -0700] 140.107.167.120 [debug] RemoteShell->ReadInternal() - Read from stream: bash-3.2#
[2018-03-14 14:06:00 -0700] 140.107.167.120 [debug] RemoteShell->ReadInternal() - Read from stream: kr1521061560-12bash-3.2#
[2018-03-14 14:06:00 -0700] 140.107.167.120 [debug] RemoteShell->ReadInternal() - Encountered prompt: kr1521061560-12bash-3.2#
[2018-03-14 14:06:00 -0700] 140.107.167.120 [notice] KBProvisionTask->scanNode() - Provisioning failed. Result code: 33280
[2018-03-14 14:06:00 -0700] 140.107.167.120 [error] KBProvisionTask->scanNode() - Provisioning error: K1000 agent failed to make an AMP connection.
[2018-03-14 14:06:00 -0700] 140.107.167.120 [notice] KBProvisionTask->scanNode() - Provisioning has completed.
[2018-03-14 14:06:00 -0700] 140.107.167.120 [debug] Ssh2RemoteShell->Disconnect() - Closing connection...
[2018-03-14 14:06:00 -0700] 140.107.167.120 [notice] Ssh2RemoteShell->Disconnect() - Connection closed.
1 Comment   [ + ] Show comment

Comments

  • Additional information. I moved these High Sierra back to the original k1000 running 6.4.180 and they are checking in. However, uninstalling the agent and provisioning with the newer version does work.
    • If you switch kbox hosts, you have to either completely uninstall old agent and install new agent or just push install new agent and do
      amptools host=new.box.host
      amptools retrust
      so set new host (if not in filename) and do a retrust to refresh communication certificate

All Answers

0
Please make sure that those MAC clients can resolve the dns name of the K1000
Answered 03/15/2018 by: AbhayR
Tenth Degree Black Belt

  • Thanks AbhayR. I can ping the server from ssh and it resolves via ping. It might have something do to with the original 6.4.180 agent installed.
    • any news on this problem? I'm working at the exact same problem. On Devices with Beta Mojave 10.14 it works fine.
      • I have not been able to get this resolved. Fresh installs the agent works fine. Only when you upgrade from a previous version of Mac OSX does it not work. If i install the older agent on the same computer it checks in fine with the old Kace server. But there is nothing obvious on why removing the old agent cleanly and installing the new agent that it does not want to establish an AMP connection. Some observations, is that it will connect to the new Kace server 8.1.108 and register. But it wont keep the connection on. Manual checking (runkbot) and it will update but to the server it appears offline all the time. Just gave up at the end. Hoping the next version works better when it comes to Mac Provisioning.
    • An error in the log "Provisioning error: K1000 agent failed to make an AMP connection." indicates that there might be an issue with agent unable to talk to server. This could happen if DNS name is not resolving. Can you check konea.log file on the agent? It should have more details.