Hey all,
I have been trying to figure out this error for a while now, I am new to all this (Openstack, Puppet and Openstack) so please bear with me. I have nstalled Puppet Master and Puppet Agent just fine and added an ntp server to my Agent. But when I tried to integrate Openstack with Puppet with the following command "
puppet module install puppetlabs/openstack" and add the following to the
agent node in my
site.pp. It all crashes down.. I have posted an error log of the
nova-compute. But its not just nova but all the api's give an error in report on puppetmaster. Also the link to my classes in puppetmaster seem to disappear and I get a connection error on that page.
I have installed puppet master and agent through puppet enterprise edition 3.1.0.
P.S: I have given eth0 to both my private and public network since I haven't created separate ones.
-----------------------------------------------------------------------------------------------------------
site.pp
-----------------------------------------------------------------------------------------------------------
filebucket { 'main':
server => '
sadia.domain.com',
path => false,
}
File { backup => 'main' }
node default {
include ntp
}
node '
sara-inspiron-1564.domain.com' {
class { 'openstack::all':
public_address => '192.168.0.102',
public_interface => 'eth0',
private_interface => 'eth0',
admin_email => '
ad...@openstack.com',
admin_password => 'admin',
keystone_admin_token => 'admin_token',
keystone_db_password => 'keystone_db_password',
cinder_db_password => 'cinder_db_password',
cinder_user_password => 'cinder_user_password',
nova_user_password => 'nova_user_password',
nova_db_password => 'nova_db_password',
glance_user_password => 'glance_user_password',
glance_db_password => 'glance_db_password',
rabbit_password => 'rabbit_password',
rabbit_user => 'rabbit_user',
libvirt_type => 'kvm',
fixed_range => '
192.168.0.0/26',
secret_key => '12345',
neutron => false,
mysql_root_password => 'mysql_root_password',
}
}
------------------------------------------------------------------------------------------------------
/var/log/nova/nova-compute.log {some part of it}
------------------------------------------------------------------------------------------------------
2014-02-01 17:46:22.618 12036 INFO nova.openstack.common.periodic_task [-] Skipping periodic task _periodic_update_dns because its interval is $
2014-02-01 17:46:22.940 12036 INFO nova.virt.driver [-] Loading compute driver 'libvirt.LibvirtDriver'
2014-02-01 17:46:23.158 12036 ERROR nova.openstack.common.rpc.common [req-655e17b1-5be7-4cc7-8a98-83f15b41cfe9 None None] AMQP server on localh$
2014-02-01 17:46:24.160 12036 INFO nova.openstack.common.rpc.common [req-655e17b1-5be7-4cc7-8a98-83f15b41cfe9 None None] Reconnecting to AMQP s$
2014-02-01 17:46:24.168 12036 ERROR nova.openstack.common.rpc.common [req-655e17b1-5be7-4cc7-8a98-83f15b41cfe9 None None] AMQP server on localh$
2014-02-01 17:46:27.170 12036 INFO nova.openstack.common.rpc.common [req-655e17b1-5be7-4cc7-8a98-83f15b41cfe9 None None] Reconnecting to AMQP s$
2014-02-01 17:46:27.177 12036 ERROR nova.openstack.common.rpc.common [req-655e17b1-5be7-4cc7-8a98-83f15b41cfe9 None None] AMQP server on localh$
2014-02-01 17:46:32.178 12036 INFO nova.openstack.common.rpc.common [req-655e17b1-5be7-4cc7-8a98-83f15b41cfe9 None None] Reconnecting to AMQP s$
2014-02-01 17:46:32.185 12036 ERROR nova.openstack.common.rpc.common [req-655e17b1-5be7-4cc7-8a98-83f15b41cfe9 None None] AMQP server on localh$
2014-02-01 17:46:39.186 12036 INFO nova.openstack.common.rpc.common [req-655e17b1-5be7-4cc7-8a98-83f15b41cfe9 None None] Reconnecting to AMQP s$
2014-02-01 17:46:39.193 12036 ERROR nova.openstack.common.rpc.common [req-655e17b1-5be7-4cc7-8a98-83f15b41cfe9 None None] AMQP server on localh$
2014-02-01 17:46:48.194 12036 INFO nova.openstack.common.rpc.common [req-655e17b1-5be7-4cc7-8a98-83f15b41cfe9 None None] Reconnecting to AMQP s$
2014-02-01 17:46:48.201 12036 ERROR nova.openstack.common.rpc.common [req-655e17b1-5be7-4cc7-8a98-83f15b41cfe9 None None] AMQP server on localh$
2014-02-01 17:46:59.208 12036 INFO nova.openstack.common.rpc.common [req-655e17b1-5be7-4cc7-8a98-83f15b41cfe9 None None] Reconnecting to AMQP s$
2014-02-01 17:46:59.221 12036 ERROR nova.openstack.common.rpc.common [req-655e17b1-5be7-4cc7-8a98-83f15b41cfe9 None None] AMQP server on localh$
2014-02-01 17:47:12.226 12036 INFO nova.openstack.common.rpc.common [req-655e17b1-5be7-4cc7-8a98-83f15b41cfe9 None None] Reconnecting to AMQP s$
2014-02-01 17:47:12.233 12036 ERROR nova.openstack.common.rpc.common [req-655e17b1-5be7-4cc7-8a98-83f15b41cfe9 None None] AMQP server on localh$
2014-02-01 17:47:27.242 12036 INFO nova.openstack.common.rpc.common [req-655e17b1-5be7-4cc7-8a98-83f15b41cfe9 None None] Reconnecting to AMQP s$
2014-02-01 17:47:27.255 12036 ERROR nova.openstack.common.rpc.common [req-655e17b1-5be7-4cc7-8a98-83f15b41cfe9 None None] AMQP server on localh$
2014-02-01 17:47:44.266 12036 INFO nova.openstack.common.rpc.common [req-655e17b1-5be7-4cc7-8a98-83f15b41cfe9 None None] Reconnecting to AMQP s$
2014-02-01 17:47:44.273 12036 ERROR nova.openstack.common.rpc.common [req-655e17b1-5be7-4cc7-8a98-83f15b41cfe9 None None] AMQP server on localh$
2014-02-01 17:48:03.287 12036 INFO nova.openstack.common.rpc.common [req-655e17b1-5be7-4cc7-8a98-83f15b41cfe9 None None] Reconnecting to AMQP s$
2014-02-01 17:48:03.297 12036 ERROR nova.openstack.common.rpc.common [req-655e17b1-5be7-4cc7-8a98-83f15b41cfe9 None None] AMQP server on localh$
2014-02-01 17:48:24.309 12036 INFO nova.openstack.common.rpc.common [req-655e17b1-5be7-4cc7-8a98-83f15b41cfe9 None None] Reconnecting to AMQP s$
2014-02-01 17:48:24.323 12036 ERROR nova.openstack.common.rpc.common [req-655e17b1-5be7-4cc7-8a98-83f15b41cfe9 None None] AMQP server on localh$
2014-02-01 17:48:47.339 12036 INFO nova.openstack.common.rpc.common [req-655e17b1-5be7-4cc7-8a98-83f15b41cfe9 None None] Reconnecting to AMQP s$
2014-02-01 17:48:47.353 12036 ERROR nova.openstack.common.rpc.common [req-655e17b1-5be7-4cc7-8a98-83f15b41cfe9 None None] AMQP server on localh$
2014-02-01 17:49:12.370 12036 INFO nova.openstack.common.rpc.common [req-655e17b1-5be7-4cc7-8a98-83f15b41cfe9 None None] Reconnecting to AMQP s$
2014-02-01 17:49:12.380 12036 ERROR nova.openstack.common.rpc.common [req-655e17b1-5be7-4cc7-8a98-83f15b41cfe9 None None] AMQP server on localh$
2014-02-01 17:49:39.402 12036 INFO nova.openstack.common.rpc.common [req-655e17b1-5be7-4cc7-8a98-83f15b41cfe9 None None] Reconnecting to AMQP s$
2014-02-01 17:49:39.417 12036 INFO nova.openstack.common.rpc.common [req-655e17b1-5be7-4cc7-8a98-83f15b41cfe9 None None] Connected to AMQP serv$
2014-02-01 17:49:39.437 12036 INFO nova.openstack.common.rpc.common [req-655e17b1-5be7-4cc7-8a98-83f15b41cfe9 None None] Connected to AMQP serv$
2014-02-01 17:49:49.443 12036 WARNING nova.conductor.api [req-655e17b1-5be7-4cc7-8a98-83f15b41cfe9 None None] Timed out waiting for nova-conduc$
2014-02-01 17:49:59.455 12036 WARNING nova.conductor.api [req-655e17b1-5be7-4cc7-8a98-83f15b41cfe9 None None] Timed out waiting for nova-conduc$
2014-02-01 17:50:09.467 12036 WARNING nova.conductor.api [req-655e17b1-5be7-4cc7-8a98-83f15b41cfe9 None None] Timed out waiting for nova-conduc$
2014-02-01 17:50:09.562 12036 AUDIT nova.service [-] Starting compute node (version 2013.2)
2014-02-01 17:50:11.124 12036 AUDIT nova.compute.resource_tracker [-] Auditing locally available compute resources
2014-02-01 17:50:11.275 12036 AUDIT nova.compute.resource_tracker [-] Free ram (MB): 3242
2014-02-01 17:50:11.276 12036 AUDIT nova.compute.resource_tracker [-] Free disk (GB): 35
2014-02-01 17:50:11.276 12036 AUDIT nova.compute.resource_tracker [-] Free VCPUS: 4
2014-02-01 17:50:11.472 12036 INFO nova.compute.resource_tracker [-] Compute_service record created for sadia:
sadia.domain.com2014-02-01 17:50:11.518 12036 INFO nova.openstack.common.rpc.common [-] Connected to AMQP server on localhost:5672
2014-02-01 17:51:09.535 12036 AUDIT nova.compute.resource_tracker [req-66efc5fb-c665-4766-8538-00b56fda29bd None None] Auditing locally availab$
2014-02-01 17:51:09.768 12036 AUDIT nova.compute.resource_tracker [req-66efc5fb-c665-4766-8538-00b56fda29bd None None] Free ram (MB): 3242
2014-02-01 17:51:09.769 12036 AUDIT nova.compute.resource_tracker [req-66efc5fb-c665-4766-8538-00b56fda29bd None None] Free disk (GB): 35
2014-02-01 17:51:09.770 12036 AUDIT nova.compute.resource_tracker [req-66efc5fb-c665-4766-8538-00b56fda29bd None None] Free VCPUS: 4
2014-02-01 17:51:10.392 12036 INFO nova.compute.resource_tracker [req-66efc5fb-c665-4766-8538-00b56fda29bd None None] Compute_service record up$
2014-02-01 17:51:10.449 12036 INFO nova.compute.manager [req-66efc5fb-c665-4766-8538-00b56fda29bd None None] Updating bandwidth usage cache
2014-02-01 17:51:21.079 12036 AUDIT nova.compute.resource_tracker [-] Auditing locally available compute resources
2014-02-01 17:51:21.265 12036 AUDIT nova.compute.resource_tracker [-] Free ram (MB): 3242
2014-02-01 17:51:21.265 12036 AUDIT nova.compute.resource_tracker [-] Free disk (GB): 35
2014-02-01 17:51:21.266 12036 AUDIT nova.compute.resource_tracker [-] Free VCPUS: 4
2014-02-01 17:51:21.547 12036 INFO nova.compute.resource_tracker [-] Compute_service record updated for sadia:
sadia.domain.com2014-02-01 17:52:22.081 12036 AUDIT nova.compute.resource_tracker [-] Auditing locally available compute resources
2014-02-01 17:52:22.263 12036 AUDIT nova.compute.resource_tracker [-] Free ram (MB): 3242
2014-02-01 17:52:22.264 12036 AUDIT nova.compute.resource_tracker [-] Free disk (GB): 35
2014-02-01 17:52:22.264 12036 AUDIT nova.compute.resource_tracker [-] Free VCPUS: 4
2014-02-01 17:52:23.562 12036 INFO nova.compute.resource_tracker [-] Compute_service record updated for sadia:
sadia.domain.com2014-02-01 17:52:40.589 12036 ERROR nova.openstack.common.rpc.common [-] Failed to consume message from queue: Socket closed
2014-02-01 17:52:40.589 12036 TRACE nova.openstack.common.rpc.common Traceback (most recent call last):
2014-02-01 17:52:40.589 12036 TRACE nova.openstack.common.rpc.common File "/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/impl_ko$
2014-02-01 17:52:40.589 12036 TRACE nova.openstack.common.rpc.common return method(*args, **kwargs)
2014-02-01 17:52:40.589 12036 TRACE nova.openstack.common.rpc.common File "/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/impl_ko$
2014-02-01 17:52:40.589 12036 TRACE nova.openstack.common.rpc.common return self.connection.drain_events(timeout=timeout)
2014-02-01 17:52:40.589 12036 TRACE nova.openstack.common.rpc.common File "/usr/lib/python2.7/dist-packages/kombu/connection.py", line 281, i$
2014-02-01 17:52:40.589 12036 TRACE nova.openstack.common.rpc.common return self.transport.drain_events(self.connection, **kwargs)
2014-02-01 17:52:40.589 12036 TRACE nova.openstack.common.rpc.common File "/usr/lib/python2.7/dist-packages/kombu/transport/pyamqp.py", line $
2014-02-01 17:52:40.589 12036 TRACE nova.openstack.common.rpc.common return connection.drain_events(**kwargs)
2014-02-01 17:52:40.589 12036 TRACE nova.openstack.common.rpc.common File "/usr/lib/python2.7/dist-packages/amqp/connection.py", line 266, in$
2014-02-01 17:52:40.589 12036 TRACE nova.openstack.common.rpc.common chanmap, None, timeout=timeout,
2014-02-01 17:52:40.589 12036 TRACE nova.openstack.common.rpc.common File "/usr/lib/python2.7/dist-packages/amqp/connection.py", line 328, in$
2014-02-01 17:52:40.589 12036 TRACE nova.openstack.common.rpc.common channel, method_sig, args, content = read_timeout(timeout)
2014-02-01 17:52:40.589 12036 TRACE nova.openstack.common.rpc.common File "/usr/lib/python2.7/dist-packages/amqp/connection.py", line 292, in$
2014-02-01 17:52:40.589 12036 TRACE nova.openstack.common.rpc.common return self.method_reader.read_method()
2014-02-01 17:52:40.589 12036 TRACE nova.openstack.common.rpc.common File "/usr/lib/python2.7/dist-packages/amqp/method_framing.py", line 187$
2014-02-01 17:52:40.589 12036 TRACE nova.openstack.common.rpc.common raise m
2014-02-01 17:52:40.589 12036 TRACE nova.openstack.common.rpc.common IOError: Socket closed
2014-02-01 17:52:40.589 12036 TRACE nova.openstack.common.rpc.common
2014-02-01 17:52:41.391 12036 INFO nova.openstack.common.rpc.common [-] Reconnecting to AMQP server on localhost:5672
2014-02-01 17:52:41.403 12036 ERROR nova.openstack.common.rpc.common [-] Failed to consume message from queue: Socket closed
2014-02-01 17:52:41.403 12036 TRACE nova.openstack.common.rpc.common Traceback (most recent call last):
2014-02-01 17:52:41.403 12036 TRACE nova.openstack.common.rpc.common File "/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/impl_ko$
2014-02-01 17:52:41.403 12036 TRACE nova.openstack.common.rpc.common return method(*args, **kwargs)
2014-02-01 17:52:41.403 12036 TRACE nova.openstack.common.rpc.common File "/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/impl_ko$
2014-02-01 17:52:41.403 12036 TRACE nova.openstack.common.rpc.common return self.connection.drain_events(timeout=timeout)
2014-02-01 17:52:41.403 12036 TRACE nova.openstack.common.rpc.common File "/usr/lib/python2.7/dist-packages/kombu/connection.py", line 281, i$
2014-02-01 17:52:41.403 12036 TRACE nova.openstack.common.rpc.common return self.transport.drain_events(self.connection, **kwargs)
2014-02-01 17:52:41.403 12036 TRACE nova.openstack.common.rpc.common File "/usr/lib/python2.7/dist-packages/kombu/transport/pyamqp.py", line $
2014-02-01 17:52:41.403 12036 TRACE nova.openstack.common.rpc.common return connection.drain_events(**kwargs)
2014-02-01 17:52:41.403 12036 TRACE nova.openstack.common.rpc.common File "/usr/lib/python2.7/dist-packages/amqp/connection.py", line 266, in$
2014-02-01 17:52:41.403 12036 TRACE nova.openstack.common.rpc.common chanmap, None, timeout=timeout,
2014-02-01 17:52:41.403 12036 TRACE nova.openstack.common.rpc.common File "/usr/lib/python2.7/dist-packages/amqp/connection.py", line 328, in$
2014-02-01 17:52:41.403 12036 TRACE nova.openstack.common.rpc.common channel, method_sig, args, content = read_timeout(timeout)