-
Notifications
You must be signed in to change notification settings - Fork 4
[WIP] Scope demo in OpenShift #18
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
LGTM too. I am doing some testing today |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I found a typo
Now you can start the VM: | ||
|
||
``` | ||
vagrant up --provider=virtualbpx |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
s/virtualbpx/virtualbox/g
I tried the demo, but I encountered some issues:
There is no |
|
||
Make sure the `Vagrantfile` has the following changes: | ||
- Fedora 25 | ||
- 8GB mempory |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
typo: *memory
|
|
||
Install additional packages: | ||
``` | ||
dnf install kernel-debug-modules-extra kernel-devel |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For some reason, I have to install also kernel-modules-extra
to be able to load sch_netem
so we should add it to the command.
Now you are working on the project __weavescope__, before you can deploy the services you need to set the policy as shown below. | ||
``` | ||
oc adm policy add-scc-to-user privileged system:serviceaccount:weavescope:default | ||
oadm policy add-cluster-role-to-user cluster-admin system:serviceaccount:weavescope:default |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These 2 commands fail, to succeed I have to run oc login -u system:admin
source: openshift/origin#4592 (comment)
Those are my notes so far. Lots of small workarounds.
/cc @alepuccetti @iaguis @nhlfr @schu