On December 2, 2017 12:57 pm, Alfredo Moralejo Alonso wrote:
On Sat, Dec 2, 2017 at 11:56 AM, Javier Pena <jp...@redhat.com> wrote:

Hi all,

We had another nodepool outage this morning. Around 9:00 UTC, amoralej
noticed that no new jobs were being processed. He restarted nodepool, and I
helped him later with some stale node cleanup. Nodepool started creating
VMs successfully around 10:00 UTC.

On a first look at the logs, we see no new messages after 7:30 (not even
DEBUG logs), but I was unable to run more troubleshooting steps because the
service was already restarted.

That's odd, though the root logger was still at the WARNING loglevel,
I've bump it to DEBUG too so that hopefully we'll get more logs
from gear, shade, paramiko.


In case it helps, i could run successfully both "nodepool list" and
"nodepool delete <id> --now" (for a couple of instances in delete status)
before restarting nodepool.

IIRC, the nodepool command talk directly to the database and the provider,
so it's a separate process from the nodepool-launcher service.

However nothing appeared in logs and no
instances were created for jobs in queue so i restarted nodepool-launcher
(my understanding was that it fixed similar situations in the past) before
Javier started working on it.

FTR, the service is called nodepool-launcher, but in nodepoolv2
terminology it's actually the nodepoold daemon.


We will go through the logs on Monday to investigate what happened during
the outage.

It seems like the services stopped at 07:30, it should have been dumping
AllocationRequest debug every 10 seconds. It's unclear what the service
was doing, perhaps the next time we could try dumping it's stacktrace
like so (gdb and python debuginfo are now already installed):

gdb --batch --eval-command="thread apply all bt" --eval-command=bt -p \
 $(ps ax | grep nodepoold | awk '/python2/ { print $1 }') > 
/root/nodepoold.debug

Regards,
-Tristan

Regards,
Javier


Attachment: pgp56xVYK2GN2.pgp
Description: PGP signature

_______________________________________________
dev mailing list
dev@lists.rdoproject.org
http://lists.rdoproject.org/mailman/listinfo/dev

To unsubscribe: dev-unsubscr...@lists.rdoproject.org

Reply via email to