Foreman and libvirt host migration

Replying to myself, in case someone is interested :

A direct DB update seems sufficient :

select name,compute_resource_id from hosts where name like 'dev%';
update hosts set compute_resource_id = 5 where name like 'dev%';

cheers

··· De : foreman-users@googlegroups.com [mailto:foreman-users@googlegroups.com] De la part de SCHAER Frederic Envoyé : mercredi 8 janvier 2014 15:12 À : foreman-users@googlegroups.com Objet : [PROVENANCE INTERNET] [foreman-users] foreman and libvirt host migration

Hi,

So I’ve got virtual machines, which I migrated from one host to another.
And just because I was migrating stuff, I also changed the storage pool where the VM disks were stored, all this using libvirt.

And back in foreman, I see it’s quite unhappy with the old VM server (which is down, but I can power it on back again ), and I can’t change the VM hosts libvirt details : any hint on how to tell foreman what is the new VM server and the new storage pool ?

For the records, I added the new VM server in foreman, it sees the VMs inside it and allows me to power on/off + see the console, but the console is not working probably because of the default vnc passwords which were originally put by foreman.

Thanks


You received this message because you are subscribed to the Google Groups “Foreman users” group.
To unsubscribe from this group and stop receiving emails from it, send an email to foreman-users+unsubscribe@googlegroups.commailto:foreman-users+unsubscribe@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.commailto:foreman-users@googlegroups.com.
Visit this group at http://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/groups/opt_out.