{"action":"created","issue":{"url":"https://api.github.com/repos/mF2C/dataClay/issues/18","repository_url":"https://api.github.com/repos/mF2C/dataClay","labels_url":"https://api.github.com/repos/mF2C/dataClay/issues/18/labels{/name}","comments_url":"https://api.github.com/repos/mF2C/dataClay/issues/18/comments","events_url":"https://api.github.com/repos/mF2C/dataClay/issues/18/events","html_url":"https://github.com/mF2C/dataClay/issues/18","id":367069901,"node_id":"MDU6SXNzdWUzNjcwNjk5MDE=","number":18,"title":"session-template is not inserted during cimi-dcproxy initialization","user":{"login":"cjdcordeiro","id":4047767,"node_id":"MDQ6VXNlcjQwNDc3Njc=","avatar_url":"https://avatars3.githubusercontent.com/u/4047767?v=4","gravatar_id":"","url":"https://api.github.com/users/cjdcordeiro","html_url":"https://github.com/cjdcordeiro","followers_url":"https://api.github.com/users/cjdcordeiro/followers","following_url":"https://api.github.com/users/cjdcordeiro/following{/other_user}","gists_url":"https://api.github.com/users/cjdcordeiro/gists{/gist_id}","starred_url":"https://api.github.com/users/cjdcordeiro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cjdcordeiro/subscriptions","organizations_url":"https://api.github.com/users/cjdcordeiro/orgs","repos_url":"https://api.github.com/users/cjdcordeiro/repos","events_url":"https://api.github.com/users/cjdcordeiro/events{/privacy}","received_events_url":"https://api.github.com/users/cjdcordeiro/received_events","type":"User","site_admin":false},"labels":[{"id":1071170704,"node_id":"MDU6TGFiZWwxMDcxMTcwNzA0","url":"https://api.github.com/repos/mF2C/dataClay/labels/DATA%20MANAGEMENT","name":"DATA MANAGEMENT","color":"A0A0A0","default":false}],"state":"open","locked":false,"assignee":{"login":"alexbarcelo","id":665750,"node_id":"MDQ6VXNlcjY2NTc1MA==","avatar_url":"https://avatars3.githubusercontent.com/u/665750?v=4","gravatar_id":"","url":"https://api.github.com/users/alexbarcelo","html_url":"https://github.com/alexbarcelo","followers_url":"https://api.github.com/users/alexbarcelo/followers","following_url":"https://api.github.com/users/alexbarcelo/following{/other_user}","gists_url":"https://api.github.com/users/alexbarcelo/gists{/gist_id}","starred_url":"https://api.github.com/users/alexbarcelo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexbarcelo/subscriptions","organizations_url":"https://api.github.com/users/alexbarcelo/orgs","repos_url":"https://api.github.com/users/alexbarcelo/repos","events_url":"https://api.github.com/users/alexbarcelo/events{/privacy}","received_events_url":"https://api.github.com/users/alexbarcelo/received_events","type":"User","site_admin":false},"assignees":[{"login":"alexbarcelo","id":665750,"node_id":"MDQ6VXNlcjY2NTc1MA==","avatar_url":"https://avatars3.githubusercontent.com/u/665750?v=4","gravatar_id":"","url":"https://api.github.com/users/alexbarcelo","html_url":"https://github.com/alexbarcelo","followers_url":"https://api.github.com/users/alexbarcelo/followers","following_url":"https://api.github.com/users/alexbarcelo/following{/other_user}","gists_url":"https://api.github.com/users/alexbarcelo/gists{/gist_id}","starred_url":"https://api.github.com/users/alexbarcelo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexbarcelo/subscriptions","organizations_url":"https://api.github.com/users/alexbarcelo/orgs","repos_url":"https://api.github.com/users/alexbarcelo/repos","events_url":"https://api.github.com/users/alexbarcelo/events{/privacy}","received_events_url":"https://api.github.com/users/alexbarcelo/received_events","type":"User","site_admin":false},{"login":"cjdcordeiro","id":4047767,"node_id":"MDQ6VXNlcjQwNDc3Njc=","avatar_url":"https://avatars3.githubusercontent.com/u/4047767?v=4","gravatar_id":"","url":"https://api.github.com/users/cjdcordeiro","html_url":"https://github.com/cjdcordeiro","followers_url":"https://api.github.com/users/cjdcordeiro/followers","following_url":"https://api.github.com/users/cjdcordeiro/following{/other_user}","gists_url":"https://api.github.com/users/cjdcordeiro/gists{/gist_id}","starred_url":"https://api.github.com/users/cjdcordeiro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cjdcordeiro/subscriptions","organizations_url":"https://api.github.com/users/cjdcordeiro/orgs","repos_url":"https://api.github.com/users/cjdcordeiro/repos","events_url":"https://api.github.com/users/cjdcordeiro/events{/privacy}","received_events_url":"https://api.github.com/users/cjdcordeiro/received_events","type":"User","site_admin":false}],"milestone":null,"comments":4,"created_at":"2018-10-05T05:55:10Z","updated_at":"2018-11-05T16:43:44Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"this insert happens, with no error, before dcproxy is finished initializating...and the resource is actually never there\n\n```demo_cimi_1       |  \"[:add {:description \\\"Internal Authentication via Username/Password\\\", :group \\\"Login with Username/Password\\\", :instance \\\"internal\\\", :password \\\"password\\\", :method \\\"internal\\\", :updated \\\"2018-10-05T05:24:24.103Z\\\", :name \\\"Internal\\\", :username \\\"username\\\", :created \\\"2018-10-05T05:24:24.103Z\\\", :id \\\"session-template/internal\\\", :acl {:owner {:principal \\\"ADMIN\\\", :type \\\"ROLE\\\"}, :rules [{:principal \\\"ADMIN\\\", :type \\\"ROLE\\\", :right \\\"ALL\\\"} {:principal \\\"ANON\\\", :type \\\"ROLE\\\", :right \\\"VIEW\\\"} {:principal \\\"USER\\\", :type \\\"ROLE\\\", :right \\\"VIEW\\\"}]}, :resourceURI \\\"http://sixsq.com/slipstream/1/SessionTemplate\\\"} {}]\\n\",\ndemo_cimi_1       |  :scheme :http,\ndemo_cimi_1       |  :request-method :get}\ndemo_dcproxy_1    | Compiling ... Note: src/api/DataClayWrapper.java uses unchecked or unsafe operations.\ndemo_dcproxy_1    | Note: Recompile with -Xlint:unchecked for details.\ndemo_dcproxy_1    |  done\ndemo_dcproxy_1    | Oct 05, 2018 5:24:28 AM com.sixsq.dataclay.proxy invoke\ndemo_dcproxy_1    | INFO: initializing dataclay\ndemo_dcproxy_1    | 2018-10-05T05:24:29,147 WARN [util.Configuration] [main] [Configuration$Flags:-1] No global.properties file found at /root/dataclay/cfgfiles/global.properties. Using default values\ndemo_dcproxy_1    | 2018-10-05T05:24:29,153 INFO [DataClay.api] [main] [DataClay:-1] Session file not found or DATACLAYSESSIONCONFIG  not properly set Trying default location /root/dataclay/cfgfiles/session.properties\ndemo_dcproxy_1    | 2018-10-05T05:24:32,813 INFO [DataClay.api] [main] [DataClay:-1] Java Backends by hostname or IP: {172.20.0.3=[c38fe147-1ffe-423d-8f46-7378bede79af], 172.20.0.14=[bdef9e91-7e0a-4c47-89fb-0ea02c4c8fc6]}\ndemo_dcproxy_1    | 2018-10-05T05:24:32,832 INFO [DataClay.api] [main] [DataClay:-1] Python Backends by hostname or IP: {172.20.0.10=[2f963fec-1165-4941-91b0-d42882732448]}\ndemo_dcproxy_1    | 2018-10-05T05:24:32,832 INFO [DataClay.api] [main] [DataClay:-1] Session: d34b7eb7-b691-47c4-83c5-4b9c348b350c\ndemo_dcproxy_1    | 2018-10-05T05:24:32,851 INFO [DataClay.api] [main] [DataClay:-1] dataClay ID: eff683e4-e46b-40b8-aaaf-067db42ccaf1\ndemo_dcproxy_1    | 2018-10-05T05:24:32,852 INFO [DataClay.api] [main] [DataClay:-1] Backends: {DS2=[EE/DS2/172.20.0.3:2127], DS1=[EE/DS1/172.20.0.14:2127]}\ndemo_dcproxy_1    | 2018-10-05T05:24:32,853 INFO [DataClay.api] [main] [DataClay:-1] Python Backends: {DS1=[EE/DS1/172.20.0.10:2127]}\ndemo_dcproxy_1    | Oct 05, 2018 5:24:32 AM com.sixsq.dataclay.proxy invoke\ndemo_dcproxy_1    | INFO: initializing DataClayWrapper\ndemo_dcproxy_1    | Oct 05, 2018 5:24:34 AM com.sixsq.dataclay.proxy invoke\ndemo_dcproxy_1    | INFO: dataClay proxy successfully started on port 6472```"},"comment":{"url":"https://api.github.com/repos/mF2C/dataClay/issues/comments/435945312","html_url":"https://github.com/mF2C/dataClay/issues/18#issuecomment-435945312","issue_url":"https://api.github.com/repos/mF2C/dataClay/issues/18","id":435945312,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNTk0NTMxMg==","user":{"login":"aqueralt","id":31659914,"node_id":"MDQ6VXNlcjMxNjU5OTE0","avatar_url":"https://avatars1.githubusercontent.com/u/31659914?v=4","gravatar_id":"","url":"https://api.github.com/users/aqueralt","html_url":"https://github.com/aqueralt","followers_url":"https://api.github.com/users/aqueralt/followers","following_url":"https://api.github.com/users/aqueralt/following{/other_user}","gists_url":"https://api.github.com/users/aqueralt/gists{/gist_id}","starred_url":"https://api.github.com/users/aqueralt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aqueralt/subscriptions","organizations_url":"https://api.github.com/users/aqueralt/orgs","repos_url":"https://api.github.com/users/aqueralt/repos","events_url":"https://api.github.com/users/aqueralt/events{/privacy}","received_events_url":"https://api.github.com/users/aqueralt/received_events","type":"User","site_admin":false},"created_at":"2018-11-05T16:43:44Z","updated_at":"2018-11-05T16:43:44Z","author_association":"CONTRIBUTOR","body":"So, you mean that CIMI will do something like this to insert a \"session-template-internal\" into the database: create(\"session-template\", \"12345\", data) -  where data contains the resource id=\"session-template-internal/12345\"?"}}
{"actor":{"display_login":"aqueralt"}}