'kargo_deploy.sh' is not idempotent

Bug #1618780 reported by Dennis Dmitriev
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
fuel-ccp
Incomplete
High
Matthew Mosesohn

Bug Description

Summary: ansible tasks [dnsmasq : check resolvconf] and [postinstall : Wait for kubedns to be ready] cause changes on every run of kargo_deploy.sh

Steps to reproduce:
- Prepare provisioned environment with 5 nodes
- Clone mcpinstaller repo from https://github.com/openstack/fuel-ccp-installer
- Export IPs of provisioned nodes. Example for nodes provisioned by fuel-devops:
    export ADMIN_IP="10.10.0.2"
    export SLAVE_IPS="10.10.0.2 10.10.0.3 10.10.0.4 10.10.0.5"
- Execute installer script:
    bash -x "utils/jenkins/kargo_deploy.sh"
- Execute installer script second time:
    bash -x "utils/jenkins/kargo_deploy.sh"

Expected result: no changes made by ansible playbooks, example:
    PLAY RECAP *********************************************************************
    node1 : ok=5 changed=0 unreachable=0 failed=0
    node2 : ok=5 changed=0 unreachable=0 failed=0
    node3 : ok=5 changed=0 unreachable=0 failed=0
    ...

Actual result: [dnsmasq : check resolvconf] and [postinstall : Wait for kubedns to be ready] tasks made changes, see for details: http://paste.openstack.org/show/565101/

Changed in fuel-ccp:
status: New → Confirmed
importance: Undecided → High
Changed in fuel-ccp:
assignee: nobody → Matthew Mosesohn (raytrac3r)
Revision history for this message
Sergey Reshetnyak (sreshetniak) wrote :

Looks like problem in kargo, not in fuel-ccp-installer.
Matthew, please confirm.

Changed in fuel-ccp:
status: Confirmed → Incomplete
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.