{"action":"opened","issue":{"url":"https://api.github.com/repos/youtube/vitess/issues/1533","repository_url":"https://api.github.com/repos/youtube/vitess","labels_url":"https://api.github.com/repos/youtube/vitess/issues/1533/labels{/name}","comments_url":"https://api.github.com/repos/youtube/vitess/issues/1533/comments","events_url":"https://api.github.com/repos/youtube/vitess/issues/1533/events","html_url":"https://github.com/youtube/vitess/issues/1533","id":137445873,"number":1533,"title":"When i restarted the server,master was read-only and never change to write status","user":{"login":"jichre","id":5045726,"avatar_url":"https://avatars.githubusercontent.com/u/5045726?v=3","gravatar_id":"","url":"https://api.github.com/users/jichre","html_url":"https://github.com/jichre","followers_url":"https://api.github.com/users/jichre/followers","following_url":"https://api.github.com/users/jichre/following{/other_user}","gists_url":"https://api.github.com/users/jichre/gists{/gist_id}","starred_url":"https://api.github.com/users/jichre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jichre/subscriptions","organizations_url":"https://api.github.com/users/jichre/orgs","repos_url":"https://api.github.com/users/jichre/repos","events_url":"https://api.github.com/users/jichre/events{/privacy}","received_events_url":"https://api.github.com/users/jichre/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-03-01T02:27:02Z","updated_at":"2016-03-01T02:27:02Z","closed_at":null,"body":"The first time to start the server,anything is ok.But,when i restarted the server,the master did something wrong.I can't write to the master,the master type was read-only.I just flowed the step of example.The \"error.log\" of mysql listed nothing.What can i do next?\r\n\r\nNote only error log:\r\nWARNING:root:vtclient_exception for test_keyspace.None.master: ('VitessError', u'shard, host: test_keyspace.0.master, uid:100 host:\"gim-server2\" port_map:<key:\"grpc\" value:16100 > port_map:<key:\"mysql\" value:33100 > port_map:<key:\"vt\" value:15100 > , vttablet: rpc error: code = 9 desc = \"gRPCServerError: retry: The MySQL server is running with the --read-only option so it cannot execute this statement (errno 1290) during query: insert into test_table(msg) values (\\'V is for speed\\') /* _stream test_table (id ) (null ); *//* vtgate:: filtered_replication_unfriendly */\"', 'ExecuteKeyRanges', 8, 'INSERT INTO test_table (msg) VALUES (:msg)', 'keyranges=, keyspace=test_keyspace, tablet_type=master')\r\nTraceback (most recent call last):\r\n"}}