Fix bug in deploying ceilometer using dev mode

Since the configuration file of the panko module was referenced as a
variable during the deployment of the ceilometer module, the
project_name variable of the ceilometer module was overwritten,
resulting in an error when deploying the ceilometer module using the
development mode. This patch will fix this problem.

Change-Id: I90d2380b610d3caa988ee667e7c42511d3bbd937
Closes-Bug: #1795770
This commit is contained in:
howardlee 2018-10-03 10:08:05 +08:00 committed by howard lee
parent 5beece2503
commit 9a1c906435
2 changed files with 2 additions and 2 deletions

View File

@ -77,7 +77,7 @@ openstack_ceilometer_auth: "{{ openstack_auth }}"
#################### ####################
# Kolla # Kolla
#################### ####################
ceilometer_git_repository: "{{ kolla_dev_repos_git }}/{{ project_name }}" ceilometer_git_repository: "{{ kolla_dev_repos_git }}/ceilometer"
ceilometer_dev_repos_pull: "{{ kolla_dev_repos_pull }}" ceilometer_dev_repos_pull: "{{ kolla_dev_repos_pull }}"
ceilometer_dev_mode: "{{ kolla_dev_mode }}" ceilometer_dev_mode: "{{ kolla_dev_mode }}"
ceilometer_source_version: "{{ kolla_source_version }}" ceilometer_source_version: "{{ kolla_source_version }}"

View File

@ -2,6 +2,6 @@
- name: Cloning ceilometer source repository for development - name: Cloning ceilometer source repository for development
git: git:
repo: "{{ ceilometer_git_repository }}" repo: "{{ ceilometer_git_repository }}"
dest: "{{ kolla_dev_repos_directory }}/{{ project_name }}" dest: "{{ kolla_dev_repos_directory }}/ceilometer"
update: "{{ ceilometer_dev_repos_pull }}" update: "{{ ceilometer_dev_repos_pull }}"
version: "{{ ceilometer_source_version }}" version: "{{ ceilometer_source_version }}"