Need Heat support with server-manager provision

Bug #1423876 reported by Bharat Kumar
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R2.1
Won't Fix
Medium
Abhay Joshi
R2.20
Fix Committed
Medium
Nitish Krishna Kaveri
Trunk
Fix Committed
Medium
Nitish Krishna Kaveri

Bug Description

Heat provision is not supported with server-manager.

Heat.conf file is not populated properly, heat-api and heat-engine are in fatal state.
heat service is not created in keystone service-list.

root@nodeg37:~/contrail-test# keystone service-list
+----------------------------------+----------+-----------+------------------------------+
| id | name | type | description | <<<<<<<<< Not Heat service
+----------------------------------+----------+-----------+------------------------------+
| 617c5a7512e247b9a14f6d8891db0776 | cinder | volume | Cinder Service |
| c2e69fde77354597b54924f72064d4c4 | cinderv2 | volumev2 | Cinder Service v2 |
| 58effb1dd26d44c8bf046a0cf94b5ed7 | glance | image | Openstack Image Service |
| 0c833575fd714cdba77f6e5873f5cac7 | keystone | identity | OpenStack Identity Service |
| cccaf65e81654c87a77215a2183e7f53 | neutron | network | Neutron Networking Service |
| e42a65e3c2974e79a673732cbf70124f | nova | compute | Openstack Compute Service |
| bb6ca5b9130a453bb7797b6abd13b089 | nova_ec2 | ec2 | EC2 Service |
| d3233147acda48eea35b32320269cd25 | novav3 | computev3 | Openstack Compute Service v3 |
+----------------------------------+----------+-----------+------------------------------+

root@nodeg37:~# service heat-engine status
heat-engine BACKOFF Exited too quickly (process log may have details)
root@nodeg37:~# service heat-engine start
heat-engine: ERROR (abnormal termination)
root@nodeg37:~# cd /var/log/heat/
root@nodeg37:/var/log/upstart# service heat-api status
heat-api: ERROR (not running)

root@nodeg37:/var/log/upstart# tail -f heat-api.log
2015-02-19 22:15:59.714 1488 WARNING keystoneclient.middleware.auth_token [-] Retrying on HTTP connection exception: [Errno 1] _ssl.c:504: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol
2015-02-19 22:16:00.228 1488 WARNING keystoneclient.middleware.auth_token [-] Retrying on HTTP connection exception: [Errno 1] _ssl.c:504: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol
2015-02-19 22:16:01.244 1488 WARNING keystoneclient.middleware.auth_token [-] Retrying on HTTP connection exception: [Errno 1] _ssl.c:504: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol
2015-02-19 22:16:03.258 1488 ERROR keystoneclient.middleware.auth_token [-] HTTP connection exception: [Errno 1] _ssl.c:504: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol
2015-02-19 22:16:03.258 1488 WARNING keystoneclient.middleware.auth_token [-] Authorization failed for token
2015-02-19 23:21:29.619 1488 WARNING keystoneclient.middleware.auth_token [-] Retrying on HTTP connection exception: [Errno 1] _ssl.c:504: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol
2015-02-19 23:21:30.133 1488 WARNING keystoneclient.middleware.auth_token [-] Retrying on HTTP connection exception: [Errno 1] _ssl.c:504: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol
2015-02-19 23:21:31.149 1488 WARNING keystoneclient.middleware.auth_token [-] Retrying on HTTP connection exception: [Errno 1] _ssl.c:504: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol
2015-02-19 23:21:33.166 1488 ERROR keystoneclient.middleware.auth_token [-] HTTP connection exception: [Errno 1] _ssl.c:504: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol
2015-02-19 23:21:33.166 1488 WARNING keystoneclient.middleware.auth_token [-] Authorization failed for token

root@nodeg37:~/contrail-test# tail /var/log/upstart/heat-engine.log
2015-02-19 23:22:14.029 1463 ERROR heat.openstack.common.rpc.common [-] AMQP server on localhost:5672 is unreachable: [Errno 111] ECONNREFUSED. Trying again in 30 seconds.
2015-02-19 23:22:44.047 1463 ERROR heat.openstack.common.rpc.common [-] AMQP server on localhost:5672 is unreachable: [Errno 111] ECONNREFUSED. Trying again in 30 seconds.
2015-02-19 23:23:14.073 1463 ERROR heat.openstack.common.rpc.common [-] AMQP server on localhost:5672 is unreachable: [Errno 111] ECONNREFUSED. Trying again in 30 seconds.
2015-02-19 23:23:44.100 1463 ERROR heat.openstack.common.rpc.common [-] AMQP server on localhost:5672 is unreachable: [Errno 111] ECONNREFUSED. Trying again in 30 seconds.
2015-02-19 23:24:14.128 1463 ERROR heat.openstack.common.rpc.common [-] AMQP server on localhost:5672 is unreachable: [Errno 111] ECONNREFUSED. Trying again in 30 seconds.

information type: Private → Public
tags: added: releasenote
Revision history for this message
Nitish Krishna Kaveri (nitishk) wrote :
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : R2.20

Review in progress for https://review.opencontrail.org/11057
Submitter: Nitish Krishna Kaveri (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : master

Review in progress for https://review.opencontrail.org/11058
Submitter: Nitish Krishna Kaveri (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : R2.20

Review in progress for https://review.opencontrail.org/11057
Submitter: Nitish Krishna Kaveri (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : master

Review in progress for https://review.opencontrail.org/11058
Submitter: Nitish Krishna Kaveri (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/11058
Committed: http://github.org/Juniper/contrail-puppet/commit/617a375de9ae16733e4f52a2fe33e95d6099dc4b
Submitter: Zuul
Branch: master

commit 617a375de9ae16733e4f52a2fe33e95d6099dc4b
Author: nitishkrishna <email address hidden>
Date: Fri May 29 13:01:42 2015 -0700

Related-Bug: #1423876 - Bug fix for Heat in non-HA

This check-in:

Patch 1:
- Keystone and Heat API addresses were being set as mgmt ip addresses
- Corrected and set as contrail::params::host_non_mgmt_ip if non-HA
- Set as openstack::config::controller_address_api in HA

Patch 2:

- Simplified the change - only change to rabbit host and rabbit ports needed

Patch 3:

- Moved the rabbit host value and check to contrail params

Change-Id: I9803ceb0c72727c83a32a388d29d060d8016ccea

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Reviewed: https://review.opencontrail.org/11057
Committed: http://github.org/Juniper/contrail-puppet/commit/29eb69d10663f866f7bc7030feb8039ff17a0ab1
Submitter: Zuul
Branch: R2.20

commit 29eb69d10663f866f7bc7030feb8039ff17a0ab1
Author: nitishkrishna <email address hidden>
Date: Fri May 29 13:01:42 2015 -0700

Related-Bug: #1423876 - Bug fix for Heat in non-HA

This check-in:

Patch 1:
- Keystone and Heat API addresses were being set as mgmt ip addresses
- Corrected and set as contrail::params::host_non_mgmt_ip if non-HA
- Set as openstack::config::controller_address_api in HA

Patch 2:

- Simplified the change - only change to rabbit host and rabbit ports needed

Patch 3:

- Moved the rabbit host value and check to contrail params

Change-Id: I9803ceb0c72727c83a32a388d29d060d8016ccea

Revision history for this message
Nitish Krishna Kaveri (nitishk) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.