)]}'
{"README.md":[{"author":{"_account_id":970,"name":"Dean Troyer","email":"dtroyer@gmail.com","username":"dtroyer"},"change_message_id":"a4cbeb8f38c6c3a56f42be519a1125387e6c194a","unresolved":false,"context_lines":[{"line_number":86,"context_line":""},{"line_number":87,"context_line":"Swift is not installed by default, you can enable easily by adding this to your `localrc`:"},{"line_number":88,"context_line":""},{"line_number":89,"context_line":"    enable_service swift"},{"line_number":90,"context_line":""},{"line_number":91,"context_line":"If you want a minimal Swift install with only Swift and Keystone you can have this instead in your `localrc`:"},{"line_number":92,"context_line":""}],"source_content_type":"text/x-gfm","patch_set":7,"id":"AAAAM3%2F%2BrEU%3D","side":"PARENT","line":89,"updated":"2013-02-21 23:57:33.000000000","message":"Because it is a change from past practice I think it would be useful to keep this bit and invert it to show how to turn swift off.","commit_id":"318dc74080cac68d05db49f8586134216fdc3efa"},{"author":{"_account_id":970,"name":"Dean Troyer","email":"dtroyer@gmail.com","username":"dtroyer"},"change_message_id":"a4cbeb8f38c6c3a56f42be519a1125387e6c194a","unresolved":false,"context_lines":[{"line_number":93,"context_line":"    disable_all_services"},{"line_number":94,"context_line":"    enable_service key mysql swift"},{"line_number":95,"context_line":""},{"line_number":96,"context_line":"If you use Swift with Keystone, Swift will authenticate against it. You will need to make sure to use the Keystone URL to auth against."},{"line_number":97,"context_line":""},{"line_number":98,"context_line":"If you are enabling `swift3` in `ENABLED_SERVICES` devstack will install the swift3 middleware emulation. Swift will be configured to act as a S3 endpoint for Keystone so effectively replacing the `nova-objectstore`."},{"line_number":99,"context_line":""}],"source_content_type":"text/x-gfm","patch_set":7,"id":"AAAAM3%2F%2BrEQ%3D","side":"PARENT","line":96,"updated":"2013-02-21 23:57:33.000000000","message":"I think this is also a useful bit of info, we\u0027ve had folk specifically ask how to run a swift-only or swift+keystone devstack.","commit_id":"318dc74080cac68d05db49f8586134216fdc3efa"},{"author":{"_account_id":970,"name":"Dean Troyer","email":"dtroyer@gmail.com","username":"dtroyer"},"change_message_id":"a4cbeb8f38c6c3a56f42be519a1125387e6c194a","unresolved":false,"context_lines":[{"line_number":86,"context_line":""},{"line_number":87,"context_line":"If you are enabling `swift3` in `ENABLED_SERVICES` devstack will install the swift3 middleware emulation. Swift will be configured to act as a S3 endpoint for Keystone so effectively replacing the `nova-objectstore`."},{"line_number":88,"context_line":""},{"line_number":89,"context_line":"Only Swift proxy server is launched in the screen session all other services are started in background and managed by `swift-init` tool."},{"line_number":90,"context_line":""},{"line_number":91,"context_line":"By default Swift will configure only 1 replica to avoid being IO/memory intensive on a small vm, if you only want to do some testing of a real normal swift cluster with multiple replicas you can do so by customizing the variable `SWIFT_REPLICAS` in your `localrc` (usually to 3)."}],"source_content_type":"text/x-gfm","patch_set":7,"id":"AAAAM3%2F%2BrFE%3D","line":89,"updated":"2013-02-21 23:57:33.000000000","message":"You might mention that with 1 replica the account, container and object processes also run in screen?","commit_id":"5b1919ec1efe80a9d38ca3b89faccaa82ee82b47"}],"files/keystone_data.sh":[{"author":{"_account_id":970,"name":"Dean Troyer","email":"dtroyer@gmail.com","username":"dtroyer"},"change_message_id":"a4cbeb8f38c6c3a56f42be519a1125387e6c194a","unresolved":false,"context_lines":[{"line_number":52,"context_line":"# Services"},{"line_number":53,"context_line":"# --------"},{"line_number":54,"context_line":""},{"line_number":55,"context_line":"if [[ \"$ENABLED_SERVICES\" \u003d~ \"n-api\" ]] \u0026\u0026 [[ \"$ENABLED_SERVICES\" \u003d~ \"s-proxy\" || \"$ENABLED_SERVICES\" \u003d~ \"swift\" ]]; then"},{"line_number":56,"context_line":"    NOVA_USER\u003d$(keystone user-list | awk \"/ nova / { print \\$2 }\")"},{"line_number":57,"context_line":"    # Nova needs ResellerAdmin role to download images when accessing"},{"line_number":58,"context_line":"    # swift through the s3 api."}],"source_content_type":"text/x-sh","patch_set":7,"id":"AAAAM3%2F%2BrFU%3D","line":55,"updated":"2013-02-21 23:57:33.000000000","message":"Does this work out as expected?\n\nIt was (n-api \u0026\u0026 swift)\n\nIt is now (n-api \u0026\u0026 s-proxy) || swift\n\nI think you mean n-api \u0026\u0026 (s-proxy || swift)?\n\nThe case of n-api\u003dfalse \u0026\u0026 s-proxy\u003dfalse || swift\u003dtrue incorrectly evaluates to true.","commit_id":"5b1919ec1efe80a9d38ca3b89faccaa82ee82b47"}],"functions":[{"author":{"_account_id":970,"name":"Dean Troyer","email":"dtroyer@gmail.com","username":"dtroyer"},"change_message_id":"a4cbeb8f38c6c3a56f42be519a1125387e6c194a","unresolved":false,"context_lines":[{"line_number":553,"context_line":"#   **swift** returns true if any service enabled start with **s-**"},{"line_number":554,"context_line":"# "},{"line_number":555,"context_line":"#   For backward compatibility if we have **swift** in ENABLED_SERVICES all the"},{"line_number":556,"context_line":"#   **s-** services will be enabled. This will be deprecated in the future."},{"line_number":557,"context_line":"#"},{"line_number":558,"context_line":"# Uses global ``ENABLED_SERVICES``"},{"line_number":559,"context_line":"# is_service_enabled service [service ...]"}],"source_content_type":"application/octet-stream","patch_set":7,"id":"AAAAM3%2F%2BrHE%3D","line":556,"updated":"2013-02-21 23:57:33.000000000","message":"Put this comment down with the line it refers to so there is not question later which line to remove.\n\nAnd extra whitespace above.","commit_id":"5b1919ec1efe80a9d38ca3b89faccaa82ee82b47"}]}
