Skip to content
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

adjust domain of subscriptions.eventing CRD to kyma-project.io resources #1642

Conversation

montaro
Copy link
Contributor

@montaro montaro commented Nov 13, 2018

Related issue(s)
#407
#1624

@montaro montaro added the area/eventing Issues or PRs related to eventing label Nov 13, 2018
@montaro montaro added this to the Sprint_Malones_10 milestone Nov 13, 2018
@montaro montaro self-assigned this Nov 13, 2018
@montaro montaro requested a review from a team as a code owner November 13, 2018 16:48
@montaro montaro added the WIP label Nov 14, 2018
resources/core/values.yaml Outdated Show resolved Hide resolved
resources/core/values.yaml Outdated Show resolved Hide resolved
@abbi-gaurav abbi-gaurav modified the milestones: Sprint_Malones_10, Sprint_Malones_11 Nov 16, 2018
@marcobebway marcobebway self-assigned this Nov 21, 2018
@marcobebway marcobebway force-pushed the adjust-domain-of-subscriptions.eventing-CRD-resource branch 2 times, most recently from 4fa7099 to 080edb8 Compare November 21, 2018 13:59
@montaro montaro requested a review from a user November 21, 2018 13:59
@marcobebway marcobebway force-pushed the adjust-domain-of-subscriptions.eventing-CRD-resource branch from 080edb8 to 97efee1 Compare November 22, 2018 13:26
@abbi-gaurav abbi-gaurav modified the milestones: Sprint_Malones_11, Sprint_Malones_12 Nov 23, 2018
Copy link
Contributor

@marcobebway marcobebway left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Noticed that event-bus-e2e tests are failing. This should be fixed as part of this issue.

To reproduce:

  • Install kyma locally.
  • Go to kyma directory and run the following command:
installation/scripts/testing.sh
  • Wait until event-bus-e2e-test finishes, then it will fail.

Hers are the logs from the test-core-event-bus-tester and test-core-event-bus-subscriber:

