Attempt to improve sterr handling caused more problems

Bug #1871924 reported by David Ames
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MySQL InnoDB Cluster Charm
Fix Released
Critical
David Ames

Bug Description

Commit hash 9efc811f263ce3881962842ea225904996111379 which attempted to handle stderr better causes more failures.

subprocess.check_output does not set stderr. Therefore subprocess.CalledProcessError.stderr does not exist and throws an exception when referenced.

Consider reverting.

David Ames (thedac)
Changed in charm-mysql-innodb-cluster:
status: New → Triaged
importance: Undecided → Critical
assignee: nobody → David Ames (thedac)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to charm-mysql-innodb-cluster (master)

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

Changed in charm-mysql-innodb-cluster:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to charm-mysql-innodb-cluster (master)

Reviewed: https://review.opendev.org/718813
Committed: https://git.openstack.org/cgit/openstack/charm-mysql-innodb-cluster/commit/?id=f32212e068bec20fb7fc023c73194ffbe7ad4f5a
Submitter: Zuul
Branch: master

commit f32212e068bec20fb7fc023c73194ffbe7ad4f5a
Author: David Ames <email address hidden>
Date: Thu Apr 9 14:26:54 2020 -0700

    Set stderr for subprocess.check_output

    Change-Id: Idc44c27cd9a766c9d4fb2e5b2773ae3a4829741b
    Closes-Bug: #1871924

Changed in charm-mysql-innodb-cluster:
status: In Progress → Fix Committed
David Ames (thedac)
Changed in charm-mysql-innodb-cluster:
milestone: none → 20.05
status: Fix Committed → Fix Released
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.