ping_url has no default value
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Landscape Client |
Fix Released
|
Low
|
Chris Glass |
Bug Description
If you have a client.conf file with no ping_url value in it, its value becomes "None" and the client will never ping:
2012-09-13 15:45:55,668 ERROR [MainThread] Error contacting ping server at None
Traceback (most recent call last):
File "/usr/lib/
result = context.call(ctx, function, *args, **kwargs)
File "/usr/lib/
return self.currentCon
File "/usr/lib/
return func(*args,**kw)
File "/usr/lib/
raise PyCurlError(
PyCurlError: Error 6: Couldn't resolve host 'None'
It should default to hosted production, like "url" does for the message server.
Related branches
- Mike Milner (community): Approve
- Geoff Teale (community): Approve
-
Diff: 38 lines (+3/-3)3 files modifiedlandscape/deployment.py (+2/-1)
landscape/tests/test_configuration.py (+0/-1)
landscape/tests/test_deployment.py (+1/-1)
Changed in landscape-client: | |
status: | New → In Progress |
assignee: | nobody → Chris Glass (tribaal) |
Changed in landscape-client: | |
status: | In Progress → Fix Committed |
Changed in landscape-client: | |
status: | Fix Committed → Fix Released |