weathercloud
October 28th, 2016, 06:05 PM
Having issues with On Prem Landscape deployment. I deployed this on a Digital Ocean droplet and the install went fine. However I just keep getting a time out when I try and register my client. As per other instructions I copied the cert over but still it seems to have an issue. I am able to connect to the host without issue. I am using Ubuntu 16.04 droplet on Digital Ocean.
Error from the client:
HTTPCodeError: Server returned HTTP code 4042016-10-25 12:22:36,538 INFO [MainThread] Message exchange failed.
2016-10-25 12:22:36,539 INFO [MainThread] Message exchange completed in 0.27s.
2016-10-25 12:23:36,544 INFO [MainThread] Queueing message to register with account 'standalone' without a password.
2016-10-25 12:23:36,546 INFO [MainThread] Starting urgent message exchange with http://landscape.myhost.com:8080/message-system.
2016-10-25 12:23:36,624 ERROR [PoolThread-twisted.internet.reactor-1] Error contacting the server at http://landscape.myhost.com:8080/message-system.
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/landscape/broker/transport.py", line 71, in exchange
message_api)
File "/usr/lib/python2.7/dist-packages/landscape/broker/transport.py", line 45, in _curl
headers=headers, cainfo=self._pubkey, curl=curl))
File "/usr/lib/python2.7/dist-packages/landscape/lib/fetch.py", line 115, in fetch
raise HTTPCodeError(http_code, body)
HTTPCodeError: Server returned HTTP code 404
2016-10-25 12:23:36,625 INFO [MainThread] Message exchange failed. 2016-10-25 12:23:36,625 INFO [MainThread] Message exchange completed in 0.08s
I copied the cert from /etc/ssl/certs/landscape_server_ca.crt to client @ /etc/landscape/server.pem
I update the client confit:
[client]log_level = info
url = http://landscape.myhost.com:8080/message-system
ping_url = http://landscape.myhost.com:8080/pin
data_path = /var/lib/landscape/client
include_manager_plugins = ScriptExecution
computer_title = My Web Server
account_name = standalone ssl_public_key = /etc/landscape/server.pem
Error from the client:
HTTPCodeError: Server returned HTTP code 4042016-10-25 12:22:36,538 INFO [MainThread] Message exchange failed.
2016-10-25 12:22:36,539 INFO [MainThread] Message exchange completed in 0.27s.
2016-10-25 12:23:36,544 INFO [MainThread] Queueing message to register with account 'standalone' without a password.
2016-10-25 12:23:36,546 INFO [MainThread] Starting urgent message exchange with http://landscape.myhost.com:8080/message-system.
2016-10-25 12:23:36,624 ERROR [PoolThread-twisted.internet.reactor-1] Error contacting the server at http://landscape.myhost.com:8080/message-system.
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/landscape/broker/transport.py", line 71, in exchange
message_api)
File "/usr/lib/python2.7/dist-packages/landscape/broker/transport.py", line 45, in _curl
headers=headers, cainfo=self._pubkey, curl=curl))
File "/usr/lib/python2.7/dist-packages/landscape/lib/fetch.py", line 115, in fetch
raise HTTPCodeError(http_code, body)
HTTPCodeError: Server returned HTTP code 404
2016-10-25 12:23:36,625 INFO [MainThread] Message exchange failed. 2016-10-25 12:23:36,625 INFO [MainThread] Message exchange completed in 0.08s
I copied the cert from /etc/ssl/certs/landscape_server_ca.crt to client @ /etc/landscape/server.pem
I update the client confit:
[client]log_level = info
url = http://landscape.myhost.com:8080/message-system
ping_url = http://landscape.myhost.com:8080/pin
data_path = /var/lib/landscape/client
include_manager_plugins = ScriptExecution
computer_title = My Web Server
account_name = standalone ssl_public_key = /etc/landscape/server.pem