config_controller: Inconsistent user input for Configure Distributed Cloud question

Bug #1815643 reported by Saul Wold
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
StarlingX
Fix Released
Low
Ran An

Bug Description

During the initial setup using config_controller, the question about Configuring a Distributed Cloud Controller requests a [y/N]: type of response, but a "N" is not a valid choice, later a similar request for a [y/N]: accepts a "N" as a valid response.

The input should be validated in a consistent fashion if a y/N response is requested.

Severity: Minor

Steps to reproduce: Run config_controller and answer "N" to the Configure a Distributed Cloud Controller

Expected Behavior: config_controller should continue

Actual Behavior: Invalid choice is reported

Reproducible: 100%

Master Branch

Ghada Khalil (gkhalil)
Changed in starlingx:
importance: Undecided → Low
status: New → Triaged
Revision history for this message
Ghada Khalil (gkhalil) wrote :

Minor issue; not gating for any release.

This is a good opportunity for someone looking to ramp up on starlingx defect handling workflow as the fix should be simple

tags: added: stx.distcloud
Ghada Khalil (gkhalil)
tags: added: stx.config
Ghada Khalil (gkhalil)
tags: added: stx.helpwanted
Ghada Khalil (gkhalil)
Changed in starlingx:
assignee: nobody → Bruce Jones (brucej)
Bruce Jones (brucej)
Changed in starlingx:
assignee: Bruce Jones (brucej) → Cindy Xie (xxie1)
Ran An (an.ran)
Changed in starlingx:
assignee: Cindy Xie (xxie1) → Ran An (an.ran)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to stx-config (master)

Fix proposed to branch: master
Review: https://review.openstack.org/646033

Changed in starlingx:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to stx-config (master)

Reviewed: https://review.openstack.org/646033
Committed: https://git.openstack.org/cgit/openstack/stx-config/commit/?id=98a176a5af4df16e7e5bea84e06fd3343d3d9e2f
Submitter: Zuul
Branch: master

commit 98a176a5af4df16e7e5bea84e06fd3343d3d9e2f
Author: SidneyAn <email address hidden>
Date: Mon Mar 25 00:58:46 2019 +0800

    enable N/Y as valiable input for Distributed Cloud Configuration

    During the initial setup using config_controller, the question about
    Configuring a Distributed Cloud Controller requests a [y/N], "N" is
    not a valid choice, while later similar requests accepts a "N" as a
    valid response.

    The input should be validated in a consistent fashion if a y/N
    response is requested.

    Closes-bug: 1815643

    Change-Id: Ib3206266d8aabe4ae025336a20485f56e1033b78
    Signed-off-by: SidneyAn <email address hidden>

Changed in starlingx:
status: In Progress → Fix Released
Revision history for this message
Ghada Khalil (gkhalil) wrote :

Adding stx.2019.05 tag as this fix was merged for that release

tags: removed: stx.helpwanted
tags: added: stx.2019.05
Ken Young (kenyis)
tags: added: stx.2.0
removed: stx.2019.05
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.