[ADMIN_API]: Fix node status change in scheduler

DB driver needs ints cast correcly.  Also log error appropriately.

Change-Id: Ie35111c279e5bc37581a2e2026d3e689aabf698b