Bug 1923268 - [Assisted-4.7] [Staging] Using two both spelling "canceled" "cancelled"
Summary: [Assisted-4.7] [Staging] Using two both spelling "canceled" "cancelled"
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: assisted-installer
Version: 4.7
Hardware: x86_64
OS: Linux
medium
low
Target Milestone: ---
: 4.7.z
Assignee: Elior Erez
QA Contact: Ido Ovadia
URL:
Whiteboard: AI-Team-Core
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-02-01 16:12 UTC by Ido Ovadia
Modified: 2021-06-01 04:51 UTC (History)
2 users (show)

Fixed In Version: OCP-Metal-v1.0.19.1
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-06-01 04:50:27 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
events screenshot (765.37 KB, image/x-xcf)
2021-04-28 13:27 UTC, Ido Ovadia
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2021:2121 0 None None None 2021-06-01 04:51:39 UTC

Description Ido Ovadia 2021-02-01 16:12:38 UTC
Description of problem:
=======================
We are using both spelling canceled(Americans) and cancelled(British)
and sometimes on one sentence, eg. 
"Host master-0-2: updated status from "installing-in-progress" to "cancelled" (Installation was canceled by user)"


Version-Release number of selected component:
=============================================
OCP 4.7, staging v1.0.15.2


How reproducible:
=================
100%


Steps to Reproduce:
===================
1. Start installation
2. Cancel installation
3. View cluster events


Actual results:
===============
Both types of spelling cancelled and canceled are used on events.
See output below
 

Expected results:
=================
Use only one spelling 


Additional info:
================

For example, some events: 


    {
        "cluster_id": "03253d85-c97b-4f2c-91b3-743f96399d9b",
        "event_time": "2021-02-01T12:40:49.795Z",
        "message": "Canceled cluster installation",
        "severity": "info"
    },
    {
        "cluster_id": "03253d85-c97b-4f2c-91b3-743f96399d9b",
        "event_time": "2021-02-01T12:40:49.908Z",
        "host_id": "16887216-1146-44c8-a777-0c35e27fa913",
        "message": "Host master-0-1: updated status from \"installing-in-progress\" to \"cancelled\" (Installation was canceled by user)",
        "severity": "info"
    },
    {
        "cluster_id": "03253d85-c97b-4f2c-91b3-743f96399d9b",
        "event_time": "2021-02-01T12:40:50.109Z",
        "host_id": "16887216-1146-44c8-a777-0c35e27fa913",
        "message": "Installation canceled for host master-0-1",
        "severity": "info"
    },
    {
        "cluster_id": "03253d85-c97b-4f2c-91b3-743f96399d9b",
        "event_time": "2021-02-01T12:40:50.211Z",
        "host_id": "507c69bd-de81-4470-a8b2-0fe29f0d44d4",
        "message": "Host worker-0-0: updated status from \"installing-in-progress\" to \"cancelled\" (Installation was canceled by user)",
        "severity": "info"
    },
    {
        "cluster_id": "03253d85-c97b-4f2c-91b3-743f96399d9b",
        "event_time": "2021-02-01T12:40:50.222Z",
        "host_id": "507c69bd-de81-4470-a8b2-0fe29f0d44d4",
        "message": "Installation canceled for host worker-0-0",
        "severity": "info"
    },
    {
        "cluster_id": "03253d85-c97b-4f2c-91b3-743f96399d9b",
        "event_time": "2021-02-01T12:40:50.238Z",
        "host_id": "910e58b0-725e-4f67-b1b6-80f496b636ec",
        "message": "Host worker-0-1: updated status from \"installing-in-progress\" to \"cancelled\" (Installation was canceled by user)",
        "severity": "info"
    },
    {
        "cluster_id": "03253d85-c97b-4f2c-91b3-743f96399d9b",
        "event_time": "2021-02-01T12:40:50.249Z",
        "host_id": "910e58b0-725e-4f67-b1b6-80f496b636ec",
        "message": "Installation canceled for host worker-0-1",
        "severity": "info"
    },
    {
        "cluster_id": "03253d85-c97b-4f2c-91b3-743f96399d9b",
        "event_time": "2021-02-01T12:40:50.264Z",
        "host_id": "cc73da12-08c9-4ded-b5bf-963227c24b1a",
        "message": "Host master-0-0: updated status from \"installing-in-progress\" to \"cancelled\" (Installation was canceled by user)",
        "severity": "info"
    },
    {
        "cluster_id": "03253d85-c97b-4f2c-91b3-743f96399d9b",
        "event_time": "2021-02-01T12:40:50.276Z",
        "host_id": "cc73da12-08c9-4ded-b5bf-963227c24b1a",
        "message": "Installation canceled for host master-0-0",
        "severity": "info"
    },
    {
        "cluster_id": "03253d85-c97b-4f2c-91b3-743f96399d9b",
        "event_time": "2021-02-01T12:40:50.294Z",
        "host_id": "ec104f3d-89a9-41b7-9316-c80121eccae5",
        "message": "Host master-0-2: updated status from \"installing-in-progress\" to \"cancelled\" (Installation was canceled by user)",
        "severity": "info"
    },
    {
        "cluster_id": "03253d85-c97b-4f2c-91b3-743f96399d9b",
        "event_time": "2021-02-01T12:40:50.305Z",
        "host_id": "ec104f3d-89a9-41b7-9316-c80121eccae5",
        "message": "Installation canceled for host master-0-2",
        "severity": "info"
    },
    {
        "cluster_id": "03253d85-c97b-4f2c-91b3-743f96399d9b",
        "event_time": "2021-02-01T12:41:09.246Z",
        "message": "Reset cluster installation",
        "severity": "info"
    },
    {
        "cluster_id": "03253d85-c97b-4f2c-91b3-743f96399d9b",
        "event_time": "2021-02-01T12:41:09.268Z",
        "host_id": "16887216-1146-44c8-a777-0c35e27fa913",
        "message": "Host master-0-1: updated status from \"cancelled\" to \"resetting-pending-user-action\" (Host requires booting into the discovery image to complete resetting the installation)",
        "severity": "info"
    },

Comment 1 Elior Erez 2021-04-12 12:17:10 UTC
Will be solved as part of https://issues.redhat.com/browse/MGMT-3493

Comment 3 Ido Ovadia 2021-04-28 13:26:21 UTC
Failed QA
=========

v1.0.19.1

e.g the following events 

{
        "cluster_id": "35c91868-2334-4655-a82f-4caa80b1d641",
        "event_time": "2021-04-28T13:08:06.610Z",
        "host_id": "be41d716-5cc4-415f-95be-db921718c15b",
        "message": "Host worker-0-0: updated status from \"installing-in-progress\" to \"cancelled\" (Installation was cancelled by user)",
        "severity": "info"
},
{
        "cluster_id": "35c91868-2334-4655-a82f-4caa80b1d641",
        "event_time": "2021-04-28T13:08:06.621Z",
        "host_id": "be41d716-5cc4-415f-95be-db921718c15b",
        "message": "Installation canceled for host worker-0-0",
        "severity": "info"
}




See enclosed events screenshot

Comment 4 Ido Ovadia 2021-04-28 13:27:30 UTC
Created attachment 1776641 [details]
events screenshot

Comment 9 errata-xmlrpc 2021-06-01 04:50:27 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: OpenShift Container Platform 4.7.13 bug fix and security update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2021:2121


Note You need to log in before you can comment on or make changes to this bug.