landscape-config crashes if there is more than one tag, can't register computer
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Landscape Client |
Fix Released
|
High
|
Chris Glass |
Bug Description
Trunk revision 725
# cat /etc/landscape/
[client]
ping_url = http://
url = https:/
# hi andreas
tags = check,linode,
computer_title = ls3-precise
registration_key = some-secret
include_
script_users = ALL
account_name = landscape-devel
# landscape-config
(...)
Script users [ALL]:
You may provide tags for this computer e.g. server,precise.
Tags [['check', 'linode', 'package-
'list' object has no attribute 'split'
Aborting Landscape configuration
root@ls3-precise:~#
And you get this in the broker log if you tried landscape-config --silent:
2013-09-20 17:45:08,383 ERROR [MainThread] Error running event handler landscape.
Traceback (most recent call last):
File "/usr/lib/
results.
File "/usr/lib/
if not is_valid_
File "/usr/lib/
tags = [tag.strip() for tag in tag_list.
AttributeError: 'list' object has no attribute 'split'
Related branches
- Adam Collard (community): Approve
- Free Ekanayaka (community): Approve
-
Diff: 53 lines (+18/-3)3 files modifiedlandscape/broker/tests/test_config.py (+13/-0)
landscape/deployment.py (+4/-2)
landscape/tests/test_configuration.py (+1/-1)
tags: | removed: kanban |
description: | updated |
description: | updated |
summary: |
- landscape-config crashes if there is more than one tag + landscape-config crashes if there is more than one tag, can't register + computer |
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 |