Fuel CLI throws error
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Invalid
|
Medium
|
Maciej Kwiek | ||
5.0.x |
Won't Fix
|
Medium
|
Fuel Python (Deprecated) | ||
5.1.x |
Won't Fix
|
Medium
|
Fuel Python (Deprecated) | ||
6.0.x |
Won't Fix
|
Medium
|
Fuel Python (Deprecated) | ||
7.0.x |
Won't Fix
|
Medium
|
Fuel Python (Deprecated) |
Bug Description
This bug was found on 5.0.1 environment. When you run
fuel node
it generates this error
[root@fuel ~]# fuel node | grep control
Traceback (most recent call last):
File "/usr/bin/fuel", line 9, in <module>
load_
File "/usr/lib/
handle_
File "/usr/lib/
return func(*args, **kwargs)
File "/usr/lib/
parser.parse()
File "/usr/lib/
actions[
File "/usr/lib/
method(params)
File "/usr/lib/
node_collection = NodeCollection.
File "/usr/lib/
return cls(Node.get_all())
File "/usr/lib/
return map(cls.
File "/usr/lib/
return cls.connection.
File "/usr/lib/
request.read()
File "/usr/lib64/
return _default_
File "/usr/lib64/
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib64/
obj, end = self._scanner.
File "/usr/lib64/
rval, next_pos = action(m, context)
File "/usr/lib64/
value, end = iterscan(s, idx=end, context=
File "/usr/lib64/
rval, next_pos = action(m, context)
File "/usr/lib64/
key, end = scanstring(s, end, encoding, strict)
ValueError: Unterminated string starting at: line 1 column 57056 (char 57056)
This issue is sporadic. "fule node" may work on one run then may throw error, then work again.
Changed in fuel: | |
assignee: | nobody → Fuel Python Team (fuel-python) |
Changed in fuel: | |
importance: | Undecided → Medium |
Changed in fuel: | |
status: | New → Confirmed |
Changed in fuel: | |
milestone: | none → 6.1 |
Changed in fuel: | |
assignee: | Fuel Python Team (fuel-python) → Roman Prykhodchenko (romcheg) |
Changed in fuel: | |
milestone: | 6.1 → 7.0 |
no longer affects: | fuel/8.0.x |
Changed in fuel: | |
milestone: | 7.0 → 8.0 |
Changed in fuel: | |
assignee: | Fuel Python Team (fuel-python) → Maciej Kwiek (maciej-iai) |
tags: | added: area-python |
Additional error from the same environment:
[root@fuel ~]# fuel nodes entry_point( 'fuelclient= =0.2', 'console_scripts', 'fuel')() python2. 6/site- packages/ fuelclient/ cli/error. py", line 88, in wrapper exceptions( exc) python2. 6/site- packages/ fuelclient/ cli/error. py", line 86, in wrapper python2. 6/site- packages/ fuelclient/ cli/parser. py", line 144, in main python2. 6/site- packages/ fuelclient/ cli/parser. py", line 76, in parse parsed_ params. action] .action_ func(parsed_ params) python2. 6/site- packages/ fuelclient/ cli/actions/ base.py" , line 43, in action_func python2. 6/site- packages/ fuelclient/ cli/actions/ node.py" , line 232, in list get_all( ) python2. 6/site- packages/ fuelclient/ objects/ node.py" , line 149, in get_all python2. 6/site- packages/ fuelclient/ objects/ base.py" , line 62, in get_all init_with_ data, cls.get_all_data()) python2. 6/site- packages/ fuelclient/ objects/ base.py" , line 58, in get_all_data get_request( cls.class_ api_path) python2. 6/site- packages/ fuelclient/ client. py", line 92, in get_request python2. 6/json/ __init_ _.py", line 307, in loads decoder. decode( s) python2. 6/json/ decoder. py", line 319, in decode python2. 6/json/ decoder. py", line 336, in raw_decode iterscan( s, **kw).next() python2. 6/json/ scanner. py", line 55, in iterscan python2. 6/json/ decoder. py", line 217, in JSONArray context) .next() python2. 6/json/ scanner. py", line 55, in iterscan python2. 6/json/ decoder. py", line 183, in JSONObject context) .next() python2. 6/json/ scanner. py", line 55, in iterscan python2. 6/json/ decoder. py", line 183, in JSONObject context) .next() python2. 6/json/ scanner. py", line 55, in iterscan python2. 6/json/ decoder. py", line 217, in JSONArray context) .next() python2. 6/json/ scanner. py", line 55, in iterscan python2. 6/json/ decoder. py", line 193, in JSONObject errmsg( "Expecting , delimiter", s, end - 1))
Traceback (most recent call last):
File "/usr/bin/fuel", line 9, in <module>
load_
File "/usr/lib/
handle_
File "/usr/lib/
return func(*args, **kwargs)
File "/usr/lib/
parser.parse()
File "/usr/lib/
actions[
File "/usr/lib/
method(params)
File "/usr/lib/
node_collection = NodeCollection.
File "/usr/lib/
return cls(Node.get_all())
File "/usr/lib/
return map(cls.
File "/usr/lib/
return cls.connection.
File "/usr/lib/
request.read()
File "/usr/lib64/
return _default_
File "/usr/lib64/
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib64/
obj, end = self._scanner.
File "/usr/lib64/
rval, next_pos = action(m, context)
File "/usr/lib64/
value, end = iterscan(s, idx=end, context=
File "/usr/lib64/
rval, next_pos = action(m, context)
File "/usr/lib64/
value, end = iterscan(s, idx=end, context=
File "/usr/lib64/
rval, next_pos = action(m, context)
File "/usr/lib64/
value, end = iterscan(s, idx=end, context=
File "/usr/lib64/
rval, next_pos = action(m, context)
File "/usr/lib64/
value, end = iterscan(s, idx=end, context=
File "/usr/lib64/
rval, next_pos = action(m, context)
File "/usr/lib64/
raise ValueError(
ValueError: Expecting , delimiter: line 1 column 57071 (char 57071)