$ kubectl logs -f -n kyma-system test-core-event-bus-tester -c test-core-event-bus-tester
2018/11/21 15:30:21 Create the clientK8S
2018/11/21 15:30:21 Create an event activation
2018/11/21 15:30:26 Create a subscription
2018/11/21 15:30:31 Create Subscriber
2018/11/21 15:30:31 Create Subscriber deployment
2018/11/21 15:31:01 Create Subscriber service
2018/11/21 15:31:31 Subscriber recreated
2018/11/21 15:31:31 Check Subscriber Status
2018/11/21 15:31:31 Subscriber Status request failed: Get http://test-core-event-bus-subscriber:9000/v1/status: EOF; Retrying (0/20)
2018/11/21 15:31:31 Subscriber Status request failed: Get http://test-core-event-bus-subscriber:9000/v1/status: EOF; Retrying (1/20)
2018/11/21 15:31:32 Subscriber Status request failed: Get http://test-core-event-bus-subscriber:9000/v1/status: EOF; Retrying (2/20)
2018/11/21 15:31:34 Subscriber Status request failed: Get http://test-core-event-bus-subscriber:9000/v1/status: EOF; Retrying (3/20)
2018/11/21 15:31:37 Subscriber Status request failed: Get http://test-core-event-bus-subscriber:9000/v1/status: EOF; Retrying (4/20)
2018/11/21 15:31:41 Check Publisher Status
2018/11/21 15:31:41 Publish an event
2018/11/21 15:31:41 event to be published: {"source-id": "test.local.kyma.commerce","event-type":"test-e2e-event-bus","event-type-version":"v1","event-time":"2018-11-02T22:08:41+00:00","data":"test-event-1"}
2018/11/21 15:31:41 "HTTP/1.1 200 OK\r\nContent-Length: 52\r\nContent-Type: application/json\r\nDate: Wed, 21 Nov 2018 15:31:41 GMT\r\n\r\n{\"event-id\":\"85ac358a-0cf2-4507-8490-65d4e8786bd4\"}\n"
2018/11/21 15:31:41 Publish response object: &{EventID:85ac358a-0cf2-4507-8490-65d4e8786bd4}
2018/11/21 15:31:41 Try to read the response from subscriber server
2018/11/21 15:31:41 Get subscriber response (0/20)
2018/11/21 15:31:41 "HTTP/1.1 200 OK\r\nContent-Length: 3\r\nContent-Type: text/plain; charset=utf-8\r\nDate: Wed, 21 Nov 2018 15:31:41 GMT\r\nServer: envoy\r\nX-Envoy-Decorator-Operation: test-core-event-bus-subscriber.kyma-system.svc.cluster.local:9000/*\r\nX-Envoy-Upstream-Service-Time: 1\r\n\r\n\"\"\n"
2018/11/21 15:31:41 Subscriber response:
2018/11/21 15:31:42 Get subscriber response (1/20)
2018/11/21 15:31:42 "HTTP/1.1 200 OK\r\nContent-Length: 3\r\nContent-Type: text/plain; charset=utf-8\r\nDate: Wed, 21 Nov 2018 15:31:42 GMT\r\nServer: envoy\r\nX-Envoy-Decorator-Operation: test-core-event-bus-subscriber.kyma-system.svc.cluster.local:9000/*\r\nX-Envoy-Upstream-Service-Time: 5\r\n\r\n\"\"\n"
2018/11/21 15:31:42 Subscriber response:
2018/11/21 15:31:44 Get subscriber response (2/20)
2018/11/21 15:31:44 "HTTP/1.1 200 OK\r\nContent-Length: 3\r\nContent-Type: text/plain; charset=utf-8\r\nDate: Wed, 21 Nov 2018 15:31:44 GMT\r\nServer: envoy\r\nX-Envoy-Decorator-Operation: test-core-event-bus-subscriber.kyma-system.svc.cluster.local:9000/*\r\nX-Envoy-Upstream-Service-Time: 1\r\n\r\n\"\"\n"
2018/11/21 15:31:44 Subscriber response:
2018/11/21 15:31:47 Get subscriber response (3/20)
2018/11/21 15:31:47 "HTTP/1.1 200 OK\r\nContent-Length: 3\r\nContent-Type: text/plain; charset=utf-8\r\nDate: Wed, 21 Nov 2018 15:31:47 GMT\r\nServer: envoy\r\nX-Envoy-Decorator-Operation: test-core-event-bus-subscriber.kyma-system.svc.cluster.local:9000/*\r\nX-Envoy-Upstream-Service-Time: 1\r\n\r\n\"\"\n"
2018/11/21 15:31:47 Subscriber response:
2018/11/21 15:31:51 Get subscriber response (4/20)
2018/11/21 15:31:51 "HTTP/1.1 200 OK\r\nContent-Length: 3\r\nContent-Type: text/plain; charset=utf-8\r\nDate: Wed, 21 Nov 2018 15:31:51 GMT\r\nServer: envoy\r\nX-Envoy-Decorator-Operation: test-core-event-bus-subscriber.kyma-system.svc.cluster.local:9000/*\r\nX-Envoy-Upstream-Service-Time: 0\r\n\r\n\"\"\n"
2018/11/21 15:31:51 Subscriber response:
2018/11/21 15:31:56 Get subscriber response (5/20)
2018/11/21 15:31:56 "HTTP/1.1 200 OK\r\nContent-Length: 3\r\nContent-Type: text/plain; charset=utf-8\r\nDate: Wed, 21 Nov 2018 15:31:56 GMT\r\nServer: envoy\r\nX-Envoy-Decorator-Operation: test-core-event-bus-subscriber.kyma-system.svc.cluster.local:9000/*\r\nX-Envoy-Upstream-Service-Time: 0\r\n\r\n\"\"\n"
2018/11/21 15:31:56 Subscriber response:
2018/11/21 15:32:02 Get subscriber response (6/20)
2018/11/21 15:32:02 "HTTP/1.1 200 OK\r\nContent-Length: 3\r\nContent-Type: text/plain; charset=utf-8\r\nDate: Wed, 21 Nov 2018 15:32:02 GMT\r\nServer: envoy\r\nX-Envoy-Decorator-Operation: test-core-event-bus-subscriber.kyma-system.svc.cluster.local:9000/*\r\nX-Envoy-Upstream-Service-Time: 2\r\n\r\n\"\"\n"
2018/11/21 15:32:02 Subscriber response:
2018/11/21 15:32:09 Get subscriber response (7/20)
2018/11/21 15:32:09 "HTTP/1.1 200 OK\r\nContent-Length: 3\r\nContent-Type: text/plain; charset=utf-8\r\nDate: Wed, 21 Nov 2018 15:32:09 GMT\r\nServer: envoy\r\nX-Envoy-Decorator-Operation: test-core-event-bus-subscriber.kyma-system.svc.cluster.local:9000/*\r\nX-Envoy-Upstream-Service-Time: 0\r\n\r\n\"\"\n"
2018/11/21 15:32:09 Subscriber response:
2018/11/21 15:32:17 Get subscriber response (8/20)
2018/11/21 15:32:17 "HTTP/1.1 200 OK\r\nContent-Length: 3\r\nContent-Type: text/plain; charset=utf-8\r\nDate: Wed, 21 Nov 2018 15:32:17 GMT\r\nServer: envoy\r\nX-Envoy-Decorator-Operation: test-core-event-bus-subscriber.kyma-system.svc.cluster.local:9000/*\r\nX-Envoy-Upstream-Service-Time: 61\r\n\r\n\"\"\n"
2018/11/21 15:32:17 Subscriber response:
2018/11/21 15:32:26 Get subscriber response (9/20)
2018/11/21 15:32:26 "HTTP/1.1 200 OK\r\nContent-Length: 3\r\nContent-Type: text/plain; charset=utf-8\r\nDate: Wed, 21 Nov 2018 15:32:26 GMT\r\nServer: envoy\r\nX-Envoy-Decorator-Operation: test-core-event-bus-subscriber.kyma-system.svc.cluster.local:9000/*\r\nX-Envoy-Upstream-Service-Time: 1\r\n\r\n\"\"\n"
2018/11/21 15:32:26 Subscriber response:
2018/11/21 15:32:36 Get subscriber response (10/20)
2018/11/21 15:32:36 "HTTP/1.1 200 OK\r\nContent-Length: 3\r\nContent-Type: text/plain; charset=utf-8\r\nDate: Wed, 21 Nov 2018 15:32:36 GMT\r\nServer: envoy\r\nX-Envoy-Decorator-Operation: test-core-event-bus-subscriber.kyma-system.svc.cluster.local:9000/*\r\nX-Envoy-Upstream-Service-Time: 1\r\n\r\n\"\"\n"
2018/11/21 15:32:36 Subscriber response:
2018/11/21 15:32:47 Get subscriber response (11/20)
2018/11/21 15:32:47 "HTTP/1.1 200 OK\r\nContent-Length: 3\r\nContent-Type: text/plain; charset=utf-8\r\nDate: Wed, 21 Nov 2018 15:32:47 GMT\r\nServer: envoy\r\nX-Envoy-Decorator-Operation: test-core-event-bus-subscriber.kyma-system.svc.cluster.local:9000/*\r\nX-Envoy-Upstream-Service-Time: 0\r\n\r\n\"\"\n"
2018/11/21 15:32:47 Subscriber response:
2018/11/21 15:32:59 Get subscriber response (12/20)
2018/11/21 15:32:59 "HTTP/1.1 200 OK\r\nContent-Length: 3\r\nContent-Type: text/plain; charset=utf-8\r\nDate: Wed, 21 Nov 2018 15:32:59 GMT\r\nServer: envoy\r\nX-Envoy-Decorator-Operation: test-core-event-bus-subscriber.kyma-system.svc.cluster.local:9000/*\r\nX-Envoy-Upstream-Service-Time: 1\r\n\r\n\"\"\n"
2018/11/21 15:32:59 Subscriber response:
2018/11/21 15:33:12 Get subscriber response (13/20)
2018/11/21 15:33:12 "HTTP/1.1 200 OK\r\nContent-Length: 3\r\nContent-Type: text/plain; charset=utf-8\r\nDate: Wed, 21 Nov 2018 15:33:12 GMT\r\nServer: envoy\r\nX-Envoy-Decorator-Operation: test-core-event-bus-subscriber.kyma-system.svc.cluster.local:9000/*\r\nX-Envoy-Upstream-Service-Time: 1\r\n\r\n\"\"\n"
2018/11/21 15:33:12 Subscriber response:
2018/11/21 15:33:26 Get subscriber response (14/20)
2018/11/21 15:33:26 "HTTP/1.1 200 OK\r\nContent-Length: 3\r\nContent-Type: text/plain; charset=utf-8\r\nDate: Wed, 21 Nov 2018 15:33:26 GMT\r\nServer: envoy\r\nX-Envoy-Decorator-Operation: test-core-event-bus-subscriber.kyma-system.svc.cluster.local:9000/*\r\nX-Envoy-Upstream-Service-Time: 0\r\n\r\n\"\"\n"
2018/11/21 15:33:26 Subscriber response:
2018/11/21 15:33:41 Get subscriber response (15/20)
2018/11/21 15:33:41 "HTTP/1.1 200 OK\r\nContent-Length: 3\r\nContent-Type: text/plain; charset=utf-8\r\nDate: Wed, 21 Nov 2018 15:33:41 GMT\r\nServer: envoy\r\nX-Envoy-Decorator-Operation: test-core-event-bus-subscriber.kyma-system.svc.cluster.local:9000/*\r\nX-Envoy-Upstream-Service-Time: 1\r\n\r\n\"\"\n"
2018/11/21 15:33:41 Subscriber response:
2018/11/21 15:33:57 Get subscriber response (16/20)
2018/11/21 15:33:58 "HTTP/1.1 200 OK\r\nContent-Length: 3\r\nContent-Type: text/plain; charset=utf-8\r\nDate: Wed, 21 Nov 2018 15:33:57 GMT\r\nServer: envoy\r\nX-Envoy-Decorator-Operation: test-core-event-bus-subscriber.kyma-system.svc.cluster.local:9000/*\r\nX-Envoy-Upstream-Service-Time: 5\r\n\r\n\"\"\n"
2018/11/21 15:33:58 Subscriber response:
2018/11/21 15:34:15 Get subscriber response (17/20)
2018/11/21 15:34:15 "HTTP/1.1 200 OK\r\nContent-Length: 3\r\nContent-Type: text/plain; charset=utf-8\r\nDate: Wed, 21 Nov 2018 15:34:14 GMT\r\nServer: envoy\r\nX-Envoy-Decorator-Operation: test-core-event-bus-subscriber.kyma-system.svc.cluster.local:9000/*\r\nX-Envoy-Upstream-Service-Time: 2\r\n\r\n\"\"\n"
2018/11/21 15:34:15 Subscriber response:
2018/11/21 15:34:33 Get subscriber response (18/20)
2018/11/21 15:34:33 "HTTP/1.1 200 OK\r\nContent-Length: 3\r\nContent-Type: text/plain; charset=utf-8\r\nDate: Wed, 21 Nov 2018 15:34:32 GMT\r\nServer: envoy\r\nX-Envoy-Decorator-Operation: test-core-event-bus-subscriber.kyma-system.svc.cluster.local:9000/*\r\nX-Envoy-Upstream-Service-Time: 0\r\n\r\n\"\"\n"
2018/11/21 15:34:33 Subscriber response:
2018/11/21 15:34:52 Get subscriber response (19/20)
2018/11/21 15:34:52 "HTTP/1.1 200 OK\r\nContent-Length: 3\r\nContent-Type: text/plain; charset=utf-8\r\nDate: Wed, 21 Nov 2018 15:34:51 GMT\r\nServer: envoy\r\nX-Envoy-Decorator-Operation: test-core-event-bus-subscriber.kyma-system.svc.cluster.local:9000/*\r\nX-Envoy-Upstream-Service-Time: 0\r\n\r\n\"\"\n"
2018/11/21 15:34:52 Subscriber response:
2018/11/21 15:34:52 Error: Cannot get the test event from subscriber: timeout for subscriber response
2018/11/21 15:34:52 Send shutdown request to Subscriber
2018/11/21 15:34:52 Delete Subscriber deployment
2018/11/21 15:34:52 Delete Subscriber service
2018/11/21 15:34:52 Delete test subscription: test-sub
2018/11/21 15:34:52 Delete test event activation: test-ea
$ kubectl logs -f -n kyma-system test-core-event-bus-subscriber-8644dc6649-z27s2 -c test-core-event-bus-subscriber
2018/11/21 15:30:35 Creates the subscription server
2018/11/21 15:30:35 Subscriber HTTP server starting on port 9000
2018/11/21 15:31:41 127.0.0.1:58902 requested /v1/status
2018/11/21 15:31:41 "GET /v1/status HTTP/1.1\r\nHost: test-core-event-bus-subscriber:9000\r\nAccept-Encoding: gzip\r\nContent-Length: 0\r\nUser-Agent: Go-http-client/1.1\r\nX-B3-Sampled: 1\r\nX-B3-Spanid: 17dc6ceadd65cf9a\r\nX-B3-Traceid: 17dc6ceadd65cf9a\r\nX-Forwarded-Proto: http\r\nX-Request-Id: 768cc272-a417-9891-9ed8-3773964fb7ef\r\n\r\n"
2018/11/21 15:31:41 127.0.0.1:58902 requested /v1/results
2018/11/21 15:31:41 "GET /v1/results HTTP/1.1\r\nHost: test-core-event-bus-subscriber:9000\r\nAccept-Encoding: gzip\r\nContent-Length: 0\r\nUser-Agent: Go-http-client/1.1\r\nX-B3-Sampled: 1\r\nX-B3-Spanid: b1d4be69f44a81ec\r\nX-B3-Traceid: b1d4be69f44a81ec\r\nX-Forwarded-Proto: http\r\nX-Request-Id: 28ddd37e-06cc-9bf3-9d2a-654baf47d3b1\r\n\r\n"
2018/11/21 15:31:42 127.0.0.1:58902 requested /v1/results
2018/11/21 15:31:42 "GET /v1/results HTTP/1.1\r\nHost: test-core-event-bus-subscriber:9000\r\nAccept-Encoding: gzip\r\nContent-Length: 0\r\nUser-Agent: Go-http-client/1.1\r\nX-B3-Sampled: 1\r\nX-B3-Spanid: d48b2385fd321c38\r\nX-B3-Traceid: d48b2385fd321c38\r\nX-Forwarded-Proto: http\r\nX-Request-Id: 6990b607-7f47-9f27-bb90-c07bba4e2618\r\n\r\n"
2018/11/21 15:31:44 127.0.0.1:58902 requested /v1/results
2018/11/21 15:31:44 "GET /v1/results HTTP/1.1\r\nHost: test-core-event-bus-subscriber:9000\r\nAccept-Encoding: gzip\r\nContent-Length: 0\r\nUser-Agent: Go-http-client/1.1\r\nX-B3-Sampled: 1\r\nX-B3-Spanid: edfbf0b05ac44c05\r\nX-B3-Traceid: edfbf0b05ac44c05\r\nX-Forwarded-Proto: http\r\nX-Request-Id: 7caf8eba-0619-96af-b435-91337407a693\r\n\r\n"
2018/11/21 15:31:47 127.0.0.1:58902 requested /v1/results
2018/11/21 15:31:47 "GET /v1/results HTTP/1.1\r\nHost: test-core-event-bus-subscriber:9000\r\nAccept-Encoding: gzip\r\nContent-Length: 0\r\nUser-Agent: Go-http-client/1.1\r\nX-B3-Sampled: 1\r\nX-B3-Spanid: 538c8206bee5cb65\r\nX-B3-Traceid: 538c8206bee5cb65\r\nX-Forwarded-Proto: http\r\nX-Request-Id: 2a3a85e3-c7dd-9f78-a722-9f086a7df2d2\r\n\r\n"
2018/11/21 15:31:51 127.0.0.1:58902 requested /v1/results
2018/11/21 15:31:51 "GET /v1/results HTTP/1.1\r\nHost: test-core-event-bus-subscriber:9000\r\nAccept-Encoding: gzip\r\nContent-Length: 0\r\nUser-Agent: Go-http-client/1.1\r\nX-B3-Sampled: 1\r\nX-B3-Spanid: 8d4d5e13b812bd29\r\nX-B3-Traceid: 8d4d5e13b812bd29\r\nX-Forwarded-Proto: http\r\nX-Request-Id: 0b0f518b-938a-9bd0-9ba1-efa3c83ee832\r\n\r\n"
2018/11/21 15:31:56 127.0.0.1:58902 requested /v1/results
2018/11/21 15:31:56 "GET /v1/results HTTP/1.1\r\nHost: test-core-event-bus-subscriber:9000\r\nAccept-Encoding: gzip\r\nContent-Length: 0\r\nUser-Agent: Go-http-client/1.1\r\nX-B3-Sampled: 1\r\nX-B3-Spanid: 489b8d3b2bc711e7\r\nX-B3-Traceid: 489b8d3b2bc711e7\r\nX-Forwarded-Proto: http\r\nX-Request-Id: e3c5f81d-c958-9e43-ba29-aa2c315f7a29\r\n\r\n"
2018/11/21 15:32:02 127.0.0.1:58902 requested /v1/results
2018/11/21 15:32:02 "GET /v1/results HTTP/1.1\r\nHost: test-core-event-bus-subscriber:9000\r\nAccept-Encoding: gzip\r\nContent-Length: 0\r\nUser-Agent: Go-http-client/1.1\r\nX-B3-Sampled: 1\r\nX-B3-Spanid: 324f8a3286e3c169\r\nX-B3-Traceid: 324f8a3286e3c169\r\nX-Forwarded-Proto: http\r\nX-Request-Id: dd7a8ab0-4bbc-9b34-b470-80247e49d4ba\r\n\r\n"
2018/11/21 15:32:09 127.0.0.1:58902 requested /v1/results
2018/11/21 15:32:09 "GET /v1/results HTTP/1.1\r\nHost: test-core-event-bus-subscriber:9000\r\nAccept-Encoding: gzip\r\nContent-Length: 0\r\nUser-Agent: Go-http-client/1.1\r\nX-B3-Sampled: 1\r\nX-B3-Spanid: 0d4cdc54ed393379\r\nX-B3-Traceid: 0d4cdc54ed393379\r\nX-Forwarded-Proto: http\r\nX-Request-Id: 03319350-d9e1-9a64-8a8a-293cc10e10e5\r\n\r\n"
2018/11/21 15:32:17 127.0.0.1:58902 requested /v1/results
2018/11/21 15:32:17 "GET /v1/results HTTP/1.1\r\nHost: test-core-event-bus-subscriber:9000\r\nAccept-Encoding: gzip\r\nContent-Length: 0\r\nUser-Agent: Go-http-client/1.1\r\nX-B3-Sampled: 1\r\nX-B3-Spanid: 0905e4109bde0b41\r\nX-B3-Traceid: 0905e4109bde0b41\r\nX-Forwarded-Proto: http\r\nX-Request-Id: 719ff25a-e486-9122-a710-8a15a5d794fc\r\n\r\n"
2018/11/21 15:32:26 127.0.0.1:58902 requested /v1/results
2018/11/21 15:32:26 "GET /v1/results HTTP/1.1\r\nHost: test-core-event-bus-subscriber:9000\r\nAccept-Encoding: gzip\r\nContent-Length: 0\r\nUser-Agent: Go-http-client/1.1\r\nX-B3-Sampled: 1\r\nX-B3-Spanid: bc220d289c914be9\r\nX-B3-Traceid: bc220d289c914be9\r\nX-Forwarded-Proto: http\r\nX-Request-Id: a427a23a-c1a2-9d65-be69-c979949557c4\r\n\r\n"
2018/11/21 15:32:36 127.0.0.1:58902 requested /v1/results
2018/11/21 15:32:36 "GET /v1/results HTTP/1.1\r\nHost: test-core-event-bus-subscriber:9000\r\nAccept-Encoding: gzip\r\nContent-Length: 0\r\nUser-Agent: Go-http-client/1.1\r\nX-B3-Sampled: 1\r\nX-B3-Spanid: 2b782db4bb864b24\r\nX-B3-Traceid: 2b782db4bb864b24\r\nX-Forwarded-Proto: http\r\nX-Request-Id: 374d20d6-8f94-9dfc-b112-832c9fd90996\r\n\r\n"
2018/11/21 15:32:47 127.0.0.1:58902 requested /v1/results
2018/11/21 15:32:47 "GET /v1/results HTTP/1.1\r\nHost: test-core-event-bus-subscriber:9000\r\nAccept-Encoding: gzip\r\nContent-Length: 0\r\nUser-Agent: Go-http-client/1.1\r\nX-B3-Sampled: 1\r\nX-B3-Spanid: 350939c793771964\r\nX-B3-Traceid: 350939c793771964\r\nX-Forwarded-Proto: http\r\nX-Request-Id: e3e3cfe2-8af6-9612-a4ea-f8c625902134\r\n\r\n"
2018/11/21 15:32:59 127.0.0.1:58902 requested /v1/results
2018/11/21 15:32:59 "GET /v1/results HTTP/1.1\r\nHost: test-core-event-bus-subscriber:9000\r\nAccept-Encoding: gzip\r\nContent-Length: 0\r\nUser-Agent: Go-http-client/1.1\r\nX-B3-Sampled: 1\r\nX-B3-Spanid: 72e7a1c67657a074\r\nX-B3-Traceid: 72e7a1c67657a074\r\nX-Forwarded-Proto: http\r\nX-Request-Id: 78c7b237-45ed-9cf5-8b45-13a3812e246a\r\n\r\n"
2018/11/21 15:33:12 127.0.0.1:58902 requested /v1/results
2018/11/21 15:33:12 "GET /v1/results HTTP/1.1\r\nHost: test-core-event-bus-subscriber:9000\r\nAccept-Encoding: gzip\r\nContent-Length: 0\r\nUser-Agent: Go-http-client/1.1\r\nX-B3-Sampled: 1\r\nX-B3-Spanid: 2b02f10e7993fbf0\r\nX-B3-Traceid: 2b02f10e7993fbf0\r\nX-Forwarded-Proto: http\r\nX-Request-Id: 3e8a00e8-fec3-992c-a9e6-b9caab9913d2\r\n\r\n"
2018/11/21 15:33:26 127.0.0.1:58902 requested /v1/results
2018/11/21 15:33:26 "GET /v1/results HTTP/1.1\r\nHost: test-core-event-bus-subscriber:9000\r\nAccept-Encoding: gzip\r\nContent-Length: 0\r\nUser-Agent: Go-http-client/1.1\r\nX-B3-Sampled: 1\r\nX-B3-Spanid: d66690820459dc00\r\nX-B3-Traceid: d66690820459dc00\r\nX-Forwarded-Proto: http\r\nX-Request-Id: 449e415c-3642-907d-9cb6-e8ac45cb937e\r\n\r\n"
2018/11/21 15:33:41 127.0.0.1:58902 requested /v1/results
2018/11/21 15:33:41 "GET /v1/results HTTP/1.1\r\nHost: test-core-event-bus-subscriber:9000\r\nAccept-Encoding: gzip\r\nContent-Length: 0\r\nUser-Agent: Go-http-client/1.1\r\nX-B3-Sampled: 1\r\nX-B3-Spanid: e6dfb305391e2076\r\nX-B3-Traceid: e6dfb305391e2076\r\nX-Forwarded-Proto: http\r\nX-Request-Id: 79182389-e2a7-98e8-a27f-52d6fcae7881\r\n\r\n"
2018/11/21 15:33:57 127.0.0.1:58902 requested /v1/results
2018/11/21 15:33:57 "GET /v1/results HTTP/1.1\r\nHost: test-core-event-bus-subscriber:9000\r\nAccept-Encoding: gzip\r\nContent-Length: 0\r\nUser-Agent: Go-http-client/1.1\r\nX-B3-Sampled: 1\r\nX-B3-Spanid: c22afdc5150e7985\r\nX-B3-Traceid: c22afdc5150e7985\r\nX-Forwarded-Proto: http\r\nX-Request-Id: 17685f0f-f2fb-9a19-8083-8350fc84c459\r\n\r\n"
2018/11/21 15:34:15 127.0.0.1:58902 requested /v1/results
2018/11/21 15:34:15 "GET /v1/results HTTP/1.1\r\nHost: test-core-event-bus-subscriber:9000\r\nAccept-Encoding: gzip\r\nContent-Length: 0\r\nUser-Agent: Go-http-client/1.1\r\nX-B3-Sampled: 1\r\nX-B3-Spanid: 083d87ee40659c95\r\nX-B3-Traceid: 083d87ee40659c95\r\nX-Forwarded-Proto: http\r\nX-Request-Id: 93912427-30bf-9e7e-b530-20c1291ba634\r\n\r\n"
2018/11/21 15:34:33 127.0.0.1:58902 requested /v1/results
2018/11/21 15:34:33 "GET /v1/results HTTP/1.1\r\nHost: test-core-event-bus-subscriber:9000\r\nAccept-Encoding: gzip\r\nContent-Length: 0\r\nUser-Agent: Go-http-client/1.1\r\nX-B3-Sampled: 1\r\nX-B3-Spanid: 50533eff19f54a4e\r\nX-B3-Traceid: 50533eff19f54a4e\r\nX-Forwarded-Proto: http\r\nX-Request-Id: 2939a728-13c7-9723-8787-2837f6aba78c\r\n\r\n"
2018/11/21 15:34:52 127.0.0.1:58902 requested /v1/results
2018/11/21 15:34:52 "GET /v1/results HTTP/1.1\r\nHost: test-core-event-bus-subscriber:9000\r\nAccept-Encoding: gzip\r\nContent-Length: 0\r\nUser-Agent: Go-http-client/1.1\r\nX-B3-Sampled: 1\r\nX-B3-Spanid: a95791e888fe648c\r\nX-B3-Traceid: a95791e888fe648c\r\nX-Forwarded-Proto: http\r\nX-Request-Id: 62f490e0-5b8d-94d4-85f2-1e7e4bfbf3f2\r\n\r\n"
2018/11/21 15:34:52 127.0.0.1:58902 requested /v1/shutdown
2018/11/21 15:34:52 "POST /v1/shutdown HTTP/1.1\r\nHost: test-core-event-bus-subscriber:9000\r\nAccept-Encoding: gzip\r\nContent-Length: 20\r\nContent-Type: application/json\r\nUser-Agent: Go-http-client/1.1\r\nX-B3-Sampled: 1\r\nX-B3-Spanid: 4c3fd6cd16edf03b\r\nX-B3-Traceid: 4c3fd6cd16edf03b\r\nX-Forwarded-Proto: http\r\nX-Request-Id: a5c50167-c5e8-9050-bd7f-9d4c24c19f61\r\n\r\n{\"shutdown\": \"true\"}"
2018/11/21 15:34:52 Shutting down server...
2018/11/21 15:34:52 http: Server closed
rpc error: code = Unknown desc = Error: No such container: 0ca6b0866c877c128de625b57ec34f9b79a81f7517b4fa6ca11ad6d7827b9a0c%

