Cannot deploy VMTP

Bug #1830346 reported by Dincer Celik
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kolla-ansible
Fix Released
Medium
Dincer Celik
Rocky
Fix Released
Medium
Unassigned
Stein
Fix Released
Medium
Unassigned
Train
Fix Released
Medium
Dincer Celik

Bug Description

VMTP deployment fails with error below. Using stable/rocky branch.

TASK [vmtp : Copying over configuration file for vmtp] *************************************************************************************************************************************************************************************************************************
failed: [controller01] (item=cfg.default.yaml) => {"changed": false, "checksum": "94c0c4194f11ccba14684747797ce9fb9b2bc437", "item": "cfg.default.yaml", "msg": "Destination directory {'stderr_lines': [], u'changed': True, u'end': u'2019-05-24 12:18:52.485452', 'failed': False, u'stdout': u'/var/lib/kolla/venv/lib/python2.7/site-packages', u'cmd': [u'echo', u'/var/lib/kolla/venv/lib/python2.7/site-packages'], u'rc': 0, u'start': u'2019-05-24 12:18:52.475966', u'stderr': u'', u'delta': u'0:00:00.009486', 'stdout_lines': [u'/var/lib/kolla/venv/lib/python2.7/site-packages']}/vmtp does not exist"}
failed: [controller02] (item=cfg.default.yaml) => {"changed": false, "checksum": "94c0c4194f11ccba14684747797ce9fb9b2bc437", "item": "cfg.default.yaml", "msg": "Destination directory {'stderr_lines': [], u'changed': True, u'end': u'2019-05-24 12:18:52.526882', 'failed': False, u'stdout': u'/var/lib/kolla/venv/lib/python2.7/site-packages', u'cmd': [u'echo', u'/var/lib/kolla/venv/lib/python2.7/site-packages'], u'rc': 0, u'start': u'2019-05-24 12:18:52.513310', u'stderr': u'', u'delta': u'0:00:00.013572', 'stdout_lines': [u'/var/lib/kolla/venv/lib/python2.7/site-packages']}/vmtp does not exist"}

Revision history for this message
Mark Goddard (mgoddard) wrote :

Are you planning to fix this? Looks like this might help:

diff --git a/ansible/roles/vmtp/tasks/config.yml b/ansible/roles/vmtp/tasks/config.yml
index 3b7b75a..b72fb2a 100644
--- a/ansible/roles/vmtp/tasks/config.yml
+++ b/ansible/roles/vmtp/tasks/config.yml
@@ -30,7 +30,7 @@
       - "{{ role_path }}/templates/{{ item }}.j2"
       - "{{ node_custom_config }}/{{ item }}"
       - "{{ node_custom_config }}/vmtp/{{ item }}"
- dest: "{{ python_path }}/vmtp/{{ item }}"
+ dest: "{{ node_config_directory }}/vmtp/{{ item }}"
     mode: "0660"
   become: true
   register: vmtp_confs

Revision history for this message
Dincer Celik (dincercelik) wrote :

I'll fix this.

Changed in kolla:
assignee: nobody → Dincer Celik (osmanlicilegi)
status: New → Confirmed
affects: kolla → kolla-ansible
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla-ansible (master)

Fix proposed to branch: master
Review: https://review.opendev.org/661985

Changed in kolla-ansible:
status: Confirmed → In Progress
Changed in kolla-ansible:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla-ansible (master)

Reviewed: https://review.opendev.org/661985
Committed: https://git.openstack.org/cgit/openstack/kolla-ansible/commit/?id=56b2e947a1afae30ef21113717f61e96116aa873
Submitter: Zuul
Branch: master

commit 56b2e947a1afae30ef21113717f61e96116aa873
Author: Dincer Celik <email address hidden>
Date: Wed May 29 16:20:01 2019 +0300

    Fixes VMTP deploys.

    Merged config files outputs to python_path which is incorrect. Changing it
    to node_config_directory.

    Change-Id: If801f54709114b931677adb605dffb75cfab25cd
    Closes-Bug: #1830346

Changed in kolla-ansible:
status: Fix Committed → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla-ansible (stable/stein)

Fix proposed to branch: stable/stein
Review: https://review.opendev.org/666121

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla-ansible (stable/rocky)

Fix proposed to branch: stable/rocky
Review: https://review.opendev.org/666122

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla-ansible (stable/rocky)

Reviewed: https://review.opendev.org/666122
Committed: https://git.openstack.org/cgit/openstack/kolla-ansible/commit/?id=625cf9f9e85b98c738105f464d66522ad8380a6a
Submitter: Zuul
Branch: stable/rocky

commit 625cf9f9e85b98c738105f464d66522ad8380a6a
Author: Dincer Celik <email address hidden>
Date: Wed May 29 16:20:01 2019 +0300

    Fixes VMTP deploys.

    Merged config files outputs to python_path which is incorrect. Changing it
    to node_config_directory.

    Change-Id: If801f54709114b931677adb605dffb75cfab25cd
    Closes-Bug: #1830346
    (cherry picked from commit 56b2e947a1afae30ef21113717f61e96116aa873)

tags: added: in-stable-rocky
tags: added: in-stable-stein
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla-ansible (stable/stein)

Reviewed: https://review.opendev.org/666121
Committed: https://git.openstack.org/cgit/openstack/kolla-ansible/commit/?id=87476392c21b535db7dfa36bf4d845450c743af0
Submitter: Zuul
Branch: stable/stein

commit 87476392c21b535db7dfa36bf4d845450c743af0
Author: Dincer Celik <email address hidden>
Date: Wed May 29 16:20:01 2019 +0300

    Fixes VMTP deploys.

    Merged config files outputs to python_path which is incorrect. Changing it
    to node_config_directory.

    Change-Id: If801f54709114b931677adb605dffb75cfab25cd
    Closes-Bug: #1830346
    (cherry picked from commit 56b2e947a1afae30ef21113717f61e96116aa873)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kolla-ansible 8.0.0.0rc2

This issue was fixed in the openstack/kolla-ansible 8.0.0.0rc2 release candidate.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kolla-ansible 7.1.2

This issue was fixed in the openstack/kolla-ansible 7.1.2 release.

Mark Goddard (mgoddard)
Changed in kolla-ansible:
importance: Undecided → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kolla-ansible 9.0.0.0rc1

This issue was fixed in the openstack/kolla-ansible 9.0.0.0rc1 release candidate.

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.