)]}'
{"api-ref/source/os-server-password.inc":[{"author":{"_account_id":782,"name":"John Garbutt","email":"john@johngarbutt.com","username":"johngarbutt"},"change_message_id":"707fcd36d82130533beadaf54256709caaeeebaa","unresolved":false,"context_lines":[{"line_number":15,"context_line":""},{"line_number":16,"context_line":"Shows the administrative password for a server."},{"line_number":17,"context_line":""},{"line_number":18,"context_line":"This operation calls the metadata service to query metadata information and does not read password information from the server itself."},{"line_number":19,"context_line":""},{"line_number":20,"context_line":"Policy defaults enable only users with the administrative role or the owner of the server to perform this operation. Cloud providers can change these permissions through the ``policy.json`` file."},{"line_number":21,"context_line":""}],"source_content_type":"text/x-c++src","patch_set":1,"id":"bab6814e_b9eb6e12","line":18,"updated":"2016-05-20 10:38:10.000000000","message":"This fails to note that the password saved in the metadata service is typically encrypted using the public ssh key injected into this server. i.e. you need need the ssh private key to read the password.","commit_id":"5e1d3766975b6824ddac36ef47c9138c8eb46930"},{"author":{"_account_id":6062,"name":"jichenjc","email":"jichenjc@cn.ibm.com","username":"jichenjc"},"change_message_id":"a528318a2143c832952554a02dff50d734b609c9","unresolved":false,"context_lines":[{"line_number":15,"context_line":""},{"line_number":16,"context_line":"Shows the administrative password for a server."},{"line_number":17,"context_line":""},{"line_number":18,"context_line":"This operation calls the metadata service to query metadata information and does not read password information from the server itself."},{"line_number":19,"context_line":""},{"line_number":20,"context_line":"Policy defaults enable only users with the administrative role or the owner of the server to perform this operation. Cloud providers can change these permissions through the ``policy.json`` file."},{"line_number":21,"context_line":""}],"source_content_type":"text/x-c++src","patch_set":1,"id":"bab6814e_48738a15","line":18,"in_reply_to":"bab6814e_b9eb6e12","updated":"2016-05-20 13:14:48.000000000","message":"I saw the comments talked about the encryption, but I failed to find where we do the action(do outside nova?), and if we don\u0027t inject key(keypair not mandaotry inject into server?),  can you point me that out? Thanks a lot!","commit_id":"5e1d3766975b6824ddac36ef47c9138c8eb46930"},{"author":{"_account_id":782,"name":"John Garbutt","email":"john@johngarbutt.com","username":"johngarbutt"},"change_message_id":"707fcd36d82130533beadaf54256709caaeeebaa","unresolved":false,"context_lines":[{"line_number":17,"context_line":""},{"line_number":18,"context_line":"This operation calls the metadata service to query metadata information and does not read password information from the server itself."},{"line_number":19,"context_line":""},{"line_number":20,"context_line":"Policy defaults enable only users with the administrative role or the owner of the server to perform this operation. Cloud providers can change these permissions through the ``policy.json`` file."},{"line_number":21,"context_line":""},{"line_number":22,"context_line":"Normal response codes: 200"},{"line_number":23,"context_line":""}],"source_content_type":"text/x-c++src","patch_set":1,"id":"bab6814e_2702ba0b","line":20,"updated":"2016-05-20 10:38:10.000000000","message":"Nit: we should wrap these lines.","commit_id":"5e1d3766975b6824ddac36ef47c9138c8eb46930"},{"author":{"_account_id":6062,"name":"jichenjc","email":"jichenjc@cn.ibm.com","username":"jichenjc"},"change_message_id":"a528318a2143c832952554a02dff50d734b609c9","unresolved":false,"context_lines":[{"line_number":17,"context_line":""},{"line_number":18,"context_line":"This operation calls the metadata service to query metadata information and does not read password information from the server itself."},{"line_number":19,"context_line":""},{"line_number":20,"context_line":"Policy defaults enable only users with the administrative role or the owner of the server to perform this operation. Cloud providers can change these permissions through the ``policy.json`` file."},{"line_number":21,"context_line":""},{"line_number":22,"context_line":"Normal response codes: 200"},{"line_number":23,"context_line":""}],"source_content_type":"text/x-c++src","patch_set":1,"id":"bab6814e_a88af618","line":20,"in_reply_to":"bab6814e_2702ba0b","updated":"2016-05-20 13:14:48.000000000","message":"ok","commit_id":"5e1d3766975b6824ddac36ef47c9138c8eb46930"},{"author":{"_account_id":782,"name":"John Garbutt","email":"john@johngarbutt.com","username":"johngarbutt"},"change_message_id":"707fcd36d82130533beadaf54256709caaeeebaa","unresolved":false,"context_lines":[{"line_number":37,"context_line":"**Example Show Server Password: JSON response**"},{"line_number":38,"context_line":""},{"line_number":39,"context_line":".. literalinclude:: ../../doc/api_samples/os-server-password/get-password-resp.json"},{"line_number":40,"context_line":"   :language: javascript"},{"line_number":41,"context_line":""},{"line_number":42,"context_line":"Clear Admin Password"},{"line_number":43,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-c++src","patch_set":1,"id":"bab6814e_99a2eafb","line":40,"updated":"2016-05-20 10:38:10.000000000","message":"It looks like this example is wrong, and we are missing some return parameters:\nhttps://git.openstack.org/cgit/openstack/nova/tree/nova/api/openstack/compute/server_password.py#n41\n\nWe should be returning: {} or {\u0027password\u0027: \"asdfasdfasd\"}","commit_id":"5e1d3766975b6824ddac36ef47c9138c8eb46930"},{"author":{"_account_id":6062,"name":"jichenjc","email":"jichenjc@cn.ibm.com","username":"jichenjc"},"change_message_id":"a528318a2143c832952554a02dff50d734b609c9","unresolved":false,"context_lines":[{"line_number":37,"context_line":"**Example Show Server Password: JSON response**"},{"line_number":38,"context_line":""},{"line_number":39,"context_line":".. literalinclude:: ../../doc/api_samples/os-server-password/get-password-resp.json"},{"line_number":40,"context_line":"   :language: javascript"},{"line_number":41,"context_line":""},{"line_number":42,"context_line":"Clear Admin Password"},{"line_number":43,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-c++src","patch_set":1,"id":"bab6814e_fef834c5","line":40,"in_reply_to":"bab6814e_99a2eafb","updated":"2016-05-20 13:14:48.000000000","message":"ok, we can add \u0027password\u0027 as optional","commit_id":"5e1d3766975b6824ddac36ef47c9138c8eb46930"},{"author":{"_account_id":782,"name":"John Garbutt","email":"john@johngarbutt.com","username":"johngarbutt"},"change_message_id":"de3fd22cd05dbe94f54b9f97dc59ba7431fec209","unresolved":false,"context_lines":[{"line_number":37,"context_line":"**Example Show Server Password: JSON response**"},{"line_number":38,"context_line":""},{"line_number":39,"context_line":".. literalinclude:: ../../doc/api_samples/os-server-password/get-password-resp.json"},{"line_number":40,"context_line":"   :language: javascript"},{"line_number":41,"context_line":""},{"line_number":42,"context_line":"Clear Admin Password"},{"line_number":43,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-c++src","patch_set":1,"id":"bab6814e_e24b7685","line":40,"in_reply_to":"bab6814e_fef834c5","updated":"2016-05-20 14:09:55.000000000","message":"ah, wait the example is correct, but yeah, we need the params adding here.","commit_id":"5e1d3766975b6824ddac36ef47c9138c8eb46930"},{"author":{"_account_id":782,"name":"John Garbutt","email":"john@johngarbutt.com","username":"johngarbutt"},"change_message_id":"707fcd36d82130533beadaf54256709caaeeebaa","unresolved":false,"context_lines":[{"line_number":44,"context_line":""},{"line_number":45,"context_line":".. rest_method:: DELETE /v2.1/{tenant_id}/servers/{server_id}/os-server-password"},{"line_number":46,"context_line":""},{"line_number":47,"context_line":"Clears the encrypted administrative password for a server, which removes it from the metadata server."},{"line_number":48,"context_line":""},{"line_number":49,"context_line":"This action does not actually change the instance server password."},{"line_number":50,"context_line":""}],"source_content_type":"text/x-c++src","patch_set":1,"id":"bab6814e_99f02a00","line":47,"range":{"start_line":47,"start_character":76,"end_line":47,"end_character":100},"updated":"2016-05-20 10:38:10.000000000","message":"from the database?","commit_id":"5e1d3766975b6824ddac36ef47c9138c8eb46930"},{"author":{"_account_id":6062,"name":"jichenjc","email":"jichenjc@cn.ibm.com","username":"jichenjc"},"change_message_id":"a528318a2143c832952554a02dff50d734b609c9","unresolved":false,"context_lines":[{"line_number":44,"context_line":""},{"line_number":45,"context_line":".. rest_method:: DELETE /v2.1/{tenant_id}/servers/{server_id}/os-server-password"},{"line_number":46,"context_line":""},{"line_number":47,"context_line":"Clears the encrypted administrative password for a server, which removes it from the metadata server."},{"line_number":48,"context_line":""},{"line_number":49,"context_line":"This action does not actually change the instance server password."},{"line_number":50,"context_line":""}],"source_content_type":"text/x-c++src","patch_set":1,"id":"bab6814e_fe1f9405","line":47,"range":{"start_line":47,"start_character":76,"end_line":47,"end_character":100},"in_reply_to":"bab6814e_99f02a00","updated":"2016-05-20 13:14:48.000000000","message":"yes, right, from database","commit_id":"5e1d3766975b6824ddac36ef47c9138c8eb46930"},{"author":{"_account_id":7,"name":"Jay Pipes","email":"jaypipes@gmail.com","username":"jaypipes"},"change_message_id":"f315a8cc9050dcaf2421a6f19092be049a13beb0","unresolved":false,"context_lines":[{"line_number":18,"context_line":"This operation calls the metadata service to query metadata information and"},{"line_number":19,"context_line":"does not read password information from the server itself."},{"line_number":20,"context_line":""},{"line_number":21,"context_line":"password saved in the metadata service is typically encrypted using the public"},{"line_number":22,"context_line":"ssh key injected into this server, so the ssh private key is needed to"},{"line_number":23,"context_line":"read the password."},{"line_number":24,"context_line":""}],"source_content_type":"text/x-c++src","patch_set":2,"id":"bab6814e_673db48e","line":21,"updated":"2016-05-21 21:18:39.000000000","message":"s/password/The password/","commit_id":"e0a6f27a0106162f38faaad5a848a32ab69b442c"},{"author":{"_account_id":6062,"name":"jichenjc","email":"jichenjc@cn.ibm.com","username":"jichenjc"},"change_message_id":"c667872d32f70086418c1cc848937716a2bb0b69","unresolved":false,"context_lines":[{"line_number":18,"context_line":"This operation calls the metadata service to query metadata information and"},{"line_number":19,"context_line":"does not read password information from the server itself."},{"line_number":20,"context_line":""},{"line_number":21,"context_line":"password saved in the metadata service is typically encrypted using the public"},{"line_number":22,"context_line":"ssh key injected into this server, so the ssh private key is needed to"},{"line_number":23,"context_line":"read the password."},{"line_number":24,"context_line":""}],"source_content_type":"text/x-c++src","patch_set":2,"id":"bab6814e_94c25d51","line":21,"in_reply_to":"bab6814e_673db48e","updated":"2016-05-23 13:25:22.000000000","message":"Done","commit_id":"e0a6f27a0106162f38faaad5a848a32ab69b442c"},{"author":{"_account_id":7,"name":"Jay Pipes","email":"jaypipes@gmail.com","username":"jaypipes"},"change_message_id":"f315a8cc9050dcaf2421a6f19092be049a13beb0","unresolved":false,"context_lines":[{"line_number":19,"context_line":"does not read password information from the server itself."},{"line_number":20,"context_line":""},{"line_number":21,"context_line":"password saved in the metadata service is typically encrypted using the public"},{"line_number":22,"context_line":"ssh key injected into this server, so the ssh private key is needed to"},{"line_number":23,"context_line":"read the password."},{"line_number":24,"context_line":""},{"line_number":25,"context_line":"Policy defaults enable only users with the administrative role or the owner"}],"source_content_type":"text/x-c++src","patch_set":2,"id":"bab6814e_c740e009","line":22,"updated":"2016-05-21 21:18:39.000000000","message":"s/ssh/SSH/g","commit_id":"e0a6f27a0106162f38faaad5a848a32ab69b442c"},{"author":{"_account_id":6062,"name":"jichenjc","email":"jichenjc@cn.ibm.com","username":"jichenjc"},"change_message_id":"c667872d32f70086418c1cc848937716a2bb0b69","unresolved":false,"context_lines":[{"line_number":19,"context_line":"does not read password information from the server itself."},{"line_number":20,"context_line":""},{"line_number":21,"context_line":"password saved in the metadata service is typically encrypted using the public"},{"line_number":22,"context_line":"ssh key injected into this server, so the ssh private key is needed to"},{"line_number":23,"context_line":"read the password."},{"line_number":24,"context_line":""},{"line_number":25,"context_line":"Policy defaults enable only users with the administrative role or the owner"}],"source_content_type":"text/x-c++src","patch_set":2,"id":"bab6814e_34aa9185","line":22,"in_reply_to":"bab6814e_c740e009","updated":"2016-05-23 13:25:22.000000000","message":"Done","commit_id":"e0a6f27a0106162f38faaad5a848a32ab69b442c"}]}
