Code Monkey home page Code Monkey logo

lab-ossm's People

Contributors

brian-avery avatar thoraxe avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

lab-ossm's Issues

[ACLs] listchecker and listentry CRDs not found in OCP 4.4

When trying to create ACLs in whitelisting step, listchecker and listentry CRDs are not found.

Issue:
$ oc apply -f lab-ossm/workshop/content/src/istiofiles/acl-whitelist.yml
rule.config.istio.io/checktorecommendation created
unable to recognize "lab-ossm/workshop/content/src/istiofiles/acl-whitelist.yml": no matches for kind "listchecker" in version "config.istio.io/v1alpha2"
unable to recognize "lab-ossm/workshop/content/src/istiofiles/acl-whitelist.yml": no matches for kind "listentry" in version "config.istio.io/v1alpha2"

Excpecting:
listchecker and listentry created. Or adapt acl-whitelist.yml according to any new CRDs ?

Environment:
OCP 4.4

Objects in OCP already exists in Lab 7

In the "Retries, Timeouts and Circuit Breaking" lab It tells you to create something that's already there.

[user5:~] $ oc create -n user5-tutorial -f /opt/app-root/workshop/content/src/istiofiles/virtual-service-recommendation-split.yml
virtualservice.networking.istio.io/recommendation created
Error from server (AlreadyExists): error when creating "/opt/app-root/workshop/content/src/istiofiles/virtual-service-recommendation-split.yml": destinationrules.networking.istio.io "recommendation" already exists

This is not a fatal error, but users might be confused. Might make a note about which "errors' are safe to ignore.

FWIW, I just used oc replace -n userX-tutorial -f ... to proceed without the warning.

Issue working through Kiali’s View of Jaeger Distributed Tracing

Whilst working through Kiali’s View of Jaeger Distributed Tracing - I don't see the Distributed Tracing option available.

Also receive the following from the Message Center [1]

Steps taken

  • Looked up route/URL for Jaeger UI
  • Pulled up URL in browser and accepted self-signed certs
    • Noticed no distributed tracing option in Kiali UI
    • Noticed error from message center

Attempted to remedy issue by restarting stack - issue continues.

[1]

Could not fetch Jaeger info. Turning off Jaeger integration., Info: [ Jaeger URL in cluster is not set in Kiali configuration ]
10/28/20198:12:35 PM```

Typo for Intro Section

In the intro section, microservices is repeated in the background section as shown in the text below:

This proxy intercepts all network communication between your microservices microservices, and is configured and managed using Istio’s control plane functionality — not your application code!

destinationRule script is different from the description of page(Weighted Routing with the Service Mesh)

Description part

apiVersion: networking.istio.io/v1alpha3
kind: DestinationRule
metadata:
  name: recommendation
spec:
  host: recommendation
  subsets:
  - labels:
      version: v1
    name: version-v1
  - labels:
      version: v2
    name: version-v2
  - labels:
      version: v3
    name: version-v3

has to be:

real script part

apiVersion: networking.istio.io/v1alpha3
kind: DestinationRule
metadata:
  name: recommendation
  namespace: user1-tutorial
spec:
  host: recommendation
  subsets:
  - labels:
      version: v1
    name: v1
  - labels:
      version: v2
    name: v2
  - labels:
      version: v3
    name: v3

Deployment using script is broken

I tried deploying the workshop myself, using the scripts in the .workshop/scripts directory, but ended up with a deployment that was broken in multiple ways:

  • %username% apparently wasn't set; I just saw an empty string being inserted in the chapters, breaking all oc commands
  • neither Service Mesh operator nor an SMCP was deployed

Maybe I was just holding this wrong? Is there even a way to deploy the full thing from just this repo?

Provide More Specific Amount of Time When Introducing a Change

It takes an appreciable amount of time for changes to be introduced that may cause a user to question whether what he or she has done is working. It would be helpful to estimate how long changes take when it is mentioned that changes will take a while. An example from the Mutual TLS section is below:

Note: It may take some time before the mesh begins to enforce the policy. If *you do not see the expected behaviors, wait a few more moments and then try *again. Patience is a virtue.

There are also sections like Routing that don't warn the user of that changes will take appreciable time to take affect. The workshop should always warn the user in this case.

Mutual TLS: Not Seeing Lock Icon Used as Described

The workshop has the following text:

Looking at the Kiali graph, a lock is now present on the graph of communication between customer and preference, indicating that this communication is secured via mTLS.

I follow the instructions but never actually see the lock display in Kiali's Graph section.

Objects already exists in Lab 8

In the "Rate Limiting" lab, I was unable to "create" the new object.

[user5:~] $ oc create -n user5-tutorial -f /opt/app-root/workshop/content/src/istiofiles/destination-rule.yml
Error from server (AlreadyExists): error when creating "/opt/app-root/workshop/content/src/istiofiles/destination-rule.yml": destinationrules.networking.istio.io "recommendation" already exists
[user5:~] $ oc replace -n user5-tutorial -f /opt/app-root/workshop/content/src/istiofiles/destination-rule.yml
destinationrule.networking.istio.io/recommendation replaced

Might be related to #11

Unable to delete objects in Lab 7

I Couldn't delete virtsvc and dest rules in the "Retries, Timeouts and Circuit Breaking " lab

[user5:~] $ oc delete -n user1-tutorial virtualservice.networking.istio.io/recommendation destinationrule.networking.istio.io/recommendation
Error from server (Forbidden): virtualservices.networking.istio.io "recommendation" is forbidden: User "user5" cannot delete resource "virtualservices" in API group "networking.istio.io" in the namespace "user1-tutorial" Error from server (Forbidden): destinationrules.networking.istio.io "recommendation" is forbidden: User "user5" cannot delete resource "destinationrules" in API group "networking.istio.io" in the namespace "user1-tutorial"

^ Note that I'm user5 trying to delete objects in the user1-tutorial namespace. There might be a "user1-tutorial" hard-coded somewhere.

Issues Rate Limiting Lab

Problem 1:

Before Starting Section -
In the previous lab, the destination rule for the recommendation was deleted so when the user runs

oc -n user1-tutorial get istio-io

It won't include the destination rule like the guide says

Problem 2:

Rate Limiting Section -
The istio resources are created in the -scmp folder, rather than the -tutorial folder and as a result the lab doesn't work. For example, the current script for user1 is

sed -e "s/USERNAME/$JUPYTERHUB_USER/" /opt/app-root/workshop/content/src/istiofiles/recommendation_rate_limit.yml \
| oc create -n user1-smcp -f -

it should be

sed -e "s/USERNAME/$JUPYTERHUB_USER/" /opt/app-root/workshop/content/src/istiofiles/recommendation_rate_limit.yml \
| oc create -n user1-tutorial -f -

[RateLimiting] Rate limiting lab is broken

I'll fix this. Just tracking broken labs with GitHub issues.

The rate limiting lab is currently broken. Executing

sed -e "s/USERNAME/$JUPYTERHUB_USER/" /opt/app-root/workshop/content/src/istiofiles/recommendation_rate_limit.yml | oc apply -n opentlc-mgr-smcp -f -

Yields:

quotaspec.config.istio.io/request-count unchanged
quotaspecbinding.config.istio.io/request-count unchanged
rule.config.istio.io/quota unchanged
unable to recognize "STDIN": no matches for kind "memquota" in version "config.istio.io/v1alpha2"
unable to recognize "STDIN": no matches for kind "quota" in version "config.istio.io/v1alpha2"

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.