2013-09-20 17:48:33 |
Andreas Hasenack |
bug |
|
|
added bug |
2013-09-20 17:48:35 |
LKK Automation |
tags |
defect kanban |
defect |
|
2013-09-20 17:49:59 |
Andreas Hasenack |
description |
Trunk revision 725
# cat /etc/landscape/client.conf
[client]
ping_url = http://staging.landscape.canonical.com/ping
url = https://staging.landscape.canonical.com/message-system
# hi andreas
tags = check,linode,package-profile-test
computer_title = ls3-precise
registration_key = some-secret
include_manager_plugins = ScriptExecution
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-profile-test']]:
'list' object has no attribute 'split'
Aborting Landscape configuration
root@ls3-precise:~# |
Trunk revision 725
# cat /etc/landscape/client.conf
[client]
ping_url = http://staging.landscape.canonical.com/ping
url = https://staging.landscape.canonical.com/message-system
# hi andreas
tags = check,linode,package-profile-test
computer_title = ls3-precise
registration_key = some-secret
include_manager_plugins = ScriptExecution
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-profile-test']]:
'list' object has no attribute 'split'
Aborting Landscape configuration
root@ls3-precise:~#
And you get this in the broker log:
2013-09-20 17:45:08,383 ERROR [MainThread] Error running event handler landscape.broker.registration.RegistrationHandler._handle_pre_exchange() for event type 'pre-exchange' with args () {}.
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/landscape/reactor.py", line 92, in fire
results.append(handler(*args, **kwargs))
File "/usr/lib/python2.7/dist-packages/landscape/broker/registration.py", line 261, in _handle_pre_exchange
if not is_valid_tag_list(tags):
File "/usr/lib/python2.7/dist-packages/landscape/lib/tag.py", line 17, in is_valid_tag_list
tags = [tag.strip() for tag in tag_list.split(",")]
AttributeError: 'list' object has no attribute 'split' |
|
2013-09-20 17:50:52 |
Andreas Hasenack |
description |
Trunk revision 725
# cat /etc/landscape/client.conf
[client]
ping_url = http://staging.landscape.canonical.com/ping
url = https://staging.landscape.canonical.com/message-system
# hi andreas
tags = check,linode,package-profile-test
computer_title = ls3-precise
registration_key = some-secret
include_manager_plugins = ScriptExecution
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-profile-test']]:
'list' object has no attribute 'split'
Aborting Landscape configuration
root@ls3-precise:~#
And you get this in the broker log:
2013-09-20 17:45:08,383 ERROR [MainThread] Error running event handler landscape.broker.registration.RegistrationHandler._handle_pre_exchange() for event type 'pre-exchange' with args () {}.
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/landscape/reactor.py", line 92, in fire
results.append(handler(*args, **kwargs))
File "/usr/lib/python2.7/dist-packages/landscape/broker/registration.py", line 261, in _handle_pre_exchange
if not is_valid_tag_list(tags):
File "/usr/lib/python2.7/dist-packages/landscape/lib/tag.py", line 17, in is_valid_tag_list
tags = [tag.strip() for tag in tag_list.split(",")]
AttributeError: 'list' object has no attribute 'split' |
Trunk revision 725
# cat /etc/landscape/client.conf
[client]
ping_url = http://staging.landscape.canonical.com/ping
url = https://staging.landscape.canonical.com/message-system
# hi andreas
tags = check,linode,package-profile-test
computer_title = ls3-precise
registration_key = some-secret
include_manager_plugins = ScriptExecution
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-profile-test']]:
'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.broker.registration.RegistrationHandler._handle_pre_exchange() for event type 'pre-exchange' with args () {}.
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/landscape/reactor.py", line 92, in fire
results.append(handler(*args, **kwargs))
File "/usr/lib/python2.7/dist-packages/landscape/broker/registration.py", line 261, in _handle_pre_exchange
if not is_valid_tag_list(tags):
File "/usr/lib/python2.7/dist-packages/landscape/lib/tag.py", line 17, in is_valid_tag_list
tags = [tag.strip() for tag in tag_list.split(",")]
AttributeError: 'list' object has no attribute 'split' |
|
2013-09-20 17:52:11 |
Andreas Hasenack |
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 |
|
2013-09-23 09:49:57 |
Chris Glass |
landscape-client: status |
New |
In Progress |
|
2013-09-23 09:50:00 |
Chris Glass |
landscape-client: assignee |
|
Chris Glass (tribaal) |
|
2013-09-23 13:31:08 |
Chris Glass |
branch linked |
|
lp:~tribaal/landscape-client/fix-1228301-config-object-auto-list |
|
2013-09-23 14:51:51 |
🤖 Landscape Builder |
landscape-client: status |
In Progress |
Fix Committed |
|
2013-10-07 14:58:49 |
Andreas Hasenack |
landscape-client: status |
Fix Committed |
Fix Released |
|