Bug 1923268

Summary: [Assisted-4.7] [Staging] Using two both spelling "canceled" "cancelled"
Product: OpenShift Container Platform Reporter: Ido Ovadia <iovadia>
Component: assisted-installerAssignee: Elior Erez <eerez>
assisted-installer sub component: assisted-service QA Contact: Ido Ovadia <iovadia>
Status: CLOSED ERRATA Docs Contact:
Severity: low    
Priority: medium CC: alazar, aos-bugs
Version: 4.7Keywords: Reopened
Target Milestone: ---   
Target Release: 4.7.z   
Hardware: x86_64   
OS: Linux   
Whiteboard: AI-Team-Core
Fixed In Version: OCP-Metal-v1.0.19.1 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-06-01 04:50:27 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
events screenshot none

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