[Rdo-list] [rdo-manager] node locked by localhost.localdomain

Mohammed Arafa mohammed.arafa at gmail.com
Wed May 4 22:58:22 UTC 2016


to give some background on my environment:
my undercloud is a vm
i have 3 of them.
one that worked up to last sunday was from a snapshot of the repo i took in
november 2015.lets call it "Rdo-vm-1"
the other 2 are updated/latest.

i have 4 physical machines.
i am currently trying to do the basic physical server deployment of 1
compute and 1 controller. i was using rdo-vm-1 as my control as i had
problems with some physical servers.

now, i have done this so often that i have a scrpt that will tear down my
overrcloud and ironic nodes and rebuild it. there are no variables.

to clean up i delete the stack, the nova instances and the ironic nodes.
then i do follow the documentation, i do know i am doing it right coz the
script would at times deploy the overcloud.

only concerns i have are:
a) i am running the 3VMs at the same time. logic says they shouldnt be any
overlap unless i misconfigured something
b) i hit this bug: https://bugzilla.redhat.com/show_bug.cgi?id=1249139 -
has this been resolved and packaged? for liberty or mitaka?

On Wed, May 4, 2016 at 7:11 AM, Mohammed Arafa <mohammed.arafa at gmail.com>
wrote:

> Yes
> On May 4, 2016 7:05 AM, "Ignacio Bravo" <ibravo at ltgfederal.com> wrote:
>
>> Did you try doing an ironic node-delete and recreating the node again?
>>
>> IB
>>
>> On May 4, 2016, at 6:59 AM, Mohammed Arafa <mohammed.arafa at gmail.com>
>> wrote:
>>
>> oh and ironic node-show $id indicates that there are no reservations on
>> these nodes but it still says locked!
>>
>> On Wed, May 4, 2016 at 6:50 AM, Mohammed Arafa <mohammed.arafa at gmail.com>
>> wrote:
>>
>>> so late last night i had this problem and searched google and found
>>> myself asking the same question after 4 months.
>>>
>>> it appears there is a way (still untested by me but hopefully someone
>>> here can verify) to remove the lock
>>> https://bugs.launchpad.net/ironic/+bug/1250348 states to run
>>>    ironic node-update ba28de78-f300-4adb-b3e9-eb2ff137f8d7 replace
>>> reservation=fake
>>>
>>> i am kind of leery of setting it to fake tho
>>>
>>>
>>> On Tue, Jan 26, 2016 at 11:46 AM, Mohammed Arafa <
>>> mohammed.arafa at gmail.com> wrote:
>>>
>>>> I did an ironic node delete * and did everything over again. No lock. I
>>>> did not change my hosts file.
>>>> Strange behaviour though
>>>> On Jan 26, 2016 10:22 AM, "Ignacio Bravo" <ibravo at ltgfederal.com>
>>>> wrote:
>>>>
>>>>> This is what I have in my undercloud VM /etc/hosts file:
>>>>>
>>>>>
>>>>>
>>>>> 127.0.0.1   undercloud.mydomain undercloud localhost
>>>>> localhost.localdomain localhost4 localhost4.localdomain4
>>>>>
>>>>> ::1         localhost localhost.localdomain localhost6
>>>>> localhost6.localdomain6
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>>
>>>>> *Ignacio Bravo*
>>>>>
>>>>> *LTG Federal*
>>>>>
>>>>> ibravo at ltgfederal.com
>>>>>
>>>>>
>>>>>
>>>>> *From:* rdo-list-bounces at redhat.com [mailto:
>>>>> rdo-list-bounces at redhat.com] *On Behalf Of *Mohammed Arafa
>>>>> *Sent:* Tuesday, January 26, 2016 7:52 AM
>>>>> *To:* rdo-list at redhat.com
>>>>> *Subject:* [Rdo-list] [rdo-manager] node locked by
>>>>> localhost.localdomain
>>>>>
>>>>>
>>>>>
>>>>> hi
>>>>>
>>>>> i am attempting introspection (for the umpteenth time) and i keep
>>>>> getting the error that says node is locked by localhost.localdomain.
>>>>>
>>>>> it is extremely puzzling because i have a line in /etc/hosts just for
>>>>> my undercloud.
>>>>>
>>>>> (hmm.. does my 127.0.0.1 undercloud.hostname need to be on its own
>>>>> line or with the 127.0.0.1 locahost.localdomain line?)
>>>>>
>>>>> i found an rhosp bug since last year with no activity (1232997)
>>>>> that  indicate the node may be a duplicate. however i am performing an
>>>>> ironic node-delete uuid before beginning introspection.
>>>>>
>>>>>
>>>>> anybody got any any ideas?
>>>>>
>>>>> --
>>>>>
>>>>>
>>>>> <https://candidate.peoplecert.org/ReportsLink.aspx?argType=1&id=13D642E995903C076FA394F816CC136539DBA6A32D7305539E4219F5A650358C02CA2ED9F1F26319&AspxAutoDetectCookieSupport=1>
>>>>>
>>>>> *805010942448935*
>>>>> <https://www.redhat.com/wapps/training/certification/verify.html?certNumber=805010942448935&verify=Verify>
>>>>>
>>>>> *GR750055912MA*
>>>>> <https://candidate.peoplecert.org/ReportsLink.aspx?argType=1&id=13D642E995903C076FA394F816CC136539DBA6A32D7305539E4219F5A650358C02CA2ED9F1F26319&AspxAutoDetectCookieSupport=1>
>>>>>
>>>>> *Link to me on LinkedIn <http://www.linkedin.com/in/mohammedarafa>*
>>>>>
>>>>>
>>>>>
>>>>
>>>
>>>
>>> --
>>>
>>>
>>> <https://candidate.peoplecert.org/ReportsLink.aspx?argType=1&id=13D642E995903C076FA394F816CC136539DBA6A32D7305539E4219F5A650358C02CA2ED9F1F26319&AspxAutoDetectCookieSupport=1>
>>>
>>> *805010942448935*
>>> <https://www.redhat.com/wapps/training/certification/verify.html?certNumber=805010942448935&verify=Verify>
>>>
>>> *GR750055912MA*
>>> <https://candidate.peoplecert.org/ReportsLink.aspx?argType=1&id=13D642E995903C076FA394F816CC136539DBA6A32D7305539E4219F5A650358C02CA2ED9F1F26319&AspxAutoDetectCookieSupport=1>
>>>
>>> *Link to me on LinkedIn <http://www.linkedin.com/in/mohammedarafa>*
>>>
>>
>>
>>
>> --
>>
>>
>> <https://candidate.peoplecert.org/ReportsLink.aspx?argType=1&id=13D642E995903C076FA394F816CC136539DBA6A32D7305539E4219F5A650358C02CA2ED9F1F26319&AspxAutoDetectCookieSupport=1>
>>
>> *805010942448935*
>> <https://www.redhat.com/wapps/training/certification/verify.html?certNumber=805010942448935&verify=Verify>
>>
>> *GR750055912MA*
>> <https://candidate.peoplecert.org/ReportsLink.aspx?argType=1&id=13D642E995903C076FA394F816CC136539DBA6A32D7305539E4219F5A650358C02CA2ED9F1F26319&AspxAutoDetectCookieSupport=1>
>>
>> *Link to me on LinkedIn <http://www.linkedin.com/in/mohammedarafa>*
>>
>>


-- 

<https://candidate.peoplecert.org/ReportsLink.aspx?argType=1&id=13D642E995903C076FA394F816CC136539DBA6A32D7305539E4219F5A650358C02CA2ED9F1F26319&AspxAutoDetectCookieSupport=1>

*805010942448935*
<https://www.redhat.com/wapps/training/certification/verify.html?certNumber=805010942448935&verify=Verify>

*GR750055912MA*
<https://candidate.peoplecert.org/ReportsLink.aspx?argType=1&id=13D642E995903C076FA394F816CC136539DBA6A32D7305539E4219F5A650358C02CA2ED9F1F26319&AspxAutoDetectCookieSupport=1>

*Link to me on LinkedIn <http://www.linkedin.com/in/mohammedarafa>*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rdoproject.org/pipermail/dev/attachments/20160504/3f057855/attachment.html>


More information about the dev mailing list