)]}'
{"files/000-default.template":[{"author":{"_account_id":112,"name":"Jesse Andrews","email":"anotherjesse@gmail.com","username":"anotherjesse"},"change_message_id":"84ee8daf369f729f21dcbfbc201dd106ae1a4af5","unresolved":false,"context_lines":[{"line_number":21,"context_line":"        allow from all"},{"line_number":22,"context_line":"    \u003c/Directory\u003e"},{"line_number":23,"context_line":""},{"line_number":24,"context_line":"    ErrorLog /var/log/%APACHE_NAME%/error.log"},{"line_number":25,"context_line":"    LogLevel warn"},{"line_number":26,"context_line":"    CustomLog /var/log/%APACHE_NAME%/access.log combined"},{"line_number":27,"context_line":"\u003c/VirtualHost\u003e"}],"source_content_type":"application/octet-stream","patch_set":1,"id":"AAAAEn%2F%2F4QY%3D","line":24,"updated":"2012-02-21 21:42:00.000000000","message":"can we remove the error log line and have it do the default?\n\nor maybe put it in /opt/stack/logs ?","commit_id":"428e0a16b42f40955c422d68e16ac4ea6f76df7c"}],"files/000-horizon.template":[{"author":{"_account_id":1419,"name":"Mike Pittaro","email":"mikeyp@LaHondaResearch.org","username":"mikeyp-3"},"change_message_id":"27659731b18dcbb0780a44e35fd6422c6b914151","unresolved":false,"context_lines":[{"line_number":21,"context_line":"        allow from all"},{"line_number":22,"context_line":"    \u003c/Directory\u003e"},{"line_number":23,"context_line":""},{"line_number":24,"context_line":"    ErrorLog %DEST%/logs/apache_error.log"},{"line_number":25,"context_line":"    LogLevel warn"},{"line_number":26,"context_line":"    CustomLog %DEST%/logs/apache_access.log combined"},{"line_number":27,"context_line":"\u003c/VirtualHost\u003e"}],"source_content_type":"application/octet-stream","patch_set":6,"id":"AAAAE3%2F%2F%2BTc%3D","line":24,"updated":"2012-03-14 19:31:49.000000000","message":"I think we need a WSGISocketPrefix entry here - see:\nhttp://code.google.com/p/modwsgi/wiki/ConfigurationIssues#Location_Of_UNIX_Sockets","commit_id":"ecceed4e81af5c236f8a5609cf5042896f836296"}],"files/apache-horizon.template":[{"author":{"_account_id":2750,"name":"Sean Dague","email":"sean@dague.net","username":"sdague"},"change_message_id":"03922af6c341f4c3ea794cb75128887483893469","unresolved":false,"context_lines":[{"line_number":24,"context_line":"    ErrorLog %DEST%/logs/apache_error.log"},{"line_number":25,"context_line":"    LogLevel warn"},{"line_number":26,"context_line":"    CustomLog %DEST%/logs/apache_access.log combined"},{"line_number":27,"context_line":"\u003c/VirtualHost\u003e"},{"line_number":28,"context_line":""}],"source_content_type":"application/octet-stream","patch_set":8,"id":"AAAAE3%2F%2F7Ug%3D","line":27,"updated":"2012-03-22 13:42:40.000000000","message":"This will break log rotate on Ubuntu/Debian systems.","commit_id":"f0fcf5728476b5b1f3a7e5672badb1be31493f53"}],"files/rpms/glance":[{"author":{"_account_id":1419,"name":"Mike Pittaro","email":"mikeyp@LaHondaResearch.org","username":"mikeyp-3"},"change_message_id":"d484544daf719d0403974a41cd5e601e938ce2c5","unresolved":false,"context_lines":[{"line_number":5,"context_line":"python-sqlalchemy"},{"line_number":6,"context_line":"python-wsgiref"},{"line_number":7,"context_line":"python-paste-deploy"},{"line_number":8,"context_line":"python-xattr"}],"source_content_type":"application/octet-stream","patch_set":8,"id":"AAAAE3%2F%2F7Z4%3D","line":8,"updated":"2012-03-22 02:38:32.000000000","message":"Think this should be pyxattr:\n\nyum list pyxattr\npyxattr.x86_64                                     0.5.0-3.fc15","commit_id":"f0fcf5728476b5b1f3a7e5672badb1be31493f53"},{"author":{"_account_id":1561,"name":"Russell Bryant","email":"rbryant@redhat.com","username":"russellb"},"change_message_id":"1342b83cd6895a5717fa3bc90986d318c3f86ba0","unresolved":false,"context_lines":[{"line_number":5,"context_line":"python-sqlalchemy"},{"line_number":6,"context_line":"python-wsgiref"},{"line_number":7,"context_line":"python-paste-deploy"},{"line_number":8,"context_line":"python-xattr"}],"source_content_type":"application/octet-stream","patch_set":8,"id":"AAAAE3%2F%2F7Uw%3D","line":8,"in_reply_to":"AAAAE3%2F%2F7Z4%3D","updated":"2012-03-22 13:28:55.000000000","message":"Good catch.  python-xattr works as an alias, but will no longer work as of Fedora 17.","commit_id":"f0fcf5728476b5b1f3a7e5672badb1be31493f53"}],"files/rpms/horizon":[{"author":{"_account_id":1419,"name":"Mike Pittaro","email":"mikeyp@LaHondaResearch.org","username":"mikeyp-3"},"change_message_id":"d484544daf719d0403974a41cd5e601e938ce2c5","unresolved":false,"context_lines":[{"line_number":5,"context_line":"python-paste-deploy"},{"line_number":6,"context_line":"python-anyjson"},{"line_number":7,"context_line":"python-routes"},{"line_number":8,"context_line":"python-xattr"},{"line_number":9,"context_line":"python-sqlalchemy"},{"line_number":10,"context_line":"python-webob"},{"line_number":11,"context_line":"python-kombu"}],"source_content_type":"application/octet-stream","patch_set":8,"id":"AAAAE3%2F%2F7ZY%3D","line":8,"updated":"2012-03-22 02:38:32.000000000","message":"pyxattr, I believe","commit_id":"f0fcf5728476b5b1f3a7e5672badb1be31493f53"},{"author":{"_account_id":1419,"name":"Mike Pittaro","email":"mikeyp@LaHondaResearch.org","username":"mikeyp-3"},"change_message_id":"d484544daf719d0403974a41cd5e601e938ce2c5","unresolved":false,"context_lines":[{"line_number":15,"context_line":"python-nose"},{"line_number":16,"context_line":"python-sphinx"},{"line_number":17,"context_line":"python-mox"},{"line_number":18,"context_line":"python-kombu"},{"line_number":19,"context_line":"python-coverage"},{"line_number":20,"context_line":"python-cherrypy # why?"},{"line_number":21,"context_line":"Django"}],"source_content_type":"application/octet-stream","patch_set":8,"id":"AAAAE3%2F%2F7ZE%3D","line":18,"updated":"2012-03-22 02:38:32.000000000","message":"dup : already on line 11","commit_id":"f0fcf5728476b5b1f3a7e5672badb1be31493f53"}],"stack.sh":[{"author":{"_account_id":2284,"name":"Eoghan Glynn","email":"eglynn@redhat.com","username":"eglynn"},"change_message_id":"a17df02b04da8aa02ff6b23aea69b3d6dad03779","unresolved":false,"context_lines":[{"line_number":812,"context_line":"        sudo sed \u0027/^Listen/s/^.*$/Listen 0.0.0.0:80/\u0027 -i /etc/httpd/conf/httpd.conf"},{"line_number":813,"context_line":"        # SELinux wants some love for logs in $DEST"},{"line_number":814,"context_line":"        if [[ \"$(sestatus | awk \u0027/status:/ { print $3 }\u0027)\" !\u003d \"disabled\" ]]; then"},{"line_number":815,"context_line":"            chcon -t http_log_t $DEST/logs"},{"line_number":816,"context_line":"        fi"},{"line_number":817,"context_line":"    fi"},{"line_number":818,"context_line":"    ## Configure apache to run horizon in 000-horizon"}],"source_content_type":"text/x-sh","patch_set":3,"id":"AAAAEn%2F%2F2W8%3D","line":815,"updated":"2012-02-24 14:28:30.000000000","message":"Should the ordering of the chcon command and the mkdir on line 819 be reversed?\n\nIf the /opt/stack/logs directory doesn\u0027t exist a priori, the chcon command will fail.\n\nOddly, even when the directory exists, I\u0027m seeing the chcon command fail on an EC2 instance running F16 with:\n\n  chcon: failed to change context of  to `unconfined_u:object_r:http_log_t:s0\u0027: Invalid argument \n\n(though the same chcon command works fine on my laptop running F16).\n\nI ended up just temporarily disabling SELinux on the EC2 instance in order to make progress:\n\n  $\u003e sudo setenforce 0\n  $\u003e sudo sed -i \u0027s/^SELINUX\u003denforcing/SELINUX\u003dpermissive/\u0027 /etc/selinux/config","commit_id":"fdd1ff0556d09aea30015f111926d8129d161863"},{"author":{"_account_id":1955,"name":"Alan Pevec","email":"alan.pevec@redhat.com","username":"apevec"},"change_message_id":"c8ea26075cd76838beea305df0f6b6c13c234b6f","unresolved":false,"context_lines":[{"line_number":812,"context_line":"        sudo sed \u0027/^Listen/s/^.*$/Listen 0.0.0.0:80/\u0027 -i /etc/httpd/conf/httpd.conf"},{"line_number":813,"context_line":"        # SELinux wants some love for logs in $DEST"},{"line_number":814,"context_line":"        if [[ \"$(sestatus | awk \u0027/status:/ { print $3 }\u0027)\" !\u003d \"disabled\" ]]; then"},{"line_number":815,"context_line":"            chcon -t http_log_t $DEST/logs"},{"line_number":816,"context_line":"        fi"},{"line_number":817,"context_line":"    fi"},{"line_number":818,"context_line":"    ## Configure apache to run horizon in 000-horizon"}],"source_content_type":"text/x-sh","patch_set":3,"id":"AAAAEn%2F%2F2M0%3D","line":815,"in_reply_to":"AAAAEn%2F%2F2W8%3D","updated":"2012-02-24 22:04:01.000000000","message":"This must be selinux policy enforcement which doesn\u0027t allow setting random contexts. This should work (silencing semanage when policy is already modified):\n\nsudo semanage fcontext -a -e /var/log/httpd $DEST/logs 2\u003e/dev/null ||:\nsudo restorecon -R -v $DEST/logs","commit_id":"fdd1ff0556d09aea30015f111926d8129d161863"},{"author":{"_account_id":2284,"name":"Eoghan Glynn","email":"eglynn@redhat.com","username":"eglynn"},"change_message_id":"a17df02b04da8aa02ff6b23aea69b3d6dad03779","unresolved":false,"context_lines":[{"line_number":1221,"context_line":"    # tgt in oneiric doesn\u0027t restart properly if tgtd isn\u0027t running"},{"line_number":1222,"context_line":"    # do it in two steps"},{"line_number":1223,"context_line":"    # FIXME(dtroyer): something isn\u0027t kosher on f16 with this..."},{"line_number":1224,"context_line":"    sudo stop tgt || true"},{"line_number":1225,"context_line":"    sudo start tgt"},{"line_number":1226,"context_line":"fi"},{"line_number":1227,"context_line":""}],"source_content_type":"text/x-sh","patch_set":3,"id":"AAAAEn%2F%2F2W4%3D","line":1224,"updated":"2012-02-24 14:28:30.000000000","message":"On Fedora, should this be something like:\n\nsudo service tgtd restart","commit_id":"fdd1ff0556d09aea30015f111926d8129d161863"},{"author":{"_account_id":1561,"name":"Russell Bryant","email":"rbryant@redhat.com","username":"russellb"},"change_message_id":"8c3a1f3f82736ccf5be11e9d4b7a822354b3ff23","unresolved":false,"context_lines":[{"line_number":1221,"context_line":"    # tgt in oneiric doesn\u0027t restart properly if tgtd isn\u0027t running"},{"line_number":1222,"context_line":"    # do it in two steps"},{"line_number":1223,"context_line":"    # FIXME(dtroyer): something isn\u0027t kosher on f16 with this..."},{"line_number":1224,"context_line":"    sudo stop tgt || true"},{"line_number":1225,"context_line":"    sudo start tgt"},{"line_number":1226,"context_line":"fi"},{"line_number":1227,"context_line":""}],"source_content_type":"text/x-sh","patch_set":3,"id":"AAAAEn%2F%2F2Os%3D","line":1224,"in_reply_to":"AAAAEn%2F%2F2W4%3D","updated":"2012-02-24 21:06:55.000000000","message":"And for some reason on my laptop, I have to do this or starting tgtd will hang:\n\n    sudo SYSTEMCTL_SKIP_REDIRECT\u003d1 /etc/init.d/tgtd restart\n\nI know pbrady has hit this same issue, as well.","commit_id":"fdd1ff0556d09aea30015f111926d8129d161863"},{"author":{"_account_id":1297,"name":"Joshua Harlow","email":"jxharlow@godaddy.com","username":"harlowja"},"change_message_id":"8e7147fb4f91a7a3fa7ef5e6f98a2faba7170c46","unresolved":false,"context_lines":[{"line_number":745,"context_line":"    if [[ \"$os_PACKAGE\" \u003d \"rpm\" ]]; then"},{"line_number":746,"context_line":"        # RPM doesn\u0027t start the service"},{"line_number":747,"context_line":"        sudo $CMD_SERVICE mysqld start"},{"line_number":748,"context_line":"        # Set the root password - only works the first time"},{"line_number":749,"context_line":"        sudo mysqladmin -u root password $MYSQL_PASSWORD || true"},{"line_number":750,"context_line":"    fi"},{"line_number":751,"context_line":"    # Update the DB to give user ‘$MYSQL_USER’@’%’ full control of the all databases:"}],"source_content_type":"text/x-sh","patch_set":4,"id":"AAAAEn%2F%2F0%2F4%3D","line":748,"updated":"2012-02-28 19:20:56.000000000","message":"This is something we had to solve in devstackPy. How will this work the second time?","commit_id":"3e4ee89fdeb67d63af3bc46a1da4047fc19f7510"},{"author":{"_account_id":1561,"name":"Russell Bryant","email":"rbryant@redhat.com","username":"russellb"},"change_message_id":"57a46ec8e8a9a9fce29a639031929a57218988a7","unresolved":false,"context_lines":[{"line_number":828,"context_line":"        s,%APACHE_NAME%,$APACHE_NAME,g;"},{"line_number":829,"context_line":"        s,%DEST%,$DEST,g;"},{"line_number":830,"context_line":"    \\\" $FILES/000-horizon.template \u003e/etc/$APACHE_NAME/$APACHE_CONF;"},{"line_number":831,"context_line":"    echo \\\"WSGISocketPrefix /var/run/$APACHE_NAME\\\" \u003e\u003e/etc/$APACHE_NAME/$APACHE_CONF\""},{"line_number":832,"context_line":"    sudo $CMD_SERVICE $APACHE_NAME restart"},{"line_number":833,"context_line":"fi"},{"line_number":834,"context_line":""}],"source_content_type":"text/x-sh","patch_set":4,"id":"AAAAEn%2F%2F07I%3D","line":831,"updated":"2012-02-28 20:31:49.000000000","message":"It failed on me here this time.  (Restarting httpd).  The error is that httpd doesn\u0027t have permission to write its log to /opt/stack/logs/.\n\n    + sudo /sbin/service httpd restart\n    Restarting httpd (via systemctl):  Job failed. See system logs and \u0027systemctl status\u0027 for details.\n                                                           [FAILED]\n\n    # tail /var/log/httpd/error_log \n    (13)Permission denied: httpd: could not open error log file /opt/stack/logs/apache_error.log.\n    Unable to open logs","commit_id":"3e4ee89fdeb67d63af3bc46a1da4047fc19f7510"},{"author":{"_account_id":1297,"name":"Joshua Harlow","email":"jxharlow@godaddy.com","username":"harlowja"},"change_message_id":"8e7147fb4f91a7a3fa7ef5e6f98a2faba7170c46","unresolved":false,"context_lines":[{"line_number":936,"context_line":"    # Virtualization Configuration"},{"line_number":937,"context_line":"    # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~"},{"line_number":938,"context_line":"    if [[ \"$os_PACKAGE\" \u003d \"deb\" ]]; then"},{"line_number":939,"context_line":"        apt_get install libvirt-bin"},{"line_number":940,"context_line":"    else"},{"line_number":941,"context_line":"        yum_install libvirt"},{"line_number":942,"context_line":"    fi"}],"source_content_type":"text/x-sh","patch_set":4,"id":"AAAAEn%2F%2F0%2Fw%3D","line":939,"updated":"2012-02-28 19:20:56.000000000","message":"Whats the point of having dependency listing files if they aren\u0027t used :-(","commit_id":"3e4ee89fdeb67d63af3bc46a1da4047fc19f7510"},{"author":{"_account_id":1561,"name":"Russell Bryant","email":"rbryant@redhat.com","username":"russellb"},"change_message_id":"69dc117ba09071a43bc1d0d500c43c8fa45f72de","unresolved":false,"context_lines":[{"line_number":1735,"context_line":"screen_it n-novnc \"cd $NOVNC_DIR \u0026\u0026 ./utils/nova-novncproxy --config-file $NOVA_CONF_DIR/$NOVA_CONF --web .\""},{"line_number":1736,"context_line":"screen_it n-xvnc \"cd $NOVA_DIR \u0026\u0026 ./bin/nova-xvpvncproxy --config-file $NOVA_CONF_DIR/$NOVA_CONF\""},{"line_number":1737,"context_line":"screen_it n-cauth \"cd $NOVA_DIR \u0026\u0026 ./bin/nova-consoleauth\""},{"line_number":1738,"context_line":"screen_it horizon \"cd $HORIZON_DIR \u0026\u0026 sudo tail -f /var/log/apache2/error.log\""},{"line_number":1739,"context_line":""},{"line_number":1740,"context_line":""},{"line_number":1741,"context_line":"# Install Images"}],"source_content_type":"text/x-sh","patch_set":6,"id":"AAAAE3%2F%2F%2Bm8%3D","line":1738,"updated":"2012-03-14 13:22:47.000000000","message":"screen_it horizon \"cd $HORIZON_DIR \u0026\u0026 sudo tail -f $DEST/logs/apache_error.log\"","commit_id":"ecceed4e81af5c236f8a5609cf5042896f836296"}]}
