Description of problem: if there isn't available disk space to backup etcd database. upgrade will report undefined variable. Version-Release number of selected component (if applicable): atomic-openshift-utils-3.0.7-1.git.156.70ed54c.el7aos.noarch How reproducible: always Steps to Reproduce: 1. 2. 3. Actual results: TASK: [Check available disk space for etcd backup] **************************** changed: [10.14.6.120] TASK: [Check current embedded etcd disk usage] ******************************** fatal: [10.14.6.120] => One or more undefined variables: 'dict object' has no attribute 'etcd_data_dir' FATAL: all hosts have already failed -- aborting Expected results: Upgrade should print meaningful messages as design. Additional info:
I don't think this is related to not having enough disk space rather just a plain bug we hit yesterday. It should be fixed in last nights build. http://buildvm-devops.usersys.redhat.com/puddle/build/AtomicOpenShift/3.1/latest/RH7-RHAOS-3.1/
The feature works well on openshift-ansible-3.0.12-1. so move bug to verified. TASK: [Abort if insufficient disk space for etcd backup] ********************** failed: [10.14.6.120] => {"failed": true} msg: 20871084 Kb disk space required for etcd backup, 3833912 Kb available. FATAL: all hosts have already failed -- aborting