Error when adding a new node, which does not have a HDD
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Won't Fix
|
Wishlist
|
Unassigned |
Bug Description
Hello.
When adding a newly discovered, diskless, node from the webUI on master, the described below error occurs (Rest API source log):
[7ff34cdfa700] (logger) Response code '500 Internal Server Error' for PUT /api/nodes/ from xx.xx.xx.xx:36704
[7ff34cdfa700] (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 PUT
File "/opt/nailgun/
data = func(*args, **kwargs)
File "/opt/nailgun/
node.
File "/opt/nailgun/
min_size = self.expand_
File "/opt/nailgun/
for (k, v) in value.iteritems())
File "/opt/nailgun/
for (k, v) in value.iteritems())
File "/opt/nailgun/
generator, *generator_args)
File "/opt/nailgun/
result = generators[
File "/opt/nailgun/
lambda: generators[
File "/opt/nailgun/
size = int(self.
IndexError: list index out of range
Steps to reproduce:
1) Create a new environment on master
2) Start the new node (without any hdd's), do the "PXE booting" and wait for "automatic boot"
3) On the master, after node's discovery add a new Compute node from the "Unallocated nodes" list and apply changes
As a result I can see that there are "0 unallocated nodes" / "1 total node", however, I'm unable to manage that node from the webUI.
Fuel version: 4.1
Wkr,
Mateusz
Unfortunately, Fuel makes a lot of assumptions roles and volumes and is effectively hard-coded to assume you have at least one disk. So this isn't something that we can currently support. If this is something that you are looking to add support for yourself, then We'd be happy to help you where this may need to be modified