@montaro
Copy link
Contributor Author

montaro commented Nov 24, 2018

@marcobebway I'm reproducing and here are the failure logs:

➜  ~ kubectl logs test-core-kubeless --namespace kyma-system
2018/11/24 00:43:56 Cleaning up
2018/11/24 00:43:57 Current state of the ns:kubeless-test is:
 warning: Immediate deletion does not wait for confirmation that the running resource has been terminated. The resource may continue to run on the cluster indefinitely.
2018/11/24 00:43:57 Unable to delete:
warning: Immediate deletion does not wait for confirmation that the running resource has been terminated. The resource may continue to run on the cluster indefinitely.
unable to recognize "k8syaml/k8s.yaml": no matches for kind "Subscription" in version "eventing.kyma.cx/v1alpha1"

unable to recognize "k8syaml/k8s.yaml": no matches for kind "Subscription" in version "eventing.kyma.cx/v1alpha1"

@marcobebway
Copy link
Contributor

@montaro kubeless tests will be fixed as part of #1769.
Event-Bus tests should be fixed in the current ticket.

Change the event-bus and event-bus-tester  iamges versions to the latest

change the kubeless yaml files to the new domain
@montaro montaro force-pushed the adjust-domain-of-subscriptions.eventing-CRD-resource branch from b5c86b8 to ce4c07c Compare December 6, 2018 16:44
@montaro
Copy link
Contributor Author

