)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":5293,"name":"Nikhil","email":"SlickNik@gmail.com","username":"slicknik"},"change_message_id":"e6c97aea3480c749e07b4dd6db9ee888aead2e14","unresolved":false,"context_lines":[{"line_number":5,"context_line":"CommitDate: 2015-02-11 17:23:37 -0800"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"using admin tenant to create flavors"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Change-Id: I8674980fc57092140ae8df3e13ae7b5341dbbc50"},{"line_number":10,"context_line":"Closes-Bug: 1421029"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":2,"id":"da86d52c_64dfcc69","line":8,"updated":"2015-02-12 02:46:04.000000000","message":"Can you please add a bit more of a description explaining the intent of the change. Thanks!","commit_id":"08c4fa39f12b0be9e2b0cf6a4c81a6a8bc68713f"},{"author":{"_account_id":10215,"name":"Peter Stachowski","email":"peter@tesora.com","username":"peterstac"},"change_message_id":"8d5050207d8484323fbb605bb6dd9d1e1e9bb6b8","unresolved":false,"context_lines":[{"line_number":8,"context_line":""},{"line_number":9,"context_line":"something changed in nova and we cannot create new flavors with service tenant"},{"line_number":10,"context_line":"so we will use admin tenant instead"},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"Change-Id: I8674980fc57092140ae8df3e13ae7b5341dbbc50"},{"line_number":13,"context_line":"Closes-Bug: 1421029"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":3,"id":"da86d52c_44df283a","line":11,"updated":"2015-02-12 02:54:11.000000000","message":"Still a little thin :)\n\nHere\u0027s a suggestion for next time:\n\n  Use admin account for adding flavors\n\n  When adding flavors, the trove account was being used.  This now\n  generates the following error:\n\n  ERROR (Forbidden): Policy doesn\u0027t allow compute_extension:flavormanage\n  to be performed.\n\n  According to http://docs.openstack.org/admin-guide-cloud/content under\n  compute/system administration/flavors:\n\n  \"Configuration rights can be delegated to additional users by redefining\n  the access controls for compute_extension:flavormanage in\n  /etc/nova/policy.json on the nova-api server.\"\n\n  and\n\n  \"Admin users can use the nova flavor- commands to customize and manage\n  flavors.\"\n\n  Instead of trying to manipulate the policy file, this fix just uses the\n  admin account to add the necessary flavors.","commit_id":"c0da3ccf9aa5e28aa03cfb94c8a852980efe4b1a"}],"scripts/redstack":[{"author":{"_account_id":10215,"name":"Peter Stachowski","email":"peter@tesora.com","username":"peterstac"},"change_message_id":"fdc3dca7667c02182c61e607f23749bcabbc5654","unresolved":false,"context_lines":[{"line_number":40,"context_line":"[[ $ENABLE_NEUTRON \u003d true ]] \u0026\u0026 BRIDGE_IP\u003d172.24.4.1 || BRIDGE_IP\u003d10.0.0.1"},{"line_number":41,"context_line":"SERVICE_PROTOCOL\u003d${SERVICE_PROTOCOL:-http}"},{"line_number":42,"context_line":"SERVICE_TENANT\u003d${SERVICE_TENANT:-service}"},{"line_number":43,"context_line":"ADMIN_TENANT\u003d${ADMIN_TENANT:-admin}"},{"line_number":44,"context_line":"NETWORK_GATEWAY\u003d${NETWORK_GATEWAY:-$BRIDGE_IP}"},{"line_number":45,"context_line":"NETWORK_INTERFACE\u003d${NETWORK_INTERFACE:-eth0}"},{"line_number":46,"context_line":"NETWORK_SUBNET\u003d${NETWORK_SUBNET:-10.0.0.0/24}"}],"source_content_type":"application/octet-stream","patch_set":2,"id":"da86d52c_24a4f406","line":43,"updated":"2015-02-12 02:42:50.000000000","message":"This is hard-coded throughout redstack, so probably out of scope to change it here (without changing all the places it\u0027s hard-coded)","commit_id":"08c4fa39f12b0be9e2b0cf6a4c81a6a8bc68713f"},{"author":{"_account_id":5390,"name":"Steve Leon","username":"steve-leon","inactive":true},"change_message_id":"30639b770fb9a11b35d591b3ab1737edde10c105","unresolved":false,"context_lines":[{"line_number":134,"context_line":"    FLAVOR_VCPUS\u003d$5"},{"line_number":135,"context_line":"    FLAVOR_EPHEMERAL\u003d$6"},{"line_number":136,"context_line":""},{"line_number":137,"context_line":"    if [[ -z $(nova --os-username\u003dtrove --os-password\u003d$SERVICE_PASSWORD --os-tenant-name\u003d$SERVICE_TENANT --os-auth-url\u003d$TROVE_AUTH_ENDPOINT flavor-list | grep $FLAVOR_NAME) ]]; then"},{"line_number":138,"context_line":"        nova --os-username\u003dadmin --os-password\u003d$ADMIN_PASSWORD --os-tenant-name\u003d$ADMIN_TENANT --os-auth-url\u003d$TROVE_AUTH_ENDPOINT flavor-create $FLAVOR_NAME $FLAVOR_ID $FLAVOR_MEMORY_MB $FLAVOR_ROOT_GB $FLAVOR_VCPUS --ephemeral $FLAVOR_EPHEMERAL"},{"line_number":139,"context_line":"    fi"},{"line_number":140,"context_line":"}"}],"source_content_type":"application/octet-stream","patch_set":2,"id":"da86d52c_6127beca","line":137,"updated":"2015-02-12 02:34:32.000000000","message":"You should change the stuff in the conditional if statements as well.","commit_id":"08c4fa39f12b0be9e2b0cf6a4c81a6a8bc68713f"}]}
