Uploaded image for project: 'Product Technical Learning'
  1. Product Technical Learning
  2. PTL-13808

User feedback -- The error 'could not connect to the database:error: password authentication failed for user "developer".' isn't descriptive enough to suggest to your user's 'what they need to fix' .

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • DO288 - OCP4.14-en-1-20240529
    • DO288
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • ROLE
    • en-US (English)

      Please fill in the following information:


      URL: https://role.rhu.redhat.com/rol-rhu/app/courses/do288-4.14/pages/ch02s07 
      Reporter RHNID: yuvaraj-rhls
      Section Title:                      h2. Lab: Deploying Simple Applications                                                  

      Issue description

       Description:  do288-4.14 - ch02s07 - Lab: Deploying Simple Applications

      The error 'could not connect to the database:error: password authentication failed for user "developer".' isn't descriptive enough to suggest to your user's 'what they need to fix' and without more context or information about the application being deployed. Because the step 7 is so far away from step 3 and 4, panic can set in (one stops reading the instructions and starts debugging). In short some indication to the user that the application isn't intended to deploy correctly would be nice (on step 3). 

      Step 6 in the review isn't necessary; you could just edit the deployment or use `oc set env` to supply the proper environment variable DB_PASSWORD=test to the application; it is faster and a more reasonable and realistic solution that more closely mimic what one might do in the real world. 

      Add to the table the application endpoint (todos) and the a sample data supplement ('{ "task": "example task" }') so that proper context for how to interact with the application is supplied/provided. (for step 8). Doing so helps users understand what is happening with step 8.  

      Steps to reproduce:

       

      Workaround:

       

      Expected result:

            gls-curriculum-ocp-adv@redhat.com PTL - AppDev Team
            yuvaraj-rhls yuvaraj b
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: