Public bug reported: Trying to register a new device with launchpad-client, press enter at all options to have a deefault configuration. Errors out with:
Traceback (most recent call last): Failure: landscape.lib.amp.MethodCallError: timeout broker.log shows: 2018-10-24 23:48:42,202 INFO [MainThread] Broker stopped with config /etc/landscape/client.conf 2018-10-24 23:48:56,130 INFO [MainThread] Broker started with config /etc/landscape/client.conf 2018-10-24 23:48:57,776 ERROR [MainThread] Error running event handler landscape.client.broker.registr ation.RegistrationHandler._handle_pre_exchange() for event type 'pre-exchange' with args () {}. Traceback (most recent call last): File "/usr/lib/python3/dist-packages/landscape/lib/reactor.py", line 90, in fire results.append(handler(*args, **kwargs)) File "/usr/lib/python3/dist-packages/landscape/client/broker/registration.py", line 192, in _handle_pre _exchange "vm-info": get_vm_info()} File "/usr/lib/python3/dist-packages/landscape/lib/vm_info.py", line 29, in get_vm_info vendor = _get_vm_by_vendor(dmi_vendor_path) File "/usr/lib/python3/dist-packages/landscape/lib/vm_info.py", line 62, in _get_vm_by_vendor vendor = read_text_file(sys_vendor_path).lower() File "/usr/lib/python3/dist-packages/landscape/lib/fs.py", line 73, in read_text_file content = read_binary_file(path).decode("utf-8") UnicodeDecodeError: 'utf-8' codec can't decode byte 0xff in position 0: invalid start byte 2018-10-24 23:48:57,784 INFO [MainThread] Starting urgent message exchange with https://landscape.can onical.com/message-system. 2018-10-24 23:48:58,357 INFO [PoolThread-twisted.internet.reactor-0] Sent 554 bytes and received 90 b ytes in 0.54s. 2018-10-24 23:48:58,404 INFO [MainThread] Switching to normal exchange mode. 2018-10-24 23:48:58,410 INFO [MainThread] Message exchange completed in 0.63s. ** Affects: landscape-client (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1799843 Title: Failed to register device: landscape.client.broker.registr ation.RegistrationHandler To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/landscape-client/+bug/1799843/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs