-
Notifications
You must be signed in to change notification settings - Fork 309
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Iso seg ops files #1109
Iso seg ops files #1109
Conversation
@reneighbor we only accept PRs to the Also, it appears from the description that the desired end result was to update certain ops files and move them out of the |
@ctlong Wow, thanks for the fast turnaround!! I'd forgotten to commit the files in their new location. Thanks. |
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.
@reneighbor the ops files tests will need to be updated, in the units/tests
directory. Let me know if you need help with that.
Also, I took a look and some of these ops files are being used in CF-D CI... Can you elaborate more on why they don't work at present? I'm curious because our pipelines haven't had any problems related to these ops files as far as I can tell.
@ctlong Updated tests and docs:
According to the story, we don't have tests that deploy an iso seg in the CF-D CI (or in the Runtime team's CI), hence the ops files have been allowed to go out of date. |
@reneighbor unless I'm misunderstanding something, the story doesn't appear to be accurate when it says "CI for cf-d isn't ensuring that any of our jobs can compile/deploy under isolation". ✅ CF-D CI does apply the following ops files in the fresh-luna fanout:
I can understand that these ops files may be out-of-date and should be updated. It doesn't seem appropriate to call them non-functional though, since they're not failing deploys in CI. |
Also CATs does include tests for isolation segments, so can you please validate that a CF-Deployment with your updated ops files applied does pass CATs with the following configuration options set:
⚡ It would be awesome if y'all could write a new CATs test in one of those suites that fails with the current iteration of these ops files (in CF-D |
Hi @ctlong ! We discovered that the pre-existing isolation segment ops files don't install silk-cni but instead use a pre-silk networking layer. To prove this, we ran a test that pushes 2 apps on an isolation segment and attempts to run c2c between them. With old ops files:
With PR'd ops files, the test passes. |
@reneighbor this mostly lgtm then. Thank you for responding to my questions. The last thing I'm wondering is if the ops files should be moved out of |
@ctlong Thanks a lot, and for real, thanks for being super careful with PR reviews. Re moving the ops files outside of test. I hadn't seen the README. Hm, it seems like the main reason given for why the ops file is not generalizable is that it's not repeatable (I believe because the names and tags will be duplicated). If that's the case, I think customers are smart enough to use the ops files as an example; for example, the windows2019-cell ops file is one that couldn't be repeatable, but it's outside of It's a good reminder to remove that example from the README though, which I'll do; feel free LMK if you think the files should stay in |
Hello friend, it looks like your pull request has failed one or more of our checks. Please take a look! 👀 |
Hello friend, it looks like your pull request has failed one or more of our checks. Please take a look! 👀 |
- cloudfoundry/cf-deployment#1109 changed the path of the file to no longer include test
- cloudfoundry/cf-deployment#1109 changed the path of the file to no longer include test
- cloudfoundry/cf-deployment#1109 changed the path of the file to no longer include test
- cloudfoundry/cf-deployment#1109 changed the path of the file to no longer include test
- cloudfoundry/cf-deployment#1109 changed the path of the file to no longer include test
- cloudfoundry/cf-deployment#1109 changed the path of the file to no longer include test
- cloudfoundry/cf-deployment#1109 changed the path of the file to no longer include test
* Update path for add-persistent-isolation-segment-diego-cell.yml - cloudfoundry/cf-deployment#1109 changed the path of the file to no longer include test * Put back old test/add-persistent-isolation-segment-diego-cell.yml path - older cf-d's still use it
Please take a moment to review the questions before submitting the PR
WHAT is this change about?
This PR is updating the ops files for isolation cells and isolation segment routers. Previously, the ops files had been out of date and non-functional with the current version of cf-deployment.
We also move the files out of
test
, as they are not just used for testing. Lastly we removed a the ops file for a bosh lite environment, as bosh-lite is now deprecated.What customer problem is being addressed? Use customer persona to define the problem e.g. Alana is unable to...
Please provide any contextual information.
https://www.pivotaltracker.com/story/show/183738848
Has a cf-deployment including this change passed cf-acceptance-tests?
Does this PR introduce a breaking change? Please take a moment to read through the examples before answering the question.
How should this change be described in cf-deployment release notes?
Update ops files for creating isolation cells and isolation segment routers.
Does this PR introduce a new BOSH release into the base cf-deployment.yml manifest or any ops-files?
Does this PR make a change to an experimental or GA'd feature/component?
Please provide Acceptance Criteria for this change?
Target a cf-deployment environment:
bosh deploy cf.yml -o operations/add-persistent-isolation-segment-diego-cell.yml -o operations/add-persistent-isolation-segment-router.yml
cf create-isolation-segment persistent_isolation_segment
cf create-org o && cf target -o o
cf create-space s && cf target -s s
cf enable-org-isolation o persistent_isolation_segment
cf set-org-default-isolation-segment o persistent_isolation_segment
cf push dora ~/workspace/cf-acceptance-tests/assets/dora
Verifying isolated cell:
cf app dora
--> [see that dora is in thepersistent_isolation_segment
iso seg]Verifying isolated router:
bosh vms
--> copy iso seg router IPbosh ssh iso-seg-router
curl 10.0.1.18 -H "Host: dora.shamrockgreen.cf-app.com
--> [confirm you get a response, "Hi, I'm Dora!"]What is the level of urgency for publishing this change?
Tag your pair, your PM, and/or team!
@tas-runtime-ecosystem