## Description of problem: According to the documentation: https://docs.openshift.com/container-platform/4.10/openshift_images/using-templates.html#templates-writing-description_using-templates >>An instructional message that is displayed when this template is instantiated. This field should inform the user how to use the newly created resources Message defined in Template should be displayed after instantiating. However after instantiating a template using Web Console there will be no any messages. Version-Release number of selected component (if applicable): 4.10.13 ## How reproducible: message field is defined in Template $ oc -n openshift get template mariadb-ephemeral -o json | jq .message "The following service(s) have been created in your project: ${DATABASE_SERVICE_NAME}.\n\n Username: ${MYSQL_USER}\n Password: ${MYSQL_PASSWORD}\n Database Name: ${MYSQL_DATABASE}\n Connection URL: mysql://${DATABASE_SERVICE_NAME}:3306/\n\nFor more information about using this template, including OpenShift considerations, see https://github.com/sclorg/mariadb-container/blob/master/10.3/root/usr/share/container-scripts/mysql/README.md." Log in into Console as developer. Pick a mariadb-ephemeral from Developer Catalog. Click Instantiate. Set any "Database Service Name". Press Create. You will be redirected to Topology. There was no any messages which are defined in template and documentation. ## Steps to Reproduce: 1. In Web Console, from Developer perspective, click +Add. 2. Go to Developer Catalog -> All services 3. Type "Maria" in Filter 4. pick MariaDB (Ephemeral) 5. Click "Instantiate Template" 6. Click "Create" ## Actual results: Redirected to Topology. ## Expected results: The message starting with "The following service(s) have been created in your project..." displayed. ## Additional info: -
There does not seem to be any issues with the template itself. I was able to get the message back using the cli: dperaza@dperaza-mac helm_metric % oc new-app --template mariadb-ephemeral --> Deploying template "openshift/mariadb-ephemeral" to project default MariaDB (Ephemeral) --------- MariaDB database service, without persistent storage. For more information about using this template, including OpenShift considerations, see https://github.com/sclorg/mariadb-container/blob/master/10.3/root/usr/share/container-scripts/mysql/README.md. WARNING: Any data stored will be lost upon pod destruction. Only use this template for testing The following service(s) have been created in your project: mariadb. Username: userEWG Password: qb26CX6U3OEUWm11 Database Name: sampledb Connection URL: mysql://mariadb:3306/ For more information about using this template, including OpenShift considerations, see https://github.com/sclorg/mariadb-container/blob/master/10.3/root/usr/share/container-scripts/mysql/README.md. * With parameters: * Memory Limit=512Mi * Namespace=openshift * Database Service Name=mariadb * MariaDB Connection Username=userEWG # generated * MariaDB Connection Password=qb26CX6U3OEUWm11 # generated * MariaDB root Password=DSCVJKK2BOa3DOVS # generated * MariaDB Database Name=sampledb * Version of MariaDB Image=10.3-el8 --> Creating resources ... secret "mariadb" created service "mariadb" created deploymentconfig.apps.openshift.io "mariadb" created --> Success Application is not exposed. You can expose services to the outside world by executing one or more of the commands below: 'oc expose service/mariadb' Run 'oc status' to view your app.
Moving bug to Console team for investigation why is not the same behavior from UI.
OpenShift has moved to Jira for its defect tracking! This bug can now be found in the OCPBUGS project in Jira. https://issues.redhat.com/browse/OCPBUGS-9349