heat-api-cloudwatch service running after upgrade
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Fix Released
|
High
|
Unassigned |
Bug Description
(also discussed in https:/
Description
===========
When upgrading from Ocata to Pike containerized the environment ends up with the process heat-api-cloudwatch up and running under httpd in Pike upgraded overcloud intead of being containarized.
Steps to reproduce
==================
1. Deploy an overcloud:
openstack overcloud deploy --libvirt-type qemu --ntp-server pool.ntp.org --templates /home/stack/
2. Check that the service is not started:
[heat-admin@
session-5.scope loaded active running Session 5 of user heat-admin
openstack-
openstack-
openstack-
openstack-
user-1000.slice loaded active active User Slice of heat-admin
HTTP Heat Services: None
[heat-admin@
[heat-admin@
3. Upgrade to Pike (containerized):
3.1. Download master tht to tht-master
3.2. Specify docker registry in docker_
parameter_defaults:
DockerNamespace: 192.168.
DockerNamespa
EOF
3.3. Download container images:
openstack overcloud container image upload --config-file /usr/share/
3.4 Prepara container image definition yaml file:
openstack overcloud container image prepare \
--namespace tripleoupstream \
--tag latest \
--env-file docker-
3.5 Upgrade via command:
export THT=/home/
(undercloud) [stack@undercloud ~]$ openstack overcloud deploy --templates $THT \
--libvirt-type qemu \
--ntp-server pool.ntp.org \
-e $THT/environmen
-e $THT/environmen
-e docker-
-e docker_
-e upgrade_repos.yaml
4. Service heat_api_cloudwatch is running under apache:
[heat-admin@
192.168.24.7:8003 overcloud-
[heat-admin@
● httpd.service - The Apache HTTP Server
Loaded: loaded (/usr/lib/
Drop-In: /usr/lib/
Active: active (running) since Tue 2017-09-26 13:46:07 UTC; 1h 53min ago
Docs: man:httpd(8)
Main PID: 115195 (httpd)
Status: "Total requests: 0; Current requests/sec: 0; Current traffic: 0 B/sec"
Memory: 355.0M
CGroup: /system.
├─115195 /usr/sbin/httpd -DFOREGROUND
├─115243 cinder_wsgi -DFOREGROUND
├─115244 cinder_wsgi -DFOREGROUND
├─115245 heat_api_cloudw -DFOREGROUND <<<<<<<<<<
├─115247 /usr/sbin/httpd -DFOREGROUND
├─115248 /usr/sbin/httpd -DFOREGROUND
├─115249 /usr/sbin/httpd -DFOREGROUND
├─115250 /usr/sbin/httpd -DFOREGROUND
├─115251 /usr/sbin/httpd -DFOREGROUND
├─115253 /usr/sbin/httpd -DFOREGROUND
├─115263 /usr/sbin/httpd -DFOREGROUND
└─115264 /usr/sbin/httpd -DFOREGROUND
5. But no heat service is running under systemd:
[heat-admin@
session-27.scope loaded active running Session 27 of user heat-admin
user-1000.slice loaded active active User Slice of heat-admin
6. All heat services are running under containers except heat-api-
[heat-admin@
085051b5dfbb tripleoupstream
39e2b83a8bfc tripleoupstream
b80786761582 tripleoupstream
e9b2ddafcd7b tripleoupstream
Expected result
===============
Actual result
=============
Environment
===========
Changed in tripleo: | |
status: | New → Triaged |
milestone: | none → pike-rc2 |
importance: | Undecided → High |
tags: | added: upgrade |
description: | updated |
Changed in tripleo: | |
milestone: | pike-rc2 → queens-1 |
summary: |
- heat_api_cloudwatch service running after upgrade when deploying and - upgrading with heat::api_cloudwatch::enabled: false + heat-api-cloudwatch service running after upgrade |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
Changed in tripleo: | |
milestone: | queens-1 → queens-2 |
Changed in tripleo: | |
milestone: | queens-2 → queens-3 |
Changed in tripleo: | |
milestone: | queens-3 → queens-rc1 |
Changed in tripleo: | |
status: | Triaged → Fix Released |
Related fix proposed to branch: master /review. openstack. org/510101
Review: https:/