Bug 1490720
| Summary: | [trello o82aiHhh] Deployment canceled notification was not included in notification drawer | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Yadan Pei <yapei> |
| Component: | Management Console | Assignee: | bpeterse |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Yadan Pei <yapei> |
| Severity: | low | Docs Contact: | |
| Priority: | medium | ||
| Version: | 3.7.0 | CC: | aos-bugs, jokerman, mmccomas, yapei |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2017-11-06 15:15:20 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: | |||
Looking into this. For the list of Events that should appear in the drawer, see this file: https://github.com/openshift/origin-web-console/blob/master/app/scripts/constants.js#L157 This list is based on the event.reason. PR opened for this: https://github.com/openshift/origin-web-console/pull/2412 Waiting for newer(>3.7.0-0.189.0) puddle to verify the bug Waiting for new puddle with the fix to verify the bug Checked on v3.7.0-0.190.0 After DC is canceled, message "Rollout Cancelled — Deployment Config" goes into notification drawer Move to VERIFIED |
Description of problem: Deployment canceled notification was not included in notification drawer Version-Release number of selected component (if applicable): v3.7.0-alpha.1+37bf502-282 How reproducible: Always Steps to Reproduce: 1.Create test DC $ cat dc.yaml apiVersion: v1 kind: DeploymentConfig metadata: labels: run: php-apache name: php-apache spec: replicas: 1 selector: run: php-apache template: metadata: labels: run: php-apache spec: containers: - image: gcr.io/google_containers/hpa-example imagePullPolicy: IfNotPresent name: php-apache resources: requests: cpu: 200m securityContext: privileged: true restartPolicy: Always securityContext: {} terminationGracePeriodSeconds: 30 triggers: - type: ConfigChange $ oc create -f dc.yaml deploymentconfig "php-apache" created 2. The pod will not be running since we don't have sufficient permission to create privileged containers, during the deployment process we cancel it on Overview page 3. After canceled, we get toast notification "Deployment php-apache #1 was cancelled" displayed at the upper-right Actual results: 3. Deployment cancelled notification was not included in notification drawer Expected results: 3. Per https://github.com/openshift/origin-web-console/pull/1326 discussion, deployment cancelled (dc, k8sdep, pod, etc) notification should goes into notification drawer Additional info: