Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-20583

[origin_intservice_49] Can not add customization env vars in Docker tools

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • None
    • 4.3.0.CR1
    • openshift
    • Hide

      1. EXEC: Connect to OpenShift server with a user which has projects
      2. EXEC: Connect to a Docker daemon in Docker Explorer
      3. EXEC: Expand "Images" in "Docker Explorer" pane and right click a image like "openshift/mysql-55-centos7" to click "Deploy to OpenShift"
      4. ASSERT: Select a OpenShift project
      5. EXEC: Click the "Next" button
      6. ASSERT: There is no "Add" button in the "Deployment Configuration & Scalability" wizard to add customization env vars
      7. EXEC: Check the pod logs in "OpenShift Explorer", return below messages:
      You must specify following environment variables:
      MYSQL_USER (regex: '^[a-zA-Z0-9_]+$')
      MYSQL_PASSWORD (regex: '^[a-zA-Z0-9_~!@#$%^&*()-=<>,.?;:|]+$')
      MYSQL_DATABASE (regex: '^[a-zA-Z0-9_]+$')
      Optional:
      MYSQL_ROOT_PASSWORD (regex: '^[a-zA-Z0-9_~!@#$%^&*()-=<>,.?;:|]+$')
      Settings:
      MYSQL_LOWER_CASE_TABLE_NAMES (default: 0)
      MYSQL_MAX_CONNECTIONS (default: 151)
      MYSQL_FT_MIN_WORD_LEN (default: 4)
      MYSQL_FT_MAX_WORD_LEN (default: 20)
      MYSQL_AIO (default: 1)

      Show
      1. EXEC: Connect to OpenShift server with a user which has projects 2. EXEC: Connect to a Docker daemon in Docker Explorer 3. EXEC: Expand "Images" in "Docker Explorer" pane and right click a image like "openshift/mysql-55-centos7" to click "Deploy to OpenShift" 4. ASSERT: Select a OpenShift project 5. EXEC: Click the "Next" button 6. ASSERT: There is no "Add" button in the "Deployment Configuration & Scalability" wizard to add customization env vars 7. EXEC: Check the pod logs in "OpenShift Explorer", return below messages: You must specify following environment variables: MYSQL_USER (regex: '^ [a-zA-Z0-9_] +$') MYSQL_PASSWORD (regex: '^ [a-zA-Z0-9_~!@#$%^&*()-=<>,.?;:|] +$') MYSQL_DATABASE (regex: '^ [a-zA-Z0-9_] +$') Optional: MYSQL_ROOT_PASSWORD (regex: '^ [a-zA-Z0-9_~!@#$%^&*()-=<>,.?;:|] +$') Settings: MYSQL_LOWER_CASE_TABLE_NAMES (default: 0) MYSQL_MAX_CONNECTIONS (default: 151) MYSQL_FT_MIN_WORD_LEN (default: 4) MYSQL_FT_MAX_WORD_LEN (default: 20) MYSQL_AIO (default: 1)

      It can not add customization parameters in docker tools, so the pod will be failed to run if the required parameters are not existing, like "MYSQL_USER", "MYSQL_PASSWORD", etc.

              Unassigned Unassigned
              cathat_jira Chunyun Chen (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: