{"action":"created","issue":{"url":"https://api.github.com/repos/minio/minio/issues/5501","repository_url":"https://api.github.com/repos/minio/minio","labels_url":"https://api.github.com/repos/minio/minio/issues/5501/labels{/name}","comments_url":"https://api.github.com/repos/minio/minio/issues/5501/comments","events_url":"https://api.github.com/repos/minio/minio/issues/5501/events","html_url":"https://github.com/minio/minio/pull/5501","id":294987822,"number":5501,"title":"Bring etcd support for bucket DNS federation","user":{"login":"harshavardhana","id":622699,"avatar_url":"https://avatars0.githubusercontent.com/u/622699?v=4","gravatar_id":"","url":"https://api.github.com/users/harshavardhana","html_url":"https://github.com/harshavardhana","followers_url":"https://api.github.com/users/harshavardhana/followers","following_url":"https://api.github.com/users/harshavardhana/following{/other_user}","gists_url":"https://api.github.com/users/harshavardhana/gists{/gist_id}","starred_url":"https://api.github.com/users/harshavardhana/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/harshavardhana/subscriptions","organizations_url":"https://api.github.com/users/harshavardhana/orgs","repos_url":"https://api.github.com/users/harshavardhana/repos","events_url":"https://api.github.com/users/harshavardhana/events{/privacy}","received_events_url":"https://api.github.com/users/harshavardhana/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-02-07T02:45:33Z","updated_at":"2018-05-01T17:58:30Z","closed_at":null,"author_association":"OWNER","pull_request":{"url":"https://api.github.com/repos/minio/minio/pulls/5501","html_url":"https://github.com/minio/minio/pull/5501","diff_url":"https://github.com/minio/minio/pull/5501.diff","patch_url":"https://github.com/minio/minio/pull/5501.patch"},"body":"<!--- Provide a general summary of your changes in the Title above -->\r\n\r\n## Description\r\nBring etcd support for bucket DNS federation\r\n<!--- Describe your changes in detail -->\r\n\r\n## Motivation and Context\r\n- Supports centralized `config.json`\r\n- Supports centralized `bucket` service records\r\n  for client lookups\r\n\r\n<!--- Why is this change required? What problem does it solve? -->\r\n<!--- If it fixes an open issue, please link to the issue here. -->\r\n\r\n## How Has This Been Tested?\r\nManually, using multiple servers\r\n<!--- Please describe in detail how you tested your changes. -->\r\n<!--- Include details of your testing environment, and the tests you ran to -->\r\n<!--- see how your change affects other areas of the code, etc. -->\r\n\r\n## Types of changes\r\n<!--- What types of changes does your code introduce? Put an `x` in all the boxes that apply: -->\r\n- [ ] Bug fix (non-breaking change which fixes an issue)\r\n- [x] New feature (non-breaking change which adds functionality)\r\n- [ ] Breaking change (fix or feature that would cause existing functionality to change)\r\n\r\n## Checklist:\r\n<!--- Go over all the following points, and put an `x` in all the boxes that apply. -->\r\n<!--- If you're unsure about any of these, don't hesitate to ask. We're here to help! -->\r\n- [x] My code follows the code style of this project.\r\n- [x] My change requires a change to the documentation.\r\n- [x] I have updated the documentation accordingly.\r\n- [x] I have added unit tests to cover my changes.\r\n- [ ] I have added/updated functional tests in [mint](https://github.com/minio/mint). (If yes, add `mint` PR # here: )\r\n- [x] All new and existing tests passed."},"comment":{"url":"https://api.github.com/repos/minio/minio/issues/comments/385740935","html_url":"https://github.com/minio/minio/pull/5501#issuecomment-385740935","issue_url":"https://api.github.com/repos/minio/minio/issues/5501","id":385740935,"user":{"login":"balamurugana","id":629407,"avatar_url":"https://avatars2.githubusercontent.com/u/629407?v=4","gravatar_id":"","url":"https://api.github.com/users/balamurugana","html_url":"https://github.com/balamurugana","followers_url":"https://api.github.com/users/balamurugana/followers","following_url":"https://api.github.com/users/balamurugana/following{/other_user}","gists_url":"https://api.github.com/users/balamurugana/gists{/gist_id}","starred_url":"https://api.github.com/users/balamurugana/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/balamurugana/subscriptions","organizations_url":"https://api.github.com/users/balamurugana/orgs","repos_url":"https://api.github.com/users/balamurugana/repos","events_url":"https://api.github.com/users/balamurugana/events{/privacy}","received_events_url":"https://api.github.com/users/balamurugana/received_events","type":"User","site_admin":false},"created_at":"2018-05-01T17:58:30Z","updated_at":"2018-05-01T17:58:30Z","author_association":"MEMBER","body":"## Mint Automation\n| Test | Result |\n|:--- |:--- |\n| mint-xl.sh | :heavy_check_mark: |\n| mint-fs.sh | :heavy_check_mark: |\n| mint-dist-xl.sh | :x: [more...](#ed820a7c-8689-4cef-b227-b1b28dbc8222) |\n| mint-gateway-s3.sh | :x: [more...](#63e8da17-252f-45e6-a2f1-906b90ffa961) |\n| mint-gateway-azure.sh | :x: [more...](#498ef0da-89cf-4e62-b6cb-e3d61f7c1dd4) |\n<a name=\"63e8da17-252f-45e6-a2f1-906b90ffa961\"></a>\n### 5501-1890613/mint-gateway-s3.sh.log:\n```\nRunning with\nSERVER_ENDPOINT: minikube:31859\nACCESS_KEY:      AKIAJH7GQKYNU3C2ADXA\nSECRET_KEY:      ***REDACTED***\nENABLE_HTTPS:    0\nSERVER_REGION:   us-east-1\nMINT_DATA_DIR:   /mint/data\nMINT_MODE:       core\n\nTo get logs, run 'docker cp 575e1820ad96:/mint/log /tmp/mint-logs'\n(1/13) Running aws-sdk-go tests ... done in 4 seconds\n(2/13) Running aws-sdk-java tests ... done in 19 seconds\n(3/13) Running aws-sdk-php tests ... FAILED in 5 seconds\nPHP Fatal error:  Uncaught exception 'Aws\\S3\\Exception\\S3Exception' with message 'Error executing \"CreateBucket\" on \"http://minikube:31859/aws-sdk-php-5ae8a69fe37f5\"; AWS HTTP error: Server error: `PUT http://minikube:31859/aws-sdk-php-5ae8a69fe37f5` resulted in a `500 Internal Server Error` response:\n<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Error><Code>InternalError</Code><Message>We encountered an internal error, pleas (truncated...)\n InternalError (server): We encountered an internal error, please try again. - <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Error><Code>InternalError</Code><Message>We encountered an internal error, please try again.</Message><Key></Key><BucketName></BucketName><Resource>/aws-sdk-php-5ae8a69fe37f5</Resource><RequestId>3L137</RequestId><HostId>3L137</HostId></Error>'\n\nGuzzleHttp\\Exception\\ServerException: Server error: `PUT http://minikube:31859/aws-sdk-php-5ae8a69fe37f5` resulted in a `500 Internal Server Error` response:\n<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Error><Code>InternalError</Code><Message in /mint/run/core/aws-sdk-php/vendor/aws/aws-sdk-php/src/WrappedHttpHandler.php on line 191\n\nExecuted 2 out of 13 tests successfully.\n```\n<a name=\"498ef0da-89cf-4e62-b6cb-e3d61f7c1dd4\"></a>\n### 5501-1890613/mint-gateway-azure.sh.log:\n```\nRunning with\nSERVER_ENDPOINT: minikube:31491\nACCESS_KEY:      minioazure1\nSECRET_KEY:      ***REDACTED***\nENABLE_HTTPS:    0\nSERVER_REGION:   us-east-1\nMINT_DATA_DIR:   /mint/data\nMINT_MODE:       core\n\nTo get logs, run 'docker cp 04e1411fab17:/mint/log /tmp/mint-logs'\n(1/13) Running aws-sdk-go tests ... done in 3 seconds\n(2/13) Running aws-sdk-java tests ... done in 21 seconds\n(3/13) Running aws-sdk-php tests ... done in 32 seconds\n(4/13) Running aws-sdk-ruby tests ... done in 36 seconds\n(5/13) Running awscli tests ... done in 4 minutes and 38 seconds\n(6/13) Running mc tests ... done in 7 minutes and 29 seconds\n(7/13) Running minio-dotnet tests ... done in 1 minutes and 5 seconds\n(8/13) Running minio-go tests ... done in 1 seconds\n(9/13) Running minio-java tests ... done in 27 seconds\n(10/13) Running minio-js tests ... FAILED in 2 minutes and 31 seconds\n{\n  \"name\": \"minio-js\",\n  \"function\": \"getBucketPolicy(bucketName, cb)\",\n  \"args\": \"bucketName:minio-js-test-e06e28cc-0a34-4a2d-9063-f4dcddc764f8\",\n  \"duration\": 281,\n  \"status\": \"FAIL\",\n  \"error\": \"S3Error: The bucket policy does not exist at Object.parseError (node_modules/minio/dist/main/xml-parsers.js:56:11) at /mint/run/core/minio-js/node_modules/minio/dist/main/transformers.js:117:22 at DestroyableTransform._flush (node_modules/minio/dist/main/transformers.js:48:26) at DestroyableTransform.<anonymous> (node_modules/minio/node_modules/through2/node_modules/readable-stream/lib/_stream_transform.js:135:12) at finishMaybe (node_modules/minio/node_modules/through2/node_modules/readable-stream/lib/_stream_writable.js:371:12) at endWritable (node_modules/minio/node_modules/through2/node_modules/readable-stream/lib/_stream_writable.js:378:3) at DestroyableTransform.Writable.end (node_modules/minio/node_modules/through2/node_modules/readable-stream/lib/_stream_writable.js:356:5) at IncomingMessage.onend (_stream_readable.js:514:10) at endReadableNT (_stream_readable.js:978:12) at _combinedTickCallback (internal/process/next_tick.js:80:11) at process._tickCallback (internal/process/next_tick.js:104:9)\"\n}\n\nExecuted 9 out of 13 tests successfully.\n```\n<a name=\"ed820a7c-8689-4cef-b227-b1b28dbc8222\"></a>\n### 5501-1890613/mint-dist-xl.sh.log:\n```\nRunning with\nSERVER_ENDPOINT: minikube:30912\nACCESS_KEY:      minio\nSECRET_KEY:      ***REDACTED***\nENABLE_HTTPS:    0\nSERVER_REGION:   us-east-1\nMINT_DATA_DIR:   /mint/data\nMINT_MODE:       core\n\nTo get logs, run 'docker cp 07eece39bd58:/mint/log /tmp/mint-logs'\n(1/13) Running aws-sdk-go tests ... FAILED in 5 seconds\n{\n  \"alert\": \"\",\n  \"args\": {\n    \"bucketName\": \"aws-sdk-go-test-v4rkt0hzyjofyx\",\n    \"expiry\": 60000000000,\n    \"objectName\": \"presignedTest\"\n  },\n  \"duration\": 4505,\n  \"error\": \"RequestError: send request failed\\ncaused by: Put http://minikube:30912/aws-sdk-go-test-v4rkt0hzyjofyx: dial tcp 192.168.39.27:30912: getsockopt: connection refused\",\n  \"function\": \"PresignedPut\",\n  \"message\": \"AWS SDK Go CreateBucket Failed\",\n  \"name\": \"aws-sdk-go\",\n  \"status\": \"FAIL\"\n}\n\nExecuted 0 out of 13 tests successfully.\n```\n"}}
{"actor":{"display_login":"balamurugana"}}