2014-08-12 16:40:34 |
Shweta P |
description |
The puppet apply run on the build node completed with some cobbler issues.
puppet apply -v /etc/puppet/manifests/site.pp | tee puppet.log
Cobbler commands would not work, it would return this error
cobbler
httpd does not appear to be running and proxying cobbler, or SELinux is in the way. Original traceback:
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/cobbler/cli.py", line 252, in check_setup
s.ping()
File "/usr/lib/python2.7/xmlrpclib.py", line 1224, in __call__
return self.__send(self.__name, args)
File "/usr/lib/python2.7/xmlrpclib.py", line 1578, in __request
verbose=self.__verbose
File "/usr/lib/python2.7/xmlrpclib.py", line 1264, in request
return self.single_request(host, handler, request_body, verbose)
File "/usr/lib/python2.7/xmlrpclib.py", line 1292, in single_request
self.send_content(h, request_body)
File "/usr/lib/python2.7/xmlrpclib.py", line 1439, in send_content
connection.endheaders(request_body)
File "/usr/lib/python2.7/httplib.py", line 969, in endheaders
self._send_output(message_body)
File "/usr/lib/python2.7/httplib.py", line 829, in _send_output
self.send(msg)
File "/usr/lib/python2.7/httplib.py", line 791, in send
self.connect()
File "/usr/lib/python2.7/httplib.py", line 772, in connect
self.timeout, self.source_address)
File "/usr/lib/python2.7/socket.py", line 571, in create_connection
raise err
error: [Errno 111] Connection refused
Repeated puppet runs did not help.
I changed this variable to true and i was able to get apache and cobbler working on my build node
https://github.com/CiscoSystems/puppet_openstack_builder/commit/b3d334e1c7aa5225a895f1477b7c2940a6b2c103
In the later stage of the deployment, when I ran the puppet agent on the control node, it complained with a horizon error.
I reset the apache variable back to false(that I had set to true earlier), to allow the puppet run to proceed succesfully.
https://github.com/CiscoSystems/puppet_openstack_builder/commit/b3d334e1c7aa5225a895f1477b7c2940a6b2c103 |
The puppet apply run on the build node completed with some cobbler issues.
puppet apply -v /etc/puppet/manifests/site.pp | tee puppet.log
Cobbler commands would not work, it would return this error
cobbler
httpd does not appear to be running and proxying cobbler, or SELinux is in the way. Original traceback:
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/cobbler/cli.py", line 252, in check_setup
s.ping()
File "/usr/lib/python2.7/xmlrpclib.py", line 1224, in __call__
return self.__send(self.__name, args)
File "/usr/lib/python2.7/xmlrpclib.py", line 1578, in __request
verbose=self.__verbose
File "/usr/lib/python2.7/xmlrpclib.py", line 1264, in request
return self.single_request(host, handler, request_body, verbose)
File "/usr/lib/python2.7/xmlrpclib.py", line 1292, in single_request
self.send_content(h, request_body)
File "/usr/lib/python2.7/xmlrpclib.py", line 1439, in send_content
connection.endheaders(request_body)
File "/usr/lib/python2.7/httplib.py", line 969, in endheaders
self._send_output(message_body)
File "/usr/lib/python2.7/httplib.py", line 829, in _send_output
self.send(msg)
File "/usr/lib/python2.7/httplib.py", line 791, in send
self.connect()
File "/usr/lib/python2.7/httplib.py", line 772, in connect
self.timeout, self.source_address)
File "/usr/lib/python2.7/socket.py", line 571, in create_connection
raise err
error: [Errno 111] Connection refused
Repeated puppet runs did not help.
I changed this variable to true and i was able to get apache and cobbler working on my build node
https://github.com/CiscoSystems/puppet_openstack_builder/commit/b3d334e1c7aa5225a895f1477b7c2940a6b2c103
In the later stage of the deployment, when I ran the puppet agent on the control node, it complained with a horizon error.
Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Apache::Vhost[horizon_vhost]: Mixing IP and non-IP Listen directives is not possible; check the add_listen parameter of the apache::vhost define to disable this at /usr/share/puppet/modules/apache/manifests/vhost.pp:344 on node control01.ctocllab.cisco.comWarning: Not using cache on failed catalogError: Could not retrieve catalog; skipping run
I reset the apache variable back to false(that I had set to true earlier), to allow the puppet run to proceed succesfully.
https://github.com/CiscoSystems/puppet_openstack_builder/commit/b3d334e1c7aa5225a895f1477b7c2940a6b2c103
So I need to toggle the value of apache::default_vhost at different points of time during the install. |
|