{"action":"created","issue":{"url":"https://api.github.com/repos/minio/minio/issues/6898","repository_url":"https://api.github.com/repos/minio/minio","labels_url":"https://api.github.com/repos/minio/minio/issues/6898/labels{/name}","comments_url":"https://api.github.com/repos/minio/minio/issues/6898/comments","events_url":"https://api.github.com/repos/minio/minio/issues/6898/events","html_url":"https://github.com/minio/minio/issues/6898","id":386261899,"node_id":"MDU6SXNzdWUzODYyNjE4OTk=","number":6898,"title":"Oracle RMAN hangs when using Minio for Azure","user":{"login":"mariamkupa","id":7306748,"node_id":"MDQ6VXNlcjczMDY3NDg=","avatar_url":"https://avatars1.githubusercontent.com/u/7306748?v=4","gravatar_id":"","url":"https://api.github.com/users/mariamkupa","html_url":"https://github.com/mariamkupa","followers_url":"https://api.github.com/users/mariamkupa/followers","following_url":"https://api.github.com/users/mariamkupa/following{/other_user}","gists_url":"https://api.github.com/users/mariamkupa/gists{/gist_id}","starred_url":"https://api.github.com/users/mariamkupa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mariamkupa/subscriptions","organizations_url":"https://api.github.com/users/mariamkupa/orgs","repos_url":"https://api.github.com/users/mariamkupa/repos","events_url":"https://api.github.com/users/mariamkupa/events{/privacy}","received_events_url":"https://api.github.com/users/mariamkupa/received_events","type":"User","site_admin":false},"labels":[{"id":399254082,"node_id":"MDU6TGFiZWwzOTkyNTQwODI=","url":"https://api.github.com/repos/minio/minio/labels/community","name":"community","color":"006b75","default":false},{"id":574010253,"node_id":"MDU6TGFiZWw1NzQwMTAyNTM=","url":"https://api.github.com/repos/minio/minio/labels/priority:%20medium","name":"priority: medium","color":"fbca04","default":false},{"id":643968487,"node_id":"MDU6TGFiZWw2NDM5Njg0ODc=","url":"https://api.github.com/repos/minio/minio/labels/triage","name":"triage","color":"5319e7","default":false}],"state":"open","locked":false,"assignee":{"login":"vadmeste","id":283197,"node_id":"MDQ6VXNlcjI4MzE5Nw==","avatar_url":"https://avatars1.githubusercontent.com/u/283197?v=4","gravatar_id":"","url":"https://api.github.com/users/vadmeste","html_url":"https://github.com/vadmeste","followers_url":"https://api.github.com/users/vadmeste/followers","following_url":"https://api.github.com/users/vadmeste/following{/other_user}","gists_url":"https://api.github.com/users/vadmeste/gists{/gist_id}","starred_url":"https://api.github.com/users/vadmeste/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vadmeste/subscriptions","organizations_url":"https://api.github.com/users/vadmeste/orgs","repos_url":"https://api.github.com/users/vadmeste/repos","events_url":"https://api.github.com/users/vadmeste/events{/privacy}","received_events_url":"https://api.github.com/users/vadmeste/received_events","type":"User","site_admin":false},"assignees":[{"login":"vadmeste","id":283197,"node_id":"MDQ6VXNlcjI4MzE5Nw==","avatar_url":"https://avatars1.githubusercontent.com/u/283197?v=4","gravatar_id":"","url":"https://api.github.com/users/vadmeste","html_url":"https://github.com/vadmeste","followers_url":"https://api.github.com/users/vadmeste/followers","following_url":"https://api.github.com/users/vadmeste/following{/other_user}","gists_url":"https://api.github.com/users/vadmeste/gists{/gist_id}","starred_url":"https://api.github.com/users/vadmeste/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vadmeste/subscriptions","organizations_url":"https://api.github.com/users/vadmeste/orgs","repos_url":"https://api.github.com/users/vadmeste/repos","events_url":"https://api.github.com/users/vadmeste/events{/privacy}","received_events_url":"https://api.github.com/users/vadmeste/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/minio/minio/milestones/15","html_url":"https://github.com/minio/minio/milestone/15","labels_url":"https://api.github.com/repos/minio/minio/milestones/15/labels","id":2426553,"node_id":"MDk6TWlsZXN0b25lMjQyNjU1Mw==","number":15,"title":"Next Release","description":" Rolling releases","creator":{"login":"deekoder","id":1700901,"node_id":"MDQ6VXNlcjE3MDA5MDE=","avatar_url":"https://avatars1.githubusercontent.com/u/1700901?v=4","gravatar_id":"","url":"https://api.github.com/users/deekoder","html_url":"https://github.com/deekoder","followers_url":"https://api.github.com/users/deekoder/followers","following_url":"https://api.github.com/users/deekoder/following{/other_user}","gists_url":"https://api.github.com/users/deekoder/gists{/gist_id}","starred_url":"https://api.github.com/users/deekoder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deekoder/subscriptions","organizations_url":"https://api.github.com/users/deekoder/orgs","repos_url":"https://api.github.com/users/deekoder/repos","events_url":"https://api.github.com/users/deekoder/events{/privacy}","received_events_url":"https://api.github.com/users/deekoder/received_events","type":"User","site_admin":false},"open_issues":66,"closed_issues":807,"state":"open","created_at":"2017-04-01T00:36:55Z","updated_at":"2018-12-03T21:28:10Z","due_on":"2018-12-31T08:00:00Z","closed_at":null},"comments":7,"created_at":"2018-11-30T16:36:39Z","updated_at":"2018-12-04T01:32:04Z","closed_at":null,"author_association":"NONE","body":"1. Created Minio application service using the steps described here https://open.microsoft.com/2017/11/09/s3cmd-amazon-s3-compatible-apps-azure-storage/\r\n\r\n```\r\n$ az appservice plan create \\\r\n    --name \"MinioAppPlan\" \\\r\n    --is-linux \\\r\n    --sku B1 \\\r\n    --resource-group \"mari184V2\" \\\r\n    --location \"CentralUS\"\r\n```\r\n\r\n```\r\n$ az webapp create \\\r\n    --name \"aleminio\" \\\r\n    --deployment-container-image-name \"minio/minio\" \\\r\n    --plan \"MinioAppPlan\" \\\r\n    --resource-group \"mari184V2\"\r\n```\r\n\t\r\n```\r\n$ az webapp config appsettings set \\\r\n    --settings \"MINIO_ACCESS_KEY=...\" \"MINIO_SECRET_KEY=...\" \"PORT=9000\" \\\r\n    --name \"aleminio\" \\\r\n    --resource-group \"mari184V2\"\r\n```\r\n\r\n```\r\n$ az webapp config set \\\r\n    --startup-file \"gateway azure\" \\\r\n    --name \"aleminio\" \\\r\n    --resource-group \"mari184V2\"\r\n```\r\n\t\r\n2. Installed Oracle Secure Backup module using the following steps: https://blog.pythian.com/backup-oracle-databases-aws-s3/\r\n\r\n`$ /u01/app/oracle/product/18.3.0/dbhome_1/jdk/bin/java -jar osbws_install.jar -AWSID ... -AWSKey ... -otnUser mariam.kupa@gmail.com     -walletDir $ORACLE_HOME/dbs/osbws_wallet     -libDir $ORACLE_HOME/lib -awsEndPoint aleminio.azurewebsites.net  -location maribucket\r\n`\r\nThe same module works with AWS and I am able to back up the database. But it hangs when using Minio.\r\n\r\nRMAN script that is working with AWS but hangs with Minio is the following:\r\n\r\n```\r\nrun{\r\n  allocate channel c1 device type sbt parms='SBT_LIBRARY=libosbws.so,SBT_PARMS=(OSB_WS_PFILE=/u01/app/oracle/product/18.3.0/dbhome_1/dbs/osbwsorcl1.ora)';\r\n  backup current controlfile;\r\n  }\r\n```\r\n  \r\nWhere /u01/app/oracle/product/18.3.0/dbhome_1/dbs/osbwsorcl1.ora file contains:\r\n\r\n```\r\nOSB_WS_HOST=http://aleminio.azurewebsites.net\r\n#OSB_WS_LOCATION=maribucket\r\nOSB_WS_BUCKET=maribucket\r\nOSB_WS_VIRTUAL_HOST=FALSE\r\nOSB_WS_WALLET='location=file:/u01/app/oracle/product/18.3.0/dbhome_1/dbs/osbws_wallet CREDENTIAL_ALIAS=_aws'\r\n```\r\n\r\nAfter some time the following error is returned by RMAN:\r\n\r\n```\r\nORA-27192: skgfcls: sbtclose2 returned error - failed to close file\r\nORA-19511: non RMAN, but media manager or vendor specific failure, error text:\r\n   LHT-00027: Key not found in hash table.\r\nLHT-00027: Key not found in hash table.\r\nLHT-00027: Key not found in hash table.\r\n```\r\n\r\nDuring RMAN backup I have noticed that metadata files are created in the Azure container through Minio, moreover from database I see that RMAN reads datafile but is not able to write backup into Azure container. \r\n\r\nHow can I trace what happens on Minio application service, why it hangs? \r\n"},"comment":{"url":"https://api.github.com/repos/minio/minio/issues/comments/443935707","html_url":"https://github.com/minio/minio/issues/6898#issuecomment-443935707","issue_url":"https://api.github.com/repos/minio/minio/issues/6898","id":443935707,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MzkzNTcwNw==","user":{"login":"kannappanr","id":30541348,"node_id":"MDQ6VXNlcjMwNTQxMzQ4","avatar_url":"https://avatars0.githubusercontent.com/u/30541348?v=4","gravatar_id":"","url":"https://api.github.com/users/kannappanr","html_url":"https://github.com/kannappanr","followers_url":"https://api.github.com/users/kannappanr/followers","following_url":"https://api.github.com/users/kannappanr/following{/other_user}","gists_url":"https://api.github.com/users/kannappanr/gists{/gist_id}","starred_url":"https://api.github.com/users/kannappanr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kannappanr/subscriptions","organizations_url":"https://api.github.com/users/kannappanr/orgs","repos_url":"https://api.github.com/users/kannappanr/repos","events_url":"https://api.github.com/users/kannappanr/events{/privacy}","received_events_url":"https://api.github.com/users/kannappanr/received_events","type":"User","site_admin":false},"created_at":"2018-12-04T01:32:04Z","updated_at":"2018-12-04T01:32:04Z","author_association":"COLLABORATOR","body":"@mariamkupa Will look into this and get back to you. Is it possible for you to test with a regular minio binary instead of one on Azure?"}}
{"actor":{"display_login":"kannappanr"}}