Could you please paste the output of the following query on the maas database:
select * from maasserver_virtualmachine where bmc_id=$vmhost_id;
Could you please paste the output of the following query on the maas database:
select * from maasserver_ virtualmachine where bmc_id=$vmhost_id;