h-eng automatically switches to master, pike branch from ocata - Devstack

Bug #1720352 reported by maestropandy
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Heat
Invalid
Low
Unassigned

Bug Description

Hi All,

I am installing devstack with ocata as per below local.conf

####################
[[local|localrc]]

HOST_IP=30.30.0.5

ADMIN_PASSWORD=admin
DATABASE_PASSWORD=$ADMIN_PASSWORD
RABBIT_PASSWORD=$ADMIN_PASSWORD
SERVICE_PASSWORD=$ADMIN_PASSWORD

PIP_UPGRADE=True
RECLONE=True

#Enable senlin
enable_plugin senlin https://git.openstack.org/openstack/senlin stable/ocata

#Enable senlin-dashboard
enable_plugin senlin-dashboard https://git.openstack.org/openstack/senlin-dashboard stable/ocata

# Load the external LBaaS plugin.
enable_plugin neutron-lbaas https://git.openstack.org/openstack/neutron-lbaas stable/ocata
enable_plugin octavia https://git.openstack.org/openstack/octavia stable/ocata

# Enable LBaaS v2
ENABLED_SERVICES+=,q-lbaasv2
ENABLED_SERVICES+=,octavia,o-cw,o-hk,o-hm,o-api

# Neutron
ENABLED_SERVICES+=,q-svc,q-agt,q-dhcp,q-l3,q-meta

#Enable Aodh
enable_plugin aodh https://git.openstack.org/openstack/aodh stable/ocata

#Enable Ceilometer
enable_plugin ceilometer https://git.openstack.org/openstack/ceilometer stable/ocata

#Enable heat
enable_plugin heat https://git.openstack.org/openstack/heat stable/ocata

###################

While doing ./stack.sh, noticed in middle both senlin and heat moved from ocata to master branch and throwing errror as below

ubuntu@ocata:~/devstack$ /usr/local/bin/heat-engine --config-file=/etc/heat/heat.conf & echo $! >/opt/stack/status/stack/h-eng.pid; fg || echo "h-eng failed to start" | tee "/opt/stack/status/stack/h-eng.failure"
[1] 31816
/usr/local/bin/heat-engine --config-file=/etc/heat/heat.conf
2017-09-29 17:54:18.497 31816 CRITICAL heat.engine [-] Could not load heat_template_version.pike: 'module' object has no attribute 'HOTemplate20170901'
ERROR: No template format plugins registered
h-eng failed to start
ubuntu@ocata:~/devstack$ /usr/local/bin/heat-engine --config-file=/etc/heat/heat.conf & echo $! >/opt/stack/status/stack/h-eng.pid; fg || echo "h-eng failed to start" | tee "/opt/stack/status/stack/h-eng.failure"
[1] 1653
/usr/local/bin/heat-engine --config-file=/etc/heat/heat.conf
2017-09-29 17:55:31.083 1653 CRITICAL heat.engine [-] Could not load heat_template_version.pike: 'module' object has no attribute 'HOTemplate20170901'
ERROR: No template format plugins registered
h-eng failed to start

"Could not load heat_template_version.pike: 'module' object has no attribute 'HOTemplate20170901'"

I am wondering why it is checking pike version, when I did checkout ocata branch.. ?

description: updated
summary: - h-eng automatically switches to master branch from ocata - Devstack
+ h-eng automatically switches to master, pike branch from ocata -
+ Devstack
Revision history for this message
Thomas Herve (therve) wrote :

Well the error looks like you have several versions around. Maybe remove your pyc files in /opt/stack/heat. A git log of /opt/stack/heat would be useful too.

Changed in heat:
status: New → Incomplete
milestone: none → ongoing
importance: Undecided → Low
Revision history for this message
maestropandy (maestropandy) wrote :

yes, if clone devstack, definetly will have all versions and i did checkout to ocata and also all plugins like ceilometer, aodh, heat to stable/ocata, while cloning except heat.. other plugins properly cloning ocata branch, where heat initially in ocata branch.. after sometime it automatically swtiches to master ... so modules mismatching is happening

Revision history for this message
Rabi Mishra (rabi) wrote :

I just stacked with ocata devstack and heat. Did not see any of these issues. We also have stable branch dsvm jobs at the gate that are running fine. Probably something wrong with your setup.

Rabi Mishra (rabi)
Changed in heat:
status: Incomplete → Invalid
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.