Cudet fails to run with custom configuration file
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Invalid
|
Medium
|
Anton Samoylov |
Bug Description
Detailed bug description:
Cudet tool fails on an attempt to apply custom nodes filters (by role, ID, etc.) via custom configuration file.
The issue also occurs when specifying default config file (/usr/share/
Steps to reproduce:
1 Deploy a 9.x cluster (e.g. from snapshot)
2 Install Cudet
yum install -y python-cudet
3 Copy /usr/share/
4 Run the tool specifying config file to use
cudet -c ./cudet-config.yaml
Expected result: the tool is executed according to filter parameters specified in the config file.
Actual result: error occurs with the following trace
[root@nailgun ~]# cudet --config cudet-config.yaml
2016-09-07 08:20:37,558 CRITICAL (nodes) NodeManager: directory %s does not exist
There are no nodes to check
2016-09-07 08:20:37,560 ERROR (utils) Error: unsupported operand type(s) for %: 'NoneType' and 'str'
Traceback (most recent call last):
File "/usr/lib/
f(*args, **kwargs)
File "/usr/lib/
raise e
TypeError: unsupported operand type(s) for %: 'NoneType' and 'str'
Changed in fuel: | |
status: | New → Confirmed |
Changed in fuel: | |
assignee: | nobody → Anton Samoylov (asamoylov) |
Hello Dmitriy,
Did you change 'rqdir', 'rqfile' and 'cudet_db_dir' to actual values in local config file ?