[nailgun] Unable to serialize deployment in case no controller is created for env
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Invalid
|
Medium
|
Fuel Python (Deprecated) |
Bug Description
Way to reproduce:
[root@fuel bin]# fuel env create --name ENV --rel 1 -m ha -n neutron --nst gre
Environment 'ENV' with id=1, mode=ha_compact and network-
[root@fuel bin]# fuel node set --node 1 --role compute --env 1
Nodes [1] with roles ['compute'] were added to environment 1
[root@fuel ~]# fuel --env 1 deployment default
HTTP Error 500: Internal Server Error (internal server error)
[root@fuel bin]# tail -n 25 /var/log/
2014-07-16 13:26:24.534 DEBUG [7f79f7fff700] (logger) Response code '200 OK' for PUT /api/nodes/ from 172.18.165.86:55499
2014-07-16 13:26:29.060 DEBUG [7f79f75fe700] (logger) Request GET /api/v1/
2014-07-16 13:26:32.505 ERROR [7f79f75fe700] (logger) Traceback (most recent call last):
File "/opt/nailgun/
return self.handle()
File "/opt/nailgun/
return self._delegate(fn, self.fvars, args)
File "/opt/nailgun/
return handle_class(cls)
File "/opt/nailgun/
return tocall(*args)
File "<string>", line 2, in GET
File "/opt/nailgun/
data = func(*args, **kwargs)
File "/opt/nailgun/
return self._serialize
File "/opt/nailgun/
File "/opt/nailgun/
).serialize
File "/opt/nailgun/
common_attrs = cls.get_
File "/opt/nailgun/
# Assign primary controller in nodes list
IndexError: list index out of range
Expected behavior:
fuel --env 1 deployment default
creates /root/deploymen
description: | updated |
Changed in fuel: | |
milestone: | none → 5.1 |
Changed in fuel: | |
importance: | Undecided → Medium |
assignee: | nobody → Fuel Python Team (fuel-python) |
summary: |
- Unable to serialize deployment in case no controller is created for env + [nailgun] Unable to serialize deployment in case no controller is + created for env |
Ok, I haven't caught the error both on our fake test environment and deployed cluster. Could you please reproduce this bug on latest iso and in case of success provide access to your environment?