Config changes need a client restart, possible re-registration

Bug #1161400 reported by Andreas Hasenack
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
landscape-client (Juju Charms Collection)
New
Undecided
Andreas Hasenack

Bug Description

The client needs to be restarted after configuration changed, and, depending on the key that changed, even re-registered.

In common.py, update_client_configuration():
- if there were changes, the client needs to be restarted (or restart for all changes)
- if these keys changed, the client also needs to register again:
  - ping_url
  - url
  - account_name

There could be others, but I'm not sure what the behavior would be, or in which scenarios they are changed, like "data_path". I think the above list is a good start.

Strictly speaking, a change in ping_url doesn't neeed a re-registration, but I can't see a situation where it will be changed alone without also changing url.

description: updated
description: updated
Changed in landscape-client (Juju Charms Collection):
assignee: nobody → Andreas Hasenack (ahasenack)
status: New → In Progress
Changed in landscape-client (Juju Charms Collection):
status: In Progress → New
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.