-
Notifications
You must be signed in to change notification settings - Fork 217
Added iaas settings for openstack #111
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
Conversation
|
Hey axelaris! Thanks for submitting this pull request! I'm here to inform the recipients of the pull request that you've already signed the CLA. |
1 similar comment
|
Hey axelaris! Thanks for submitting this pull request! I'm here to inform the recipients of the pull request that you've already signed the CLA. |
|
We have created an issue in Pivotal Tracker to manage this. You can view the current status of your issue at: https://www.pivotaltracker.com/story/show/109057914. |
|
Thanks, @axelaris! I too think it'd be helpful to have at least some example stubs for other infrastructures for reference. I'd also like to keep them fairly consistent with the OpenStack example stub in https://github.com/cloudfoundry/cf-release/blob/develop/spec/fixtures/openstack/cf-stub.yml. There are a few changes I'd like to suggest or to ask about:
Thanks, |
|
Hi @ematpl, |
|
Hi, @axelaris, thanks for the changes! I have a couple other notes to add on specific lines, but otherwise looks good! Oh, could you also squash all these commits down into one commit, for cleanliness of the history? Thanks again, |
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.
The net_id placeholder value should be DIEGO_SMOKE_TESTS_NET_ID, since we intend it to be different from DIEGO_1_NET_ID.
|
@ematpl done! |
Added iaas settings for openstack
|
Thanks, @axelaris! Merged. |
Submodule src/github.com/cloudfoundry/gorouter df2342d..1f4d5cc (rewind): < `Uptime` metric changed to `uptime` < Fix travis build < Fix flakey uptime monitor test < Fix race condition in test < CA cert support for UAA < Send router uptime metric after draining all connections < Add uptime metrics reporter < Read request before writing response < Fix proxy test with new package name < Remove godeps and add lib to routing-release GOPATH < Exclude port in X-CF-Forwarded-Url header < Rename ssl_skip_validation to skip_ssl_validation < Use routing-release as GOPATH for travis CI < Only log when actually pruning a route to an endpoint < Return pointer to RequestHandler < Update README < Increase timeout for gorouter startup for unit tests < Update README.md < Update readme to include for standalone gorouter < Update travis to go get dependencies < Update gorouter readme and scripts to remove Godep < Remove duplicated words. < Change TTL type int -> *int < Remove godep-env script < Add modification tag to NewEndpoint method for http routes < Change syncing logic to use a buffered channel < Add necessary debug logging to see modification tag application < Register/ Unregister using modification tags < Test if route registry applies older routes < Remove Godeps < Remove .envrc file < Fix misleading message when NATS client closing. < Fix flakiness of route fetcher test < Use ioutil.NopCloser and do not write to request object in defer < Event buffering matches TCP router buffering style < Cache events during route fetching < Upgrade routing-api < Fix round tripper to avoid closing request body during retries. < Add suite tests for new packages so that ginkgo will run them < Use nats-io/gnatsd to install test dependencies < Switch the log level from info to debug < Add comment about synchronization of Trie datastructure < Log route register and unregister at INFO < Add ToPath function to Trie < Add all fakes in dropsonde < Add metric_sender/fake < Add log_sender/fake < Update tests < Update dropsonde < Run go vet after ginkgo tests to compile dependencies < Use syslog vs. stdout for sending access logs < Fix go router start message in main_test < Improve router integration test < Increase test timeout < Add more log messages for debugging < Remove skipMeasurements option passed to ginkgo in scripts/test < Update packages route_service, route_fetcher, router and stats to comply with go-vet < Update test script to use go vet and change packages to vet compliant. < Update readme for minimumRegisterIntervalInSeconds < Update Godeps < Switch to use nats-io.nats as nats client in palce of yagnats < Improve logging < Force UAA fetch token on start up < Improve log messages < Improve logging around routing api & uaa communications < Update gorouter to emit access logs with miliseconds precision. < Add coverage for uaa fetch token caching < Make access log streaming optional < Upgrade lager to get fix for serialization before sink < Update log messages in test < Remove unnecessary log messages < Bump uaa-g-client module in Godeps < Fix usage of forcedUpdate flag in call to FetchToken < Use EscapedPath for looking up for absolute as well as relative URI < Change UAA endpoint in main_test < Upgrade uaa-go-client < Gorouter route fetcher use UAA over TLS < Make routing secret more secure SHA1->SHA256 < Suppress setting Content-Type if not in response < Fix typo < Update travis to use golang 1.5 vs. 1.4 < Add RouteServiceRecommendHttps variable < Proxy respects the recommendHttps value < Add route service recommend https property < Configure gorouter to use SubscribeToEventsWithMaxRetries < Switch from uaa-token-fetcher to uaa-go-client < Update references by interface name < Update route fetcher tests and use fakes < Add uaa-go-client and update route fetcher < Remove X-CF-FORWARDED-URL Header before -> backend < Changes logging to use cf-lager conventions < Set Content-type header to nil if none is set by backend < Wrap dropsonde InstrumentedHandler to set X-Vcap-Request-Id in gorouter < Revert last commit < THE WIPEST BRANCH < Emit metrics for count of registry messages < Fix unit tests < Bump Dropsonde < GoRouter not longer writes X-Vcap-Request-Id < Report healthy only once accepting connections < Use LoggingConfig.Syslog as component name in lager < Revert "Remove syslog configuration" < Change Ω to Expect < Add X-Forwarded-Proto header if not present < Remove syslog configuration < Fixed flaky expections in registry tests < Fix flaky expectation around router drain test. < Fix expectation on session exit for main_test of gorouter. < Remove flaky expectation about specific error type when rogouter shutdown. < Generate fake event to avoid blocking in flaky test. < Fix expectation in route_fetcher_test. < Update router drain test for drain wait < During Drain() stop responding to heartbeats < bump routing-api godep dependency < Fix test message < Updated the Unauthorized error check to be less restrictive < Update tests to look for new token message < Updated log message for fetching token < Updated README about log levels present in cf_lager framework < Add tests for directing log messages to stdout < Redirect access_logs to stdout. < Remove gosteno module completely < Changed config and proxy lib to use cf_lager < replacing gosteno with cf_lager < Merge pull request #111 from cloudfoundry/shalako-patch-1 < Validate Host header characters < git ignore .swp files < gorouter fail fast after failed contact UAA < Add test for fail fast [#109854678] < Add fast fail if unable to fetch token from UAA < Bump timeout on tests failing on travis < Fix data races in tests < Only include host names with valid characters in 404 error response. < Only create route fetcher if routing api is enabled < Add additional metrics to GoRouter. < Fixes #106 - Allow HTTP request target in absolute-form < Reuse secure attribute of session cookie < Bump ifrit to get fix for multiple signals handling < Revert "Test the auto delivery of go router" < Test the auto delivery of go router < Changes to use updated uaa-token-fetcher < Remove golang 1.3 from travis < Change events log to debug setting < route_service_timeout --> route_services_timeout < Fix Godeps.json < Update dropsonde to fix issue with HttpStartStop < Merge branch 'wip-drain-test-96718176' < Merge PR #104 < Add atomic counter to remove data race condition on proxy gorouter < Update routing-api module in Godeps < Update Godeps and remove all test files < Drain client connections on error. < Change logging job name to "gorouter" < Remove default ciphers from config.go < Fix godep warning (No buildable source..) < Support unencoded secrets for route services < Add support for routing_api.auth_disabled < Update README for access log format < Avoid losing precision when printing the response time < Optimize access_log_record.go < Update readme example < Fix proxy_unit_tests < Emit router metrics through dropsonde < Upgrade dropsonde to the latest version. < Do not require X-Cf-Forwarded-Url on return from route service < Improve panic error message some more < Improve panic error message < Change Cipher Suite Order < Add response_time to access log for TCP/Websocket < Remove go1.4 from the allowed failures on travis < Fix data race in test setup < Correctly send uptime stat over varz < Update readme and documentation around boshlite < Fix gorouter flaky tests < Remove unused test (and test autobump) < Update routing-api godep dependency < Fix Travis flakiness < Separate route services secrets into 2 properties < Remove query params for Register and Unregister < Fix route lookup for context path and query string < WIP 404 context path < Added unit tests for comma separated list of secrets < Change Route Service Secrets to be a list of keys < Fix test for PR 93 < Log the contents of X-Forwarded-Proto < Restore godeps when building rss CLI < Update README to indicate how to setup the GOPATH < Make sure we check for emtpy slice. < Put the header value in quotes, also, add extra headers to the test. < Fall back to current format for extra headers instead of using json. < Enable us to specify extra headers we want to log. < Run unit test in parallel < Remove IV in crypto packages < Make vcap component logging work in GoRouter < Do not send an empty subject when publishing NATs messages < Update Travis badge to show master branch. < Add codegangsta/cli to godeps. < Add RSS CLI documentation < Change route services disable error message < Return 400 when metadata header is missing < Add tests for RSS Cli < Add default key file argument < Add Cli tool to read route service signature < Include forwarded url in route services header < Add tests for forwarded url validation < Add forwarded url to signature header < Refactor round tripper < Refactor RoundTripEventHandler < Refactor/rename RoundTripper to RoundTripEventHandler < Move setupBackendRequest to proxy round tripper < Optimize ServeHTTP in proxy.go < fix route service load balancing < Move route_service_config to route_service package < Return an error when crypto.Encrypt fails while building signature < Delete metadata header when routing to the backend instance < Refactor route service proxy code < Add test for ProxyRoundTripper and get rid of multiple WriteHeader calls < Do not call WriteHeader multiple times. < Remove unused struct members in proxyRoudTripper < Add logging statements around secret decryption < Pass in previous route service secret into the Proxy struct < GoRouter falls back to previous route_service_secret < Add route service previous key field for key rotation. < Unit test for ProxyRoundTripper. < Export some fields in proxy to unit testing easier. < fix route service expiry test < Remove signed header on route service failure < Add section about load balancing algorithm to README < Add flag to enable route services < Encrypt route service signature header < add aes gcm encryption package < Do not route to route service when backend is unavailable. < Add expiration logic to gorouter for route service signature < added context path in route pool set vcap session cookie path to context path < Do not delete Proxy signature header when routing to service on CF. < Change header field to X-CF-Proxy-Signature < Add debug logging around routing requests. < Add instructions to profile the go router < Update README to include Cache-Control and Expires headers. < Add direnv to the GoRouter. < preserve client request url in X-CF-Forwarded-Url header < Get rid of Omega character. < Route request to backend instance if a valid header exists. < Changed routing service encrypted header to RouteServiceSignature < Fix 404 error when routing to route service [#97578180] < Refactor main.go into more readable funcs [#97578180] < Add SSLSkipValidation configuration. < Add test for bad route service url. < Make proxy test registerHandler methods clearer. < Silence i/o timeouts from test testing timeouts. < Better test setup for route services < GoRouter proxies to a route service if set for requested instance. < When listing routes, the gorouter will also list the route service url if there is one. < Gorouter now parses and stores route service urls received from the routing api < Updated gorouter godeps < When router.register JSON fails to parse do not add route. < Remove mentions of the old nginx/lua router from the README. < Fixed the nats failure test. < Added the route service url field to the nats messages and endpoint < Cleaned up router_test and main_test < Merge remote-tracking branch 'origin/pr/88' < Run in go 1.4 on Travis with allowed failure. < Updated tests to use eventually instead of a blocking channel. < Revert "Replaced Ω with Expect" < Replaced Ω with Expect < Remove per-app metrics by updating Dropsonde < Fix bug where ssl enabled routers were not draining properly. < Correctly register and unregister routes with paths < Clean up Trie data structure. < Handle paths segment by segment < Merge remote-tracking branch 'origin/pr/82' < Update README.md < Serialize byUri from tree to map < Improve performance for paths with many segments < Revert "This is to route based on a path" < Revert "Fix up left Fit statement and a fmt println" < Disable compression when creating proxy connection < Fix up left Fit statement and a fmt println < This is to route based on a path < Remove additional time.Sleep calls from route_fetcher tests < Fix flaky gorouter tests < Adjust VCAP_ID as endpoint/sticky cookie changes < Update Godeps to include extracted token fetcher < Use newly extracted uaa-token-fetcher < Log outstanding active and idle connections when draining < Properly keep track of active/inactive connections < Fix data race < Update godeps < Router now subscribes to events from routing_api < Use routing_api.Client instead of manually crafting requests < Fetching routes on a interval and logging unauthorized errors < Add route fetcher to get routes from routing api < Grab uaa token < Update Notice < Refactor router < Load ssl certs via files instead of config strings. < Make tls ciphers configurable < Serve/terminate https traffic alongside http traffic Signed-off-by: Nima Kaviani <[email protected]>
[finishes #155485548](https://www.pivotaltracker.com/story/show/155485548) Submodule src/code.cloudfoundry.org/diego-ssh 9b3f460..1174556: > Upgrade jwt-go library. Submodule src/code.cloudfoundry.org/uaa-go-client 0c176509..26b271e3: > Ignore validation error when token used before issued > go back to using submodules from routing-release > Provide correct url > Update README > all tests passing with newer JWT > fixing vet errors > Merge pull request #10 from cloudfoundry-incubator/vendor-deps > Revert "remove incubator" > remove incubator Submodule src/github.com/dgrijalva/jwt-go f62f64ea..06ea1031: > documentation around expected key types > Merge branch 'master' of github.com:dgrijalva/jwt-go > add options to ParseFromRequest > fixed a formatting error in a test > documenting changes for upcoming 3.2.0 release > Merge pull request #152 from pusher/parse-unverified > Merge pull request #219 from geertjanvdk/feat/parse > Merge pull request #205 from zamicol/icon_godoc > Merge pull request #209 from zhyuri/patch-1 > Merge pull request #220 from polarina/readme-alt-include > Notice about upcoming 4.0.0 release > 3.1.0 changelog > Merge pull request #218 from zoofood/patch-1 > updated note on alg type vulnerability > Merge pull request #183 from hnakamur/support_rs256_in_jwt_command > Merge pull request #196 from dgrijalva/dg/cmd_args > Merge pull request #190 from jamesrwhite/patch-1 > Merge pull request #180 from kevinburke/fix-unreachable > Merge pull request #166 from johnlockwood-wf/issue-165-missing-arg > Merge pull request #151 from zaichang/FixMigrationGuide > Merge pull request #146 from pkieltyka/master > Merge pull request #140 from kazhuravlev/patch-1 > Merge pull request #77 from dgrijalva/release_3_0_0 > v2.7.0 > notice about imminent 3.0.0 > Merge pull request #136 from bruston/keyfunc-typo > fixes #135 copy/paste error in rsa decoding tools > Merge pull request #132 from abourget/master > Merge pull request #133 from johnlockwood-wf/expire-delta > release notes > expose inner error within ValidationError > Merge branch 'master' of https://github.com/emanoelxavier/jwt-go-contr into dg/merge_112 > cleaned up style and added tests > Merge branch 'master' of https://github.com/dakom/jwt-go into dg/pr_121 > version history update > Merge pull request #79 from dgrijalva/dg/none > Merge pull request #122 from appleboy/patch-1 > add 1.6 to travis.yml > Merge pull request #107 from Snorlock/bearer-verification > Merge pull request #111 from matm/master > added supported signing methods > Added some clarification and (hopefully) helpful documentation > version history > signature should be populated after parsing a valid token > Merge pull request #98 from dgrijalva/dg/parser > use cleaner version of prefix checking (thanks shurcooL) > fix array OOB panic (#100) > Merge pull request #93 from EnerfisTeam/master > Merge branch 'master' of github.com:dgrijalva/jwt-go > minor refactor of HMAC verify for legibility. no functional changes > updated documenation of SigningMethod interface
Submodule src/code.cloudfoundry.org/credhub-cli 2495d5a75..6d034150f: > Bump go modules Submodule src/garden a97205a2b..f4c82d95f: > Merge pull request #111 from cloudfoundry/wip-garden-healthcheck-compat > Update run times for govulncheck workflow > Add govulncheck to release to verify repo health > Update go.mod dependencies Submodule src/grootfs 5d8ce9779..b30b61662: > Add govulncheck to release to verify repo health > Update go.mod dependencies Submodule src/guardian 985370221..556a24a0d: > Merge pull request #418 from cloudfoundry/wip-garden-healthcheck-compat > Update run times for govulncheck workflow > Add govulncheck to release to verify repo health > Update go.mod dependencies Submodule src/idmapper 0ce54fffd..138406c6d: > Update run times for govulncheck workflow > Add govulncheck to release to verify repo health > Update go.mod dependencies
Hi guys,
this is
iaas-settings.ymlfile to use with Openstack backend.It is added because it's annoying to shrink bosh-lite one every time.