← Back to team overview

fuel-dev team mailing list archive

Re: error during node allocation

 

Hi,

You can use this simple script to remove node from db

http://paste.openstack.org/show/75545/


On Fri, Apr 11, 2014 at 12:52 PM, Vladimir Kuklin <vkuklin@xxxxxxxxxxxx>wrote:

> Evgeniy, would you please answer? I am not a big nailgun master.
> 11 апр. 2014 г. 12:48 пользователь <samuel.bartel@xxxxxxxxxx> написал:
>
>>  OK thanks Vladimir, i'll create a bug.
>>
>> Otherwise, I would to try to for ce the rediscover of these server. Do
>> you know if there is a way to delete bootstraped node from inventory
>> without flushing the complete nailgun database?
>>
>> Samuel
>>
>>  ------------------------------
>> *De :* Vladimir Kuklin [vkuklin@xxxxxxxxxxxx]
>> *Date d'envoi :* vendredi 11 avril 2014 09:57
>> *À :* BARTEL Samuel NRS
>> *Cc :* fuel-dev@xxxxxxxxxxxxxxxxxxx
>> *Objet :* Re: [Fuel-dev] error during node allocation
>>
>>   Hi, Sam
>>
>>  This looks like some kind of real hardware issue that we do not know
>> about. Would you please create a bug on Launchpad and attach diagnostic
>> snapshot and share all the hardware info that is possible.
>>
>>  Thank you.
>>
>>
>> On Fri, Apr 11, 2014 at 11:48 AM, <samuel.bartel@xxxxxxxxxx> wrote:
>>
>>>   Hello,
>>>
>>> We are trying to create a HA environment with ubuntu release.
>>> the architecture of the plateform is :
>>> 4 servers IBM x3550
>>> 4 HP Proliant BL680c G5
>>>
>>> it seems, there is no problem with HP Fut but during hardware discovery
>>> of the IBM there is an error. Nailgun is not able to collect infromation
>>> about the disk of the servers so:
>>> -the servers are shown with HDD:?GB
>>> -when we try to add one of these node to the environment we have 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/lib/python2.6/site-packages/web/application.py", line 239, in process
>>>     return self.handle()
>>>   File "/opt/nailgun/lib/python2.6/site-packages/web/application.py", line 230, in handle
>>>     return self._delegate(fn, self.fvars, args)
>>>   File "/opt/nailgun/lib/python2.6/site-packages/web/application.py", line 420, in _delegate
>>>     return handle_class(cls)
>>>   File "/opt/nailgun/lib/python2.6/site-packages/web/application.py", line 396, in handle_class
>>>     return tocall(*args)
>>>   File "<string>", line 2, in PUT
>>>   File "/opt/nailgun/lib/python2.6/site-packages/nailgun/api/handlers/base.py", line 62, in content_json
>>>     data = func(*args, **kwargs)
>>>   File "/opt/nailgun/lib/python2.6/site-packages/nailgun/api/handlers/node.py", line 385, in PUT
>>>     node.volume_manager.gen_volumes_info()
>>>   File "/opt/nailgun/lib/python2.6/site-packages/nailgun/volumes/manager.py", line 843, in gen_volumes_info
>>>     min_size = self.expand_generators(volume)['min_size']
>>>   File "/opt/nailgun/lib/python2.6/site-packages/nailgun/volumes/manager.py", line 907, in expand_generators
>>>     for (k, v) in value.iteritems())
>>>   File "/opt/nailgun/lib/python2.6/site-packages/nailgun/volumes/manager.py", line 907, in <genexpr>
>>>     for (k, v) in value.iteritems())
>>>   File "/opt/nailgun/lib/python2.6/site-packages/nailgun/volumes/manager.py", line 900, in expand_generators
>>>     generator, *generator_args)
>>>   File "/opt/nailgun/lib/python2.6/site-packages/nailgun/volumes/manager.py", line 714, in call_generator
>>>     result = generators[generator](*args)
>>>   File "/opt/nailgun/lib/python2.6/site-packages/nailgun/volumes/manager.py", line 704, in <lambda>
>>>     lambda: generators['calc_root_size']() + \
>>>   File "/opt/nailgun/lib/python2.6/site-packages/nailgun/volumes/manager.py", line 720, in _calc_root_size
>>>     size = int(self.disks[0].size * 0.2)
>>> IndexError: list index out of range
>>>
>>>   is this a known issu?
>>>
>>> regards
>>>
>>> Samuel
>>>
>>> _________________________________________________________________________________________________________________________
>>>
>>> Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc
>>> pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler
>>> a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration,
>>> Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci.
>>>
>>> This message and its attachments may contain confidential or privileged information that may be protected by law;
>>> they should not be distributed, used or copied without authorisation.
>>> If you have received this email in error, please notify the sender and delete this message and its attachments.
>>> As emails may be altered, Orange is not liable for messages that have been modified, changed or falsified.
>>> Thank you.
>>>
>>>
>>> --
>>> Mailing list: https://launchpad.net/~fuel-dev
>>> Post to     : fuel-dev@xxxxxxxxxxxxxxxxxxx
>>> Unsubscribe : https://launchpad.net/~fuel-dev
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>>
>>
>>
>>  --
>> Yours Faithfully,
>> Vladimir Kuklin,
>> Fuel Library Tech Lead,
>> Mirantis, Inc.
>> +7 (495) 640-49-04
>> +7 (926) 702-39-68
>> Skype kuklinvv
>> 45bk3, Vorontsovskaya Str.
>> Moscow, Russia,
>> www.mirantis.com <http://www.mirantis.ru/>
>> www.mirantis.ru
>> vkuklin@xxxxxxxxxxxx
>>
>> _________________________________________________________________________________________________________________________
>>
>> Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc
>> pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler
>> a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration,
>> Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci.
>>
>> This message and its attachments may contain confidential or privileged information that may be protected by law;
>> they should not be distributed, used or copied without authorisation.
>> If you have received this email in error, please notify the sender and delete this message and its attachments.
>> As emails may be altered, Orange is not liable for messages that have been modified, changed or falsified.
>> Thank you.
>>
>>

References