In GCP Platform Validation environment, cannot create subproject using Seismic DDMS APIs or using sdutil
When I use sdutil, I get the following message (sdutilenv) D:\OSDU\dev\seismic-store-sdutil-master>python sdutil mk "sd://autotesttenant/autotest" "admin@devtwo.osdu-gcp.go3-nrg.projects.epam.com" "devtwo-SeismicDMS-Legal-Tag-Test6345011" --idtoken=%ID_TOKEN%
[1] REGIONAL [2] MULTI_REGIONAL [3] NEARLINE [4] COLDLINE
Select the bucket storage class: 2
[1] ASIA [2] EU [3] US
Select the bucket storage location: 3
Registering the subproject autotest(tenant=autotesttenant) with admin@devtwo.osdu-gcp.go3-nrg.projects.epam.com as admin ... [404] [seismic-store-service] 404 - "<!DOCTYPE html>\n<html lang=en>\n <meta charset=utf-8>\n <meta name=viewport content="initial-scale=1, minimum-scale=1, width=device-width">\n <title>Error 404 (Not Found)!!1 (merged)</title>\n <style>\n {margin:0;padding:0}html,code{font:15px/22px arial,sans-serif}html{background:#fff;color:#222;padding:15px}body{margin:7% auto 0;max-width:390px;min-height:180px;padding:30px 0 15px} > body{background:url(//www.google.com/images/errors/robot.png) 100% 5px no-repeat;padding-right:205px}p{margin:11px 0 22px;overflow:hidden}ins{color:#777;text-decoration:none}a img{border:0}@media screen and (max-width:772px){body{background:none;margin-top:0;max-width:none;padding-right:0}}#logo{background:url(//www.google.com/images/branding/googlelogo/1x/googlelogo_color_150x54dp.png) no-repeat;margin-left:-5px}@media only screen and (min-resolution:192dpi){#logo{background:url(//www.google.com/images/branding/googlelogo/2x/googlelogo_color_150x54dp.png) no-repeat 0% 0%/100% 100%;-moz-border-image:url(//www.google.com/images/branding/googlelogo/2x/googlelogo_color_150x54dp.png) 0}}@media only screen and (-webkit-min-device-pixel-ratio:2){#logo{background:url(//www.google.com/images/branding/googlelogo/2x/googlelogo_color_150x54dp.png) no-repeat;-webkit-background-size:100% 100%}}#logo{display:inline-block;height:54px;width:150px}\n </style>\n <a href=//www.google.com/><span id=logo aria-label=Google></span></a>\n <p><b>404.</b> <ins>That’s an error.</ins>\n <p>The requested URL <code>/v1/projects/</code> was not found on this server. <ins>That’s all we know.</ins>\n"
And when I use the Seismic DDMS API I get the following:
Request:
curl --location --request POST 'https://dev2.gcp.gnrg-osdu.projects.epam.com/api/seismic-store/v3/subproject/tenant/autotesttenant/subproject/autotest'
--header 'Content-Type: application/json'
--header 'data-partition-id: devtwo'
--header 'ltag: devtwo-SeismicDMS-Legal-Tag-Test6345011'
--header 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjM4ZjM4ODM0NjhmYzY1OWFiYjQ0NzVmMzYzMTNkMjI1ODVjMmQ3Y2EiLCJ0eXAiOiJKV1QifQ.eyJpc3MiOiJodHRwczovL2FjY291bnRzLmdvb2dsZS5jb20iLCJhenAiOiI5MTA1MzI3MzI3MDAtZHI2OHU1MGFqNTMzbTdwb3E3YTBjajQwNG4zMHNwczAuYXBwcy5nb29nbGV1c2VyY29udGVudC5jb20iLCJhdWQiOiI5MTA1MzI3MzI3MDAtZHI2OHU1MGFqNTMzbTdwb3E3YTBjajQwNG4zMHNwczAuYXBwcy5nb29nbGV1c2VyY29udGVudC5jb20iLCJzdWIiOiIxMTAzNjA5OTgzOTQ5MjkwOTU3NjkiLCJoZCI6Im9zZHUtZ2NwLmdvMy1ucmcucHJvamVjdHMuZXBhbS5jb20iLCJlbWFpbCI6ImthbWxlc2hfdG9kYWlAb3NkdS1nY3AuZ28zLW5yZy5wcm9qZWN0cy5lcGFtLmNvbSIsImVtYWlsX3ZlcmlmaWVkIjp0cnVlLCJhdF9oYXNoIjoiSjNVaTRVYjcyMHZPSzBqMi1RZlZmdyIsImlhdCI6MTY1NDE5NDY4NywiZXhwIjoxNjU0MTk4Mjg3fQ.cAB3vLN88IzMWqcGAuxoBcqE2tobU0mfJkS8VVJ-gS-IoDzl7y7NDY48jOObJ5bfU2yROP5v2BhO_xT89mR_Ijqspp-UiqA5f1CGJQXkSAqPchd4NlOMzEe8RxgjtusC1w-hLoF-dzUMONxD4h7ZOJ2Niq6Oc8GVwMsAWsumuO7HyRb-_Eb1pZdg5Jb7D2_tOl6Vun7JjHSETJdUvDtpN5bRymuU2yj-vendv76h59ey3L--MObk-OktIXhg9o3cC0CCepe80ejU8Jgu5hmgUvZ2a0qewfgrrAvg_72vaaOr-BlEUv1czPAzCFuHJfbCgUOZKtQKVxKMW_s44x0XDA'
--data-raw '{
"admin": "admin@devtwo.dev2.osdu.club",
"storage_class": "MULTI_REGIONAL",
"storage_location": "US",
"acls": {
"admins": [
"data.sdms.autotesttenant.autotest.admin@devtwo.dev2.osdu.club"
],
"viewers": [
"data.sdms.autotesttenant.autotest.viewer@devtwo.dev2.osdu.club"
]
},
"legal": {
"legaltags": [
"devtwo-SeismicDMS-Legal-Tag-Test6345011"
],
"otherRelevantDataCountries": [
"US"
]
}
}'
Response: [seismic-store-service] 404 - "<!DOCTYPE html>\n<html lang=en>\n <meta charset=utf-8>\n <meta name=viewport content="initial-scale=1, minimum-scale=1, width=device-width">\n <title>Error 404 (Not Found)!!1 (merged)</title>\n <style>\n {margin:0;padding:0}html,code{font:15px/22px arial,sans-serif}html{background:#fff;color:#222;padding:15px}body{margin:7% auto 0;max-width:390px;min-height:180px;padding:30px 0 15px} > body{background:url(//www.google.com/images/errors/robot.png) 100% 5px no-repeat;padding-right:205px}p{margin:11px 0 22px;overflow:hidden}ins{color:#777;text-decoration:none}a img{border:0}@media screen and (max-width:772px){body{background:none;margin-top:0;max-width:none;padding-right:0}}#logo{background:url(//www.google.com/images/branding/googlelogo/1x/googlelogo_color_150x54dp.png) no-repeat;margin-left:-5px}@media only screen and (min-resolution:192dpi){#logo{background:url(//www.google.com/images/branding/googlelogo/2x/googlelogo_color_150x54dp.png) no-repeat 0% 0%/100% 100%;-moz-border-image:url(//www.google.com/images/branding/googlelogo/2x/googlelogo_color_150x54dp.png) 0}}@media only screen and (-webkit-min-device-pixel-ratio:2){#logo{background:url(//www.google.com/images/branding/googlelogo/2x/googlelogo_color_150x54dp.png) no-repeat;-webkit-background-size:100% 100%}}#logo{display:inline-block;height:54px;width:150px}\n </style>\n <a href=//www.google.com/><span id=logo aria-label=Google></span></a>\n <p><b>404.</b> <ins>That’s an error.</ins>\n <p>The requested URL <code>/v1/projects/</code> was not found on this server. <ins>That’s all we know.</ins>\n"