Fix bug: unable to launch instances. Showing error: no valid host available, blalalal...

[Log]
stack@compute:~$ sudo tail /var/log/libvirt/libvirtd.log
2014-04-01 00:39:33.820+0000: 2467: error : netcfStateCleanup:109 : internal error: Attempt to close netcf state driver with open connections
2014-04-01 00:39:34.337+0000: 3032: info : libvirt version: 1.2.1
2014-04-01 00:39:34.337+0000: 3032: error : virExec:419 : Cannot find 'pm-is-supported' in path: No such file or directory
2014-04-01 00:39:34.337+0000: 3032: warning : virQEMUCapsInit:909 : Failed to get host power management capabilities
2014-04-01 00:39:34.643+0000: 3032: error : virExec:419 : Cannot find 'pm-is-supported' in path: No such file or directory2014-04-01 00:39:34.643+0000: 3032: warning : virLXCDriverCapsInit:82 : Failed to get host power management capabilities
2014-04-01 00:39:34.646+0000: 3032: error : virExec:419 : Cannot find 'pm-is-supported' in path: No such file or directory
2014-04-01 00:39:34.646+0000: 3032: warning : umlCapsInit:72 : Failed to get host power management capabilities
2014-04-01 00:39:40.713+0000: 3022: error : virExec:419 : Cannot find 'pm-is-supported' in path: No such file or directory
2014-04-01 00:39:40.713+0000: 3022: warning : virQEMUCapsInit:909 : Failed to get host power management capabilities

stack@compute:~$ sudo grep "ERROR" /var/log/nova/nova-compute.log
2014-03-31 17:28:14.390 2478 ERROR nova.virt.libvirt.driver [req-db870a2d-34af-4086-9f22-4ebebda3b1fb f89834ce05e040498c2831c53300411a 5d825860cbf54886a16a0fc9cb48211a] An error occurred while trying to define a domain with xml: <domain type="kvm">
2014-03-31 17:28:14.392 2478 ERROR nova.compute.manager [req-db870a2d-34af-4086-9f22-4ebebda3b1fb f89834ce05e040498c2831c53300411a 5d825860cbf54886a16a0fc9cb48211a] [instance: 4df3ec78-5aa6-430f-bed8-db009bb20a74] Instance failed to spawn
2014-03-31 17:28:14.764 2478 ERROR nova.virt.libvirt.driver [-] [instance: 4df3ec78-5aa6-430f-bed8-db009bb20a74] During wait destroy, instance disappeared.
2014-03-31 17:28:15.122 2478 ERROR nova.compute.manager [req-db870a2d-34af-4086-9f22-4ebebda3b1fb f89834ce05e040498c2831c53300411a 5d825860cbf54886a16a0fc9cb48211a] [instance: 4df3ec78-5aa6-430f-bed8-db009bb20a74] Error: internal error: no supported architecture for os type 'hvm'
2014-03-31 17:28:31.962 2478 ERROR nova.virt.libvirt.driver [-] [instance: 4df3ec78-5aa6-430f-bed8-db009bb20a74] During wait destroy, instance disappeared.

Have to change /etc/nova/nova-compute.conf on compute node.