-
Story
-
Resolution: Done
-
Critical
-
None
-
None
As a user I want to be notified ASAP in the OSD or Rosa wizards if there is an error with my network configuration. Â
Implementation Details
The 'on demand' network verifier OCM APIs can be run at any time (not just as part of installer 'in-flight' checks).
The first POST API kicks off the network verifications on the provided payload which contains 'region' and a list of 'subnets' to validate:
POST ​/api​/clusters_mgmt​/v1​/network_verifications
The subsequent GET API calls with the `subnet_verification_id` returns status of the network verification test:
GET /api/clusters_mgmt/v1/network_verifications/<subnet_verification_id>
- UI will need to periodically poll for each subnet until all return pass or fail.
Design Doc: OSD/ROSA network-verifier Option 1 which shows these checks as 'pre-flight' ('On demand' is the term prefered by the backend team).Â
Open Issues
UX
- There is a question on whether we could do the validation earlier in the wizard, when user has selected/specified the subnets? Would need new mockups around how to display this upon a "Next" wizard button click.
- The 'pre-flight/on-demand' mockups need to be updated, they no longer match the backend API data/statuses. it should be a list of the subnets, each row has subnet id and status of running, passed, failed. Â
- When all subnets are no longer 'running' (pending) and each returned a status of passed or failed, then If there is at least one subnet failure, we need to show the failure message to the end user, and prevent then from going to the next wizard step or to cluster creation submission.
Backend
- (resolved) the payload for the POST command includes `aws.account_id` & `aws.access_key_id` & `aws.secret_access_key`. The user does enter these credentials as part of the OSD -> CCS -> AWS flow, however the user doesn't enter these credentials for the Rosa Wizard. Â
wkutler@redhat.com wrote: The payload for the (rosa) POST request only needs the STS role. If other credentials are supplied they’ll be overwritten by the credentials from assuming the role. Sorry for the confusion (edited) - (resolved) If we implement this 'on-demand' network verifier check in the UI, will it also run again as part of the 'in-flight' cluster creation tests? So, in a sense it gets run twice in the UI flow (pre/on-demand & in-flight)?
rh-ee-gbranco wrote:Â Yes, it runs as part of the inflights as well. There isn't a way to specify to skip. I believe the idea is that the customer might still change some setting even though he just passed the on demand
Â
Acceptance Criteria
- Â
Â
Resources:
- clones
-
OCMUI-36 Show cluster installation "In-Flight" network verification failures for OSD and ROSA
- Closed
- is blocked by
-
OCMUI-1069 [OCM-UI] [OSD- Multi Zone] Network verifier errors disappear from the overview page after the cluster goes into a error state
- Closed
-
OCMUI-1071 [OCM-UI] [Hypershift-ROSA] Network verifier and other checks are not shown on the Overview page after the cluster goes into a ready state
- Closed
-
OCMUI-1105 [OCM-UI]URL's column is displayed as blank inside the Network banner within the Overview page
- Closed
-
OCMUI-1125 [OCM-UI] ROSA-Classic Network validation errors on the Overview page
- Closed
-
PD-1271 Add VPC network validation to OSD and ROSA inflight checks
- Closed
- is depended on by
-
OCMUI-36 Show cluster installation "In-Flight" network verification failures for OSD and ROSA
- Closed
- is related to
-
OCMUI-1079 [OCM-UI] OSD cluster creation immediately goes into an Error state once the network verifier fails
- Closed
-
OCMUI-1101 [OCM-UI][Hypershift-ROSA][OSD-Multizone] Cluster logs are not shown on the Overview page when the network check fails
- Closed
-
HAC-862 [OSD and ROSA Wizard] Improve error message (only) for CIDR & VPC subnet mismatches
- Closed
-
OCMUI-1104 [OCM-UI][Hypershift ROSA] Rerun network verifier automatically runs without the user manually clicking on the button
- Closed
- relates to
-
PD-1391 [Informing mode] part 1 - UX design for ROSA/OSD network-verifier
- Closed
- links to
- mentioned on