Delete Host Problem, Host deleted but left overs still in DB
-
Hi,
i crosslink another bug report where i also see wrong credentials while they are right:
https://forums.fogproject.org/topic/10812/cannot-add-pushbullet-account-nothing-happens-when-i-click-on-addi’ve also tried to remove the host by menu (after i allready half deleted it via the web gui) then i get a chainload failed (reboot).
-
Hi,
i could help myself with:
mysql> DELETE FROM hostMAC WHERE hmMAC LIKE '%hostmac%';
But something must be broken with the host deletion?
Maybe this is also related: https://forums.fogproject.org/topic/10696/can-t-delete-host-with-empty-host-name-1-5-0-rc-7
EDIT:
omg whats happening here, after manual deletion of the host i ran another quick registration via the pxe menu, after that i try to give this host his old name but:
The name was it4434 (there must be still something in the db related with this name)
When i search for it4434 there is nothing:
I have the feeling when i now delete the host again while his name is it’s mac that i cannot add it again.
How can i delete that hostname left overs?Help! please
-
@x23piracy delete from hosts where hostname=‘it4434’
-
@tom-elliott ok this worked i can name a new host it4434 again but do you see the bug?
I will now try to remove that host again (regulary)…Ok when i try to remove the same happens again (not wondering):
Can find the host in the host list after that even when its telling me wrong credentials, something has been deleted but only partly. When i now boot into fog menu, its not telling me that the host is still registered, crazy before it told me host is registered.
Bug?
-
@x23piracy I don’t see the bug in working branch, but that could be I noticed something last week and corrected around it already.
-
@tom-elliott i am on wokring branch but not updated, around 1 week old after you released, should i update an reinstall?
-
@x23piracy I’d say git pull update. You are on working, not dev-branch?
-
@tom-elliott sorry sure its dev
-
@x23piracy Then you need to change from
git checkout dev-branch
togit checkout working
git checkout working git pull cd bin ./installfog.sh -y
-
Deleting the host item was working, I suspect a trailing piece was still around causing the issue. Now it seems all is working properly. I don’t think this had anything to do with working/dev-branch though either.
-
Solved in working branch. Thanks Tom.