montaro commented Dec 6, 2018

@marcobebway Fixed your comments, please recheck

Copy link
Contributor

@bszwarc bszwarc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cosmetic changes :)

docs/event-bus/docs/030-cr-subscription.md Outdated Show resolved Hide resolved
Copy link
Contributor

@marcobebway marcobebway left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM assuming it is tested.

Co-Authored-By: montaro <ahmed.rifaey@gmail.com>
@montaro
Copy link
Contributor Author

montaro commented Dec 6, 2018

@bszwarc Thanks for the review. Committed your changes, please check.

@sayanh
Copy link
Contributor

sayanh commented Dec 7, 2018

LGTM, as testing in the following areas were successful:

  • lambda-ui
  • examples(event-subscription/lambda)
  • kubeless-int tests

Copy link
Contributor

@sjanota sjanota left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@montaro montaro merged commit 4d51d8e into kyma-project:master Dec 10, 2018
@abbi-gaurav abbi-gaurav removed the WIP label Dec 11, 2018
venturasr pushed a commit to venturasr/kyma that referenced this pull request Dec 11, 2018
…ces (kyma-project#1642)

change the event-bus and event-bus-tester  images versions to the latest
change the kubeless yaml files to the new domain
update the lambda-UI image version
update docs
@montaro montaro deleted the adjust-domain-of-subscriptions.eventing-CRD-resource branch December 20, 2019 11:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/eventing Issues or PRs related to eventing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants