{"action":"created","issue":{"url":"https://api.github.com/repos/openblockchain/obc-peer/issues/834","repository_url":"https://api.github.com/repos/openblockchain/obc-peer","labels_url":"https://api.github.com/repos/openblockchain/obc-peer/issues/834/labels{/name}","comments_url":"https://api.github.com/repos/openblockchain/obc-peer/issues/834/comments","events_url":"https://api.github.com/repos/openblockchain/obc-peer/issues/834/events","html_url":"https://github.com/openblockchain/obc-peer/issues/834","id":141293829,"number":834,"title":"Error: Error building chaincode - \"Registration to the Membership Service required.\" when Enable Security and Privacy through CLI","user":{"login":"rameshthoomu","id":17034502,"avatar_url":"https://avatars.githubusercontent.com/u/17034502?v=3","gravatar_id":"","url":"https://api.github.com/users/rameshthoomu","html_url":"https://github.com/rameshthoomu","followers_url":"https://api.github.com/users/rameshthoomu/followers","following_url":"https://api.github.com/users/rameshthoomu/following{/other_user}","gists_url":"https://api.github.com/users/rameshthoomu/gists{/gist_id}","starred_url":"https://api.github.com/users/rameshthoomu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rameshthoomu/subscriptions","organizations_url":"https://api.github.com/users/rameshthoomu/orgs","repos_url":"https://api.github.com/users/rameshthoomu/repos","events_url":"https://api.github.com/users/rameshthoomu/events{/privacy}","received_events_url":"https://api.github.com/users/rameshthoomu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-16T14:37:23Z","updated_at":"2016-03-16T15:18:12Z","closed_at":null,"body":"Getting error message while executing chaincode deploy command with security and privacy enabled through CLI.\r\n\r\n**Steps to Reproduce:**\r\n- Make sure Security and Privacy enabled to False in openchain.yml file before execute series of commands.\r\n\r\n- Execute series of \"security and privacy\" enabled steps mentioned in https://github.com/openblockchain/obc-docs/blob/master/api/SandboxSetup.md document\r\n\r\nNote: `OPENCHAIN_SECURITY_ENABLED=true OPENCHAIN_SECURITY_PRIVACY=true ./obc-peer peer --peer-chaincodedev` to enable Security and Privacy through CLI.\r\n\r\n- After execute chaincode deploy command, observed ` \"Error: Error building chaincode: rpc error: code = 2 desc = \"Registration to the Membership Service required.\"`\r\n\r\nI Didn't see any issue if i enable Security and Privacy manually in \"openchain.yml\" file and run the series of commands..\r\n\r\n[Failed Client Intialization - Registration to the memebership service required.docx](https://github.com/openblockchain/obc-peer/files/176162/Failed.Client.Intialization.-.Registration.to.the.memebership.service.required.docx)"},"comment":{"url":"https://api.github.com/repos/openblockchain/obc-peer/issues/comments/197378464","html_url":"https://github.com/openblockchain/obc-peer/issues/834#issuecomment-197378464","issue_url":"https://api.github.com/repos/openblockchain/obc-peer/issues/834","id":197378464,"user":{"login":"rameshthoomu","id":17034502,"avatar_url":"https://avatars.githubusercontent.com/u/17034502?v=3","gravatar_id":"","url":"https://api.github.com/users/rameshthoomu","html_url":"https://github.com/rameshthoomu","followers_url":"https://api.github.com/users/rameshthoomu/followers","following_url":"https://api.github.com/users/rameshthoomu/following{/other_user}","gists_url":"https://api.github.com/users/rameshthoomu/gists{/gist_id}","starred_url":"https://api.github.com/users/rameshthoomu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rameshthoomu/subscriptions","organizations_url":"https://api.github.com/users/rameshthoomu/orgs","repos_url":"https://api.github.com/users/rameshthoomu/repos","events_url":"https://api.github.com/users/rameshthoomu/events{/privacy}","received_events_url":"https://api.github.com/users/rameshthoomu/received_events","type":"User","site_admin":false},"created_at":"2016-03-16T15:18:12Z","updated_at":"2016-03-16T15:18:12Z","body":"I have started `obcca server` before execute the series of steps..."}}