Contrail Ocata :: R4.0.1.0 build 23 :: Heat plugins and client missing.

Bug #1714233 reported by Ritam Gangopadhyay
14
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R4.0
Fix Committed
Critical
Ramprakash R
Trunk
Fix Committed
Critical
Ramprakash R

Bug Description

Setup:- R4.0.1.0 build 23 Ocata multi node setup.

nodei19 10.204.217.131 openstack
nodei17 10.204.217.129 controller, analytics, analyticsdb
nodec28 10.204.217.13 controller, analytics, analyticsdb
nodec10 10.204.217.176 controller, analytics, analyticsdb
nodeg37 10.204.217.77 lb
nodei20 10.204.217.132 compute
nodec33 10.204.217.168 compute

***************************************
***************************************

1. Heat client missing on host.

***************************************
***************************************

root@nodei19:~# cat /etc/kolla/admin-openrc.sh
export OS_PROJECT_DOMAIN_NAME=default
export OS_USER_DOMAIN_NAME=default
export OS_PROJECT_NAME=admin
export OS_TENANT_NAME=admin
export OS_USERNAME=admin
export OS_PASSWORD=contrail123
export OS_AUTH_URL=http://10.204.217.131:35357/v3
export OS_INTERFACE=internal
export OS_IDENTITY_API_VERSION=3
root@nodei19:~# source /etc/kolla/admin-openrc.sh
root@nodei19:~# heat
-bash: heat: command not found
root@nodei19:~# heat --help
-bash: heat: command not found
root@nodei19:~# ls -la /usr/bin/ | grep nova
lrwxrwxrwx 1 root root 22 Aug 29 11:41 nova -> /etc/alternatives/nova
-rwxr-xr-x 1 root root 154 Aug 2 17:08 nova-manage
-rwxr-xr-x 1 root root 156 Aug 2 17:08 nova-rootwrap
-rwxr-xr-x 1 root root 160 Aug 2 17:08 nova-rootwrap-daemon
-rwxr-xr-x 1 root root 158 Sep 28 2016 python2-nova
root@nodei19:~# ls -la /usr/bin/ | grep neutron
lrwxrwxrwx 1 root root 25 Aug 29 11:41 neutron -> /etc/alternatives/neutron
-rwxr-xr-x 1 root root 161 Apr 6 2016 python2-neutron
root@nodei19:~# ls -la /usr/bin/ | grep heat
root@nodei19:~#

******************************************************
******************************************************

2. Heat plugin configs missing from heat.conf file

******************************************************
******************************************************

root@nodei19:~# docker exec -it heat_engine bash
(heat-engine)[heat@nodei19 /]$ cat /etc/heat/heat.conf
[DEFAULT]
debug = False
log_dir = /var/log/kolla/heat
heat_watch_server_url = http://10.204.217.131:8000
heat_metadata_server_url = http://10.204.217.131:8000
heat_waitcondition_server_url = http://10.204.217.131:8000/v1/waitcondition
heat_stack_user_role = heat_stack_user
stack_domain_admin = heat_domain_admin
stack_domain_admin_password = contrail123
stack_user_domain_name = heat_user_domain
deferred_auth_method = trusts
trusts_delegated_roles = heat_stack_owner
num_engine_workers = 5
transport_url = rabbit://openstack:contrail123@10.204.217.131:5672

[database]
connection = mysql+pymysql://heat:contrail123@10.204.217.131:3306/heat
max_retries = -1

[keystone_authtoken]
auth_uri = http://10.204.217.131:5000
auth_url = http://10.204.217.131:35357
auth_type = password
project_domain_id = default
user_domain_id = default
project_name = service
username = heat
password = contrail123
memcache_security_strategy = ENCRYPT
memcache_secret_key = contrail123
memcached_servers = 10.204.217.131:11211

[cache]
backend = oslo_cache.memcache_pool
enabled = True
memcache_servers = 10.204.217.131:11211

[trustee]
auth_uri = http://10.204.217.131:5000
auth_url = http://10.204.217.131:35357
auth_type = password
user_domain_id = default
username = heat
password = contrail123

[ec2authtoken]
auth_uri = http://10.204.217.131:5000

[clients_keystone]
auth_uri = http://10.204.217.131:5000

[oslo_messaging_notifications]
driver = noop

[clients]
endpoint_type = internalURL

(heat-engine)[heat@nodei19 /]$ heat resource-type-list | grep Contrail
WARNING (shell) "heat resource-type-list" is deprecated, please use "openstack orchestration resource type list" instead
(heat-engine)[heat@nodei19 /]$ service heat-engine status
 * heat-engine is running
(heat-engine)[heat@nodei19 /]$

information type: Proprietary → Public
description: updated
Jeba Paulaiyan (jebap)
tags: added: sanity
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/35163
Submitter: Ramprakash R (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R4.0

Review in progress for https://review.opencontrail.org/35164
Submitter: Ramprakash R (<email address hidden>)

Revision history for this message
Ramprakash R (ramprakash) wrote :

Added code to install python-heatclient. What is required for heat plugin configuration?

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

Reviewed: https://review.opencontrail.org/35163
Committed: http://github.com/Juniper/contrail-ansible/commit/e3a6a91b2a737b9f1a1fcae51f96ed12c883dac4
Submitter: Zuul (<email address hidden>)
Branch: master

commit e3a6a91b2a737b9f1a1fcae51f96ed12c883dac4
Author: Ramprakash Ram Mohan <email address hidden>
Date: Thu Aug 31 14:51:43 2017 -0700

Install python-openstackclient from contrail repos

1. Add contrail_apt_repo as an entry in the apt sources if it is defined
2. Add xenial repo entries only if the distribution version is xenial (16.04)
3. Install /etc/kolla/admin-openrc.sh on all openstack nodes in a multi-node
openstack configuration (remove run_once)
4. Add defaults for contrail variables
5. Install python-heatclient as well

Change-Id: If20b1d9eea655dcbd3375858c063ee423cccdc6c
Closes-bug: #1714368
Closes-bug: #1714233

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

Reviewed: https://review.opencontrail.org/35164
Committed: http://github.com/Juniper/contrail-ansible/commit/33d404b71d7cb5c3567af62dc58f7fc1c224ccfa
Submitter: Zuul (<email address hidden>)
Branch: R4.0

commit 33d404b71d7cb5c3567af62dc58f7fc1c224ccfa
Author: Ramprakash Ram Mohan <email address hidden>
Date: Thu Aug 31 14:51:43 2017 -0700

Install python-openstackclient from contrail repos

1. Add contrail_apt_repo as an entry in the apt sources if it is defined
2. Add xenial repo entries only if the distribution version is xenial (16.04)
3. Install /etc/kolla/admin-openrc.sh on all openstack nodes in a multi-node
openstack configuration (remove run_once)
4. Add defaults for contrail variables
5. Install python-heatclient as well

Change-Id: If20b1d9eea655dcbd3375858c063ee423cccdc6c
Closes-bug: #1714368
Closes-bug: #1714233

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

Review in progress for https://review.opencontrail.org/35197
Submitter: Ramprakash R (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R4.0

Review in progress for https://review.opencontrail.org/35199
Submitter: Ramprakash R (<email address hidden>)

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

Review in progress for https://review.opencontrail.org/35206
Submitter: Ramprakash R (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R4.0

Review in progress for https://review.opencontrail.org/35207
Submitter: Ramprakash R (<email address hidden>)

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

Reviewed: https://review.opencontrail.org/35199
Committed: http://github.com/Juniper/contrail-docker/commit/24b19217acf5bec0fe7f8744ea437e994e15f296
Submitter: Zuul (<email address hidden>)
Branch: R4.0

commit 24b19217acf5bec0fe7f8744ea437e994e15f296
Author: Ramprakash Ram Mohan <email address hidden>
Date: Fri Sep 1 13:21:14 2017 -0700

Installl contrail-heat package in the heat-engine container

Add contrail-heat and python-contrail packages to the heat-engine container for
ocata

Change-Id: Ibd12381ef60338b2b846420bc21e6df10ce8999b
Partial-bug: #1714233

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

Reviewed: https://review.opencontrail.org/35207
Committed: http://github.com/Juniper/contrail-ansible/commit/6c1c9b2d900f33e8d522fc80d0cc38c2b1378c1c
Submitter: Zuul (<email address hidden>)
Branch: R4.0

commit 6c1c9b2d900f33e8d522fc80d0cc38c2b1378c1c
Author: Ramprakash Ram Mohan <email address hidden>
Date: Fri Sep 1 15:59:14 2017 -0700

Heat configuration for the contrail-heat plugin

1. group_vars/all.yml: Add a new variable (enable_heat_opencontrail - defaults to "yes") to
enable/disable the contrail heat plugin.
2. heat.conf.j2: Add contrail specific configurations to heat.conf to enable the
plugin if the knob is enabled

Change-Id: Ib49611932d150fb02677f366e2b9b0815a4e6dd3
Closes-bug: #1714233

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

Reviewed: https://review.opencontrail.org/35197
Committed: http://github.com/Juniper/contrail-docker/commit/7953d68392ee150c0bf1556012831c2c1cdd2da2
Submitter: Zuul (<email address hidden>)
Branch: master

commit 7953d68392ee150c0bf1556012831c2c1cdd2da2
Author: Ramprakash Ram Mohan <email address hidden>
Date: Fri Sep 1 13:10:51 2017 -0700

Installl contrail-heat package in the heat-engine container

Add contrail-heat and python-contrail packages to the heat-engine container for
ocata

Change-Id: Ibd12381ef60338b2b846420bc21e6df10ce8999b
Partial-bug: #1714233

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

Reviewed: https://review.opencontrail.org/35206
Committed: http://github.com/Juniper/contrail-ansible/commit/7e08b06767381d714bedb2232acf3624b4c550b8
Submitter: Zuul (<email address hidden>)
Branch: master

commit 7e08b06767381d714bedb2232acf3624b4c550b8
Author: Ramprakash Ram Mohan <email address hidden>
Date: Fri Sep 1 15:59:14 2017 -0700

Heat configuration for the contrail-heat plugin

1. group_vars/all.yml: Add a new variable (enable_heat_opencontrail - defaults to "yes") to
enable/disable the contrail heat plugin.
2. heat.conf.j2: Add contrail specific configurations to heat.conf to enable the
plugin if the knob is enabled

Change-Id: Ib49611932d150fb02677f366e2b9b0815a4e6dd3
Closes-bug: #1714233

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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