** Description changed:

  [Impact]
  
- The Ubuntu Xenial installer doesn't offer option to provide http/https
- proxy to be used by Landscape client when selecting "Manage system with
- Landscape" on upgrades management tasksel question. Therefore if system
- is placed behind proxy it will not be able to communicate with Landscape
- server. During system installation installer is asking user to provide
- proxy that is used by APT. It would be suitable that same proxy would be
- used for Landscape.
+ Handle SystemExit exception, as those don't propagate past the reactor.
+ 
+ It is hanging forever in environments (installer-chroot) where the
+ broker will not start.
  
  [Test Case]
  
- Install Ubuntu server behind a proxy and select "Manage system with 
Landscape" on upgrades management tasksel question. The installer should offer 
the option to specify the proxy settings for the landscape-clint and 
successfully apply them to /etc/landscape/client.conf as:
- http_proxy = <your-proxy>
- https_proxy = <your-proxy>
+ To test:
+ 
+ $ ln -s /bin/echo /etc/init.d/landscape-client && sudo ./scripts
+ /landscape-config --silent
+ 
+ Script should timeout and not run forever.
  
  Replace <your-proxy> with your proxy IP/hostname and port if needed.
  
  [Regression Potential]
  
  [Other Info]
+ 
+ * GitHub PR :
+ https://github.com/CanonicalLtd/landscape-client/pull/13
+ 
+ * Upstream commit :
+ 
https://github.com/CanonicalLtd/landscape-client/commit/e0b1b0ca43c13bc65374df13d192405abb3014e6
+ 
+ Stop reactor in landscape-config on broker error
+ Handle SystemExit exception, as those don't propagate past the reactor, in 
order to avoid getting stuck when installed in chroot.
  
  [Original Description]
  
  Ubuntu Xenial installer (ubuntu-16.04.2-server-amd64.iso) doesn't offer
  option to provide http/https proxy to be used by Landscape client when
  selecting "Manage system with Landscape" on upgrades management tasksel
  question.
  
  Therefore if system is placed behind proxy it will not be able to
  communicate with landscapce server.
  
  During system installation installer is asking user to provide proxy
  that is used by APT. It would be suitable that same proxy would be used
  for landscape.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1699789

Title:
  Ubuntu server installer misses http/s proxy settings for Landscape

To manage notifications about this bug go to:
https://bugs.launchpad.net/landscape-client/+bug/1699789/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to