Bug 2088510

Summary: "Connect an external storage platform" dialog doesn't allow to copy paste json from exporter script
Product: [Red Hat Storage] Red Hat OpenShift Data Foundation Reporter: Martin Bukatovic <mbukatov>
Component: management-consoleAssignee: Divyansh Kamboj <dkamboj>
Status: CLOSED NOTABUG QA Contact: Prasad Desala <tdesala>
Severity: low Docs Contact:
Priority: unspecified    
Version: 4.11CC: badhikar, jefbrown, madam, muagarwa, nthomas, ocs-bugs, odf-bz-bot
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: 2022-06-06 05:41:30 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
screenshot #1: Connection details dialog without an option to copy paste value none

Description Martin Bukatovic 2022-05-19 15:25:02 UTC
Description of problem
======================

ODF dialog "Connect an external storage platform" doesn't allow one to copy
paste json value from ceph-external-cluster-details-exporter.py script
directly.

Version-Release number of selected component
============================================

OCP 4.11.0-0.nightly-2022-05-18-171831
ODF 4.11.0-75

How reproducible
================

100%

Steps to Reproduce
==================

1. Deploy OCP cluster
2. Install ODF operator there
3. When creating StorageSystem, use "Connect an external storage platform"
   option and select "Red Hat Ceph Storage"
4. Try to copy paste json outup of ceph-external-cluster-details-exporter.py
   script

Actual results
==============

Copy pasting of json value is not possible, only file upload is available.

Expected results
================

One can either copy paste value from the script, or upload the json from a
file.

Additional info
===============

When creating storage cluster, one can have a browser opened on their local
machine, while running the exported script on some other machine, most likely
even in a conainter (see cephadm shell). So it's bit easier to copy paste the
output from the script compared to saving it to a file first, and then
uploading it.

Comment 2 Martin Bukatovic 2022-05-19 15:27:20 UTC
Created attachment 1881396 [details]
screenshot #1: Connection details dialog without an option to copy paste value

Attaching screenshot, browser used: firefox-100.0-2.fc35.x86_64

Comment 3 Bipul Adhikari 2022-06-06 05:41:30 UTC
This is how the features' UXD was designed. This would require change in the component used. Closing as NOT A BUG. This should come in as a feature.