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

RH358-44: grading script issue for chapter 12 ( Lab: Configuring Network Infrastructure Services)

XMLWordPrintable

    • 12
    • Hide

      Add the ansible_proj_dir to /usr/local/lib/lab-compreview-network on workstation (or /content/courses/rh358/rhel8.1/grading-scripts/lab-compreview-network on foundation0):
      ...
      export ansible_proj_dir=/home/student/cr-network

      and update the relevant line as follows:
      #if ${ssh} serverc "${cmd1} && ${cmd2} && ${cmd3} && ${cmd4}"
      if ${ssh} serverc '${cmd1} && ${cmd2} && ${cmd3} && ${c

      Show
      Add the ansible_proj_dir to /usr/local/lib/lab-compreview-network on workstation (or /content/courses/rh358/rhel8.1/grading-scripts/lab-compreview-network on foundation0): ... export ansible_proj_dir=/home/student/cr-network and update the relevant line as follows: #if ${ssh} serverc "${cmd1} && ${cmd2} && ${cmd3} && ${cmd4}" if ${ssh} serverc '${cmd1} && ${cmd2} && ${cmd3} && ${c
    • en-US (English)

      URL: https://role.rhu.redhat.com/rol-rhu/app/courses/rh358-8.1/pages/ch12s02
      Reporter RHNID: alpaslank
      Section: - Lab: Configuring Network Infrastructure Services
      Language: en-US (English)
      Workaround: Add the ansible_proj_dir to /usr/local/lib/lab-compreview-network on workstation (or /content/courses/rh358/rhel8.1/grading-scripts/lab-compreview-network on foundation0):
      ...
      export ansible_proj_dir=/home/student/cr-network

      and update the relevant line as follows:
      #if ${ssh} serverc "${cmd1} && ${cmd2} && ${cmd3} && ${cmd4}"
      if ${ssh} serverc '${cmd1} && ${cmd2} && ${cmd3} && ${c

      Description: I don't know if it's related to my setup but "lab compreview-network grade" fails although serverc is configured properly. 

      At first I noticed that "ansible_proj_dir" variable was not set. So I manually set it to /home/student/cr-network in /usr/local/lib/lab-compreview-network

      But this time I was getting: " Confirm dhcp-conn connection is configured on serverc....... FAIL". 

      I've changed double quotes with single quotes for the below line and I got PASS for overall lab grade:

      ...

      #if ${ssh} serverc "${cmd1} && ${cmd2} && ${cmd3} && ${cmd4}"
      if ${ssh} serverc '${cmd1} && ${cmd2} && ${cmd3} && ${cmd4}'

              alingaya@redhat.com Ashish Lingayat
              alpaslank Alpaslan Kaplan (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: