Can't register client - Quickstart Premises config

Asked by Thomas

I installed Landscape server on Ubuntu 16.04. Console comes up OK. When I tried to register client, it fails. We do use a proxy for internet access - but I assume not too relevant because it is an on-premise instance of landscape-server.

----------------------- version info -------------------------
root@fmc103138:/var/log/landscape# /usr/bin/python /usr/bin/landscape-client --version
16.03+bzr834-0ubuntu2
root@fmc103138:/var/log/landscape# /usr/bin/python /usr/bin/landscape-monitor --version
16.03+bzr834-0ubuntu2
root@fmc103138:/var/log/landscape# /usr/bin/python /usr/bin/landscape-manager --version
16.03+bzr834-0ubuntu2

Here is the client registration, applicable fail log entry and other background:

----------------------- Client Registration ----------------------

root@fmc103138:/etc/facter/facts.d# landscape-config --computer-title "My Landscape Server" --account-name standalone --url https://fmc103138.fsillab.ford.com/message-system --ping-url http://fmc103138.fsillab.ford.com/ping

The Landscape client must be started on boot to operate correctly.

Start Landscape client on boot? (Y/n):

This script will interactively set up the Landscape client. It will
ask you a few questions about this computer and your Landscape
account, and will submit that information to the Landscape server.
After this computer is registered it will need to be approved by an
account administrator on the pending computers page.

Please see https://landscape.canonical.com for more information.

A registration key may be associated with your Landscape
account to prevent unauthorized registration attempts. This
is not your personal login password. It is optional, and unless
explicitly set on the server, it may be skipped here.

If you don't remember the registration key you can find it
at https://landscape.canonical.com/account/standalone

Account registration key:

The Landscape client communicates with the server over HTTP and
HTTPS. If your network requires you to use a proxy to access HTTP
and/or HTTPS web sites, please provide the address of these
proxies now. If you don't use a proxy, leave these fields empty.

HTTP proxy URL [http://19.12.2.40:83]:
HTTPS proxy URL [http://19.12.2.40:83]:

Landscape has a feature which enables administrators to run
arbitrary scripts on machines under their control. By default this
feature is disabled in the client, disallowing any arbitrary script
execution. If enabled, the set of users that scripts may run as is
also configurable.

Enable script execution? [y/N]y

By default, scripts are restricted to the 'landscape' and
'nobody' users. Please enter a comma-delimited list of users
that scripts will be restricted to. To allow scripts to be run
by any user, enter "ALL".

Script users: ALL

You may provide an access group for this computer e.g. webservers.

Access group: landscapeservers

You may provide tags for this computer e.g. server,precise.

Tags: landscape,16.04,ubuntu,xenial

Tag names may only contain alphanumeric characters.

Tags: landscape,1604,ubuntu,xenial
[ ok ] Restarting landscape-client (via systemctl): landscape-client.service.
Please wait...

Request a new registration for this computer now? (Y/n):

We were unable to contact the server.
Your internet connection may be down. The landscape client will continue to try and contact the server periodically.

----------------------- Check processes ----------------------

root@fmc103138:/etc/landscape# pgrep -a lands
11331 /usr/bin/python /usr/bin/landscape-client --daemon --pid-file /var/run/landscape/landscape-client.pid
11334 /usr/bin/python /usr/bin/landscape-broker --ignore-sigint --quiet
11335 /usr/bin/python /usr/bin/landscape-monitor --ignore-sigint --quiet
11339 /usr/bin/python /usr/bin/landscape-manager --ignore-sigint --quiet

---------------------- Check ports -----------------------

root@fmc103138:/etc/landscape# nmap 19.86.103.138

Starting Nmap 7.01 ( https://nmap.org ) at 2016-09-16 08:31 EDT
Nmap scan report for fmc103138.fsillab.ford.com (19.86.103.138)
Host is up (0.0000060s latency).
Not shown: 990 closed ports
PORT STATE SERVICE
22/tcp open ssh
25/tcp open smtp
80/tcp open http
443/tcp open https
8080/tcp open http-proxy
8090/tcp open unknown
9080/tcp open glrpc
9090/tcp open zeus-admin
9099/tcp open unknown
9100/tcp open jetdirect

------------------- Broker log ---------------------

2016-09-16 08:33:20,773 INFO [MainThread] Starting urgent message exchange with https://fmc103138.fsillab.ford.com/message-system.
2016-09-16 08:33:20,778 ERROR [PoolThread-twisted.internet.reactor-0] Error contacting the server at https://fmc103138.fsillab.ford.com/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 109, in fetch
    raise PyCurlError(e.args[0], e.args[1])
PyCurlError: Error 56: Received HTTP code 503 from proxy after CONNECT
2016-09-16 08:33:20,779 INFO [MainThread] Message exchange failed.
2016-09-16 08:33:20,779 INFO [MainThread] Message exchange completed in 0.01s.

Question information

Language:
English Edit question
Status:
Expired
For:
Landscape Server Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Launchpad Janitor (janitor) said :
#1

This question was expired because it remained in the 'Open' state without activity for the last 15 days.