cancel
Showing results for 
Search instead for 
Did you mean: 
shura
Flight Engineer
Flight Engineer
  • 495 Views

DO280 Lab grade error

DO280-OCP4.14-en-2-20240725: Exectly follow by Solution of Chapter 4 Network Security Lab, Compare my files with supplied solution files. However get grading errors:

Screenshot From 2024-09-25 08-40-50.png

Please, any comments

4 Replies
shashi01
Moderator
Moderator
  • 475 Views

@shura Thanks for reaching out

I tried to replicate the issue, but it did not occur. 

I think you need to check and adjust the network policies

rhnoname
Flight Engineer Flight Engineer
Flight Engineer
  • 443 Views

Hi, It worked for me.

Review the network policy section, it should work.

Or clean the lab and then repeat all the tasks from scratch

Best Regards
shura
Flight Engineer
Flight Engineer
  • 385 Views

Thank for attention to my issue.

I try some attempt to reproduce an issue presented above. To be sure I follow files supplied in solution only. Could not get same issue, but I found some different one. Look, please, here:

[student@workstation ~]$ oc apply -f /home/student/DO280/solutions/network-review/07_product-ingresspolicy.yaml
networkpolicy.networking.k8s.io/product-ingress-policy created
[student@workstation ~]$ oc apply -f /home/student/DO280/solutions/network-review/09_stock-ingresspolicy.yaml
networkpolicy.networking.k8s.io/stock-ingress-policy created
[student@workstation ~]$ oc get networkpolicy
NAME POD-SELECTOR AGE
product-ingress-policy app=product 45s
stock-ingress-policy app=stock 38s
[student@workstation ~]$ lab grade network-review
SUCCESS Waiting for cluster
SUCCESS Checking the stock service annotations
SUCCESS Checking the stock container definition in the stock deployment
SUCCESS Checking the product container definition in the product deployment
SUCCESS Checking tls between product and stock pods
SUCCESS Checking tls from outside of the cluster using the /home/student/DO280/labs/network-review/certs/ca.pem CA certificate
SUCCESS Verify that pods in network-review other than product cannot connect to the stock pod
SUCCESS Verify that pods in network-review cannot connect to the product pod
[student@workstation ~]$ oc delete networkpolicy stock-ingress-policy
networkpolicy.networking.k8s.io "stock-ingress-policy" deleted
[student@workstation ~]$ oc delete networkpolicy product-ingress-policy
networkpolicy.networking.k8s.io "product-ingress-policy" deleted
[student@workstation ~]$ lab grade network-review
SUCCESS Waiting for cluster
SUCCESS Checking the stock service annotations
SUCCESS Checking the stock container definition in the stock deployment
SUCCESS Checking the product container definition in the product deployment
SUCCESS Checking tls between product and stock pods
SUCCESS Checking tls from outside of the cluster using the /home/student/DO280/labs/network-review/certs/ca.pem CA certificate
SUCCESS Verify that pods in network-review other than product cannot connect to the stock pod
SUCCESS Verify that pods in network-review cannot connect to the product pod
[student@workstation ~]$

I do not undestend the grade procedure.  Taking in account first issue looks that something is not stable ( not correct ) in grading script

rhnoname
Flight Engineer Flight Engineer
Flight Engineer
  • 332 Views

You could raise a request to the RH support to address the issue.

Perhaps there could be some misbehaviours of the grading script.

 

Best Regards
0 Kudos
Join the discussion
You must log in to join this conversation.