Some clients disappear from web interface but are still present in databse
-
I’m sorry but after upgrade, it’s worst than last week…
This morning I modify some groups, and after that at least 10 pc disappear from web interface, but were still in database.
And since svn 4010, I lost around half computer : 170 in web interface, 315 in database.
I’m a little frightened… -
@Matthieu-Jacquart What are the exact things that cause the deletion?
-
@Tom-Elliott Chat with Jbob :
I can’t be sure, but my impression is : this morning after the week-end patch, some hosts disappear if I made modifications on their own groups. But since svn 4010, hosts disappear (and very quickly…) from all groups, without modifications made
-
I don’t think, and I’m fairly sure, it’s not at all related to the groups, directly.
Can you please post the fog.log file of one of the hosts that did disappear?
-
I’ll paste log in chat, because on forum I’ve this error message :
Post content was flagged as spam by Akismet.com
-
I experienced this issue today, currently working from git version 4644 (so it’s a few days old). I’ve had about five computers disappear from the web interface throughout the day, but they remain in the database.
Also, and I’m not sure it’s related, but the service settings on some of my hosts are being changed regularly. I have one computer in particular that will regularly have all of it’s services turned off for some reason. I then turn them back on, and it’s good for a few hours before the settings get wiped again.
I’m leaving work for the day and have the next two days off, but when I get back I’ll make a separate thread for the services issue if it’s still a problem.
-
Please update to stop the disappearing hosts. I’d even state, if you’re running trunk and the new client, UPGRADE IMMEDIATELY please.
I’m sorry it’s been so difficult to track down. Hopefully it is now corrected for. Please test.
We did patch a bug on the mac address, though, but apparently it made hosts disappear even faster. Jbob and I have narrowed it down to one thing. There is a load function that was occurring, but deleting the host primary mac. I’m so sorry…
Please forgive me? -
I updated and restore database from last save (last week-end), and 1 hour later at least 3 hosts disappear, on 3 different groups, I made no changes…
edit : we forgive you, you all make great job
-
@Matthieu-Jacquart said:
I updated and restore database from last save (last week-end), and 1 hour later at least 3 hosts disappear, on 3 different groups, I made no changes…
edit : we forgive you, you all make great job
I can confirm this bad news.
I wanted to control my database, and I made this request in phpmyadmin:
SELECT * FROMhosts
WHEREhostID
NOT IN (SELECThmhostID
FROMhostMAC
)
It returned 93 results
10 minutes later, the same request returned 101 results.
No operation made on fog interface between the requests.Do I need to upgrade client too ? I don’t think so, some disappeared computers have legacy client installed
-
@Claude-Girard said:
@Matthieu-Jacquart said:
I updated and restore database from last save (last week-end), and 1 hour later at least 3 hosts disappear, on 3 different groups, I made no changes…
edit : we forgive you, you all make great job
I can confirm this bad news.
I wanted to control my database, and I made this request in phpmyadmin:
SELECT * FROMhosts
WHEREhostID
NOT IN (SELECThmhostID
FROMhostMAC
)
It returned 93 results
10 minutes later, the same request returned 101 results.
No operation made on fog interface between the requests.Do I need to upgrade client too ? I don’t think so, some disappeared computers have legacy client installed
That returned 41 rows for me… and I’m using the legacy client…
I’m going to restore a previous snapshot and see if that number decreases.
Yes, I’ve confirmed that the snapshot I just restored - when I ran that command, i got an empty set returned… ouch.
I’m not updating till we know this is fixed.
However I’m happy to update as much as the @Developers would like at home.
-
Oops, just seen this - I guess I was searching for the wrong things - although I ended up doing everything else mentioned here…
I’ll watch with intrigue…
-
@Claude-Girard @Matthieu-Jacquart @Wayne-Workman @Trevelyan @Brian-David
I need the fog.log file from disappeared hosts (preferably relatively soon after they vanished). Logs from the new client will be most helpful. -
How do I send it ? MP ?
-
@Claude-Girard said:
How do I send it ? MP ?
Just upload it to the forums, @Jbob can get it that way.
-
Ok, I’m making a test : I empty database from all hosts and everything associated to hosts.
After that, I import all hosts with a csv file, and I’m putting them in their groups to modify parameters.
I started around 1 hour, for the moment all my hosts are still present… -
@Matthieu-Jacquart said:
I started around 1 hour, for the moment all my hosts are still present…
After restoring backup:
I deleted groups, and recreate them, include hosts in groups.
After 2 hours, hosts are still present.
But now some hosts dissapear from some groups. -
@Claude-Girard So what you’re saying is, everything was fine for nearly 2 hours, then they just started removing themselves? Do you have multiple nodes? If you do have multiples, are they all on the same revision?
-
@Tom-Elliott said:
@Claude-Girard So what you’re saying is, everything was fine for nearly 2 hours, then they just started removing themselves? Do you have multiple nodes? If you do have multiples, are they all on the same revision?
No, hosts are presents and stay presents, but some groups are modified, hosts disappear from group members only
-
@Claude-Girard WHEW
Thank you,
While that is an issue on it’s own, at least the host’s (themselves) are still in tact.
-
What are the steps I can take to attempt reproducing hosts losing their group associations?