no disk information leading to error during node allocation
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Fix Committed
|
High
|
Ihor Kalnytskyi | ||
4.1.x |
Fix Committed
|
High
|
Ihor Kalnytskyi | ||
5.0.x |
Fix Committed
|
High
|
Ihor Kalnytskyi |
Bug Description
Hello,
We are trying to create a HA environment with ubuntu release.
the architecture of the plateform is :
3 servers IBM System x3550 -[7978B9G]-
1 server IBM System x3550 M3 -[7944W6B]-
4 HP Proliant BL680c G5
each server has the same network configuration :
eth0 trunked : public and admin
eth1 not trunked : pxe
eth2 trunked : storage network
during the nodes discovery, it seems there is a problem with the 3 servers IBM System x3550 -[7978B9G]-
they are seen with no disk : Disks 0 drives, 0 bytes total
where as when connecting on the node with ssh from the fuel master node we've got the following result for 'fdisk -l' command:
Disk /dev/sda: 73.3 GB, 73283928064 bytes
255 heads, 63 sectors/track, 8909 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0009ea9c
Device Boot Start End Blocks Id System
/dev/sda1 * 1 3891 31249408 83 Linux
/dev/sda2 7083 8910 14678017 5 Extended
/dev/sda3 3891 7083 25636863 8e Linux LVM
Partition 3 does not end on cylinder boundary.
/dev/sda5 7083 8910 14678016 82 Linux swap / Solaris
Partition table entries are not in disk order
So there is a disk on the server
So when we try to add them to the environnement we've got the following error
2014-04-11 07:44:30 ERROR [7f907ffff700] (logger) Response code '500 Internal Server Error' for PUT /api/nodes/ from 10.20.1.246:58840
2014-04-11 07:44:30 ERROR [7f907ffff700] (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
Changed in fuel: | |
milestone: | none → 5.0 |
importance: | Undecided → High |
status: | New → Triaged |
tags: | added: backports-4.1.1 |
Changed in fuel: | |
assignee: | nobody → Fuel Python Team (fuel-python) |
tags: | added: customer-found |
Hello,
The problem is that the disks are detected as external (in ServeRaid controllers) and nailgun agent doesn't see them.
Workaround in Fuel 4.1:
ssh to the node: bin/agent
vi /opt/nailgun/
in REMOVABLE_VENDORS add "ServeRA",
exit
You need to do two times, one during bootstrap and another one after the operating system installation.