)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":8214,"name":"Auston McReynolds","email":"amcreynolds@ebaysf.com","username":"amcreynolds"},"change_message_id":"89123921a99be3e60a12c0fd184c7dd59061b186","unresolved":false,"context_lines":[{"line_number":16,"context_line":"- this code adds ability to create/delete instance"},{"line_number":17,"context_line":"with cassandra service type. No other operations supported;"},{"line_number":18,"context_line":"- adding datastore/version registration for cassandra"},{"line_number":19,"context_line":""},{"line_number":20,"context_line":"Change-Id: I67733f0ba18aae513465d66bb48e44bbb316a575"},{"line_number":21,"context_line":"Implements: blueprint cassandra-db-support"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":20,"id":"AAAAUH%2F%2BCjM%3D","line":19,"updated":"2014-01-30 18:49:01.000000000","message":"i\u0027d like to see a quick comment in the commit msg briefly summarizing why fedora isn\u0027t being done (i understand why it isn\u0027t, based on your earlier reply). that way, when another contributor asks the same question, there will be some hints as to why vs. them immediately thinking it was an accidental omission.","commit_id":"48d475cb9db7906c5bcb6d122a31b1eb453c658e"},{"author":{"_account_id":739,"name":"Michael Basnight","email":"mbasnight@gmail.com","username":"hubcap"},"change_message_id":"92030430ad9773ae3024a5cc9fb3eb3af078af6b","unresolved":false,"context_lines":[{"line_number":16,"context_line":"- this code adds ability to create/delete instance"},{"line_number":17,"context_line":"with cassandra service type. No other operations supported;"},{"line_number":18,"context_line":"- adding datastore/version registration for cassandra"},{"line_number":19,"context_line":""},{"line_number":20,"context_line":"Change-Id: I67733f0ba18aae513465d66bb48e44bbb316a575"},{"line_number":21,"context_line":"Implements: blueprint cassandra-db-support"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":20,"id":"AAAAUH%2F9jhw%3D","line":19,"in_reply_to":"AAAAUH%2F%2BCjM%3D","updated":"2014-02-06 03:47:06.000000000","message":"+1","commit_id":"48d475cb9db7906c5bcb6d122a31b1eb453c658e"},{"author":{"_account_id":8214,"name":"Auston McReynolds","email":"amcreynolds@ebaysf.com","username":"amcreynolds"},"change_message_id":"eb9e9b13826f28b7109152726dd731411ef28dd2","unresolved":false,"context_lines":[{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Reasons"},{"line_number":10,"context_line":"- this code adds ability to create/delete instance"},{"line_number":11,"context_line":"with mongodb service type. No other operations supported."},{"line_number":12,"context_line":"- trove should support multiple extensions. One of the is NoSQL support."},{"line_number":13,"context_line":"Main goal is to add support for Apache Cassandra NoSQL database."},{"line_number":14,"context_line":"- Fedora images are not supported. There is no cassandra packages"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":22,"id":"AAAAUH%2F9Yg8%3D","line":11,"updated":"2014-02-07 10:00:55.000000000","message":"\"mongodb\" should be \"cassandra\".","commit_id":"66ea4e7b57b5959d8e96bfe0681124756d6594da"},{"author":{"_account_id":8214,"name":"Auston McReynolds","email":"amcreynolds@ebaysf.com","username":"amcreynolds"},"change_message_id":"eb9e9b13826f28b7109152726dd731411ef28dd2","unresolved":false,"context_lines":[{"line_number":12,"context_line":"- trove should support multiple extensions. One of the is NoSQL support."},{"line_number":13,"context_line":"Main goal is to add support for Apache Cassandra NoSQL database."},{"line_number":14,"context_line":"- Fedora images are not supported. There is no cassandra packages"},{"line_number":15,"context_line":"for fedora.The _only_ one way to install cassandra on fedore"},{"line_number":16,"context_line":"is to use tarballs archives."},{"line_number":17,"context_line":""},{"line_number":18,"context_line":"Changes:"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":22,"id":"AAAAUH%2F9Ygo%3D","line":15,"updated":"2014-02-07 10:00:55.000000000","message":"\"fedore\" should be \"fedora\".","commit_id":"66ea4e7b57b5959d8e96bfe0681124756d6594da"}],"scripts/files/elements/ubuntu-cassandra/install.d/10-cassandra":[{"author":{"_account_id":6162,"name":"Dan Nguyen","email":"dan.nguyens.mail@gmail.com","username":"daniel-a-nguyen"},"change_message_id":"b475b26c01cf91999e8b99cc5a30bec8611a98e9","unresolved":false,"context_lines":[{"line_number":71,"context_line":"curl -L http://debian.datastax.com/debian/repo_key | sudo apt-key add -"},{"line_number":72,"context_line":"cd /etc/apt/"},{"line_number":73,"context_line":"mv sources.list sources.list.backup"},{"line_number":74,"context_line":"wget https://dl.dropboxusercontent.com/u/59402407/source.list"},{"line_number":75,"context_line":"mv source.list sources.list"},{"line_number":76,"context_line":"apt-get update \u003e /dev/null"},{"line_number":77,"context_line":""}],"source_content_type":"application/x-shellscript","patch_set":1,"id":"AAAATH%2F%2FRJQ%3D","line":74,"updated":"2013-10-18 17:49:30.000000000","message":"Not sure about this ^","commit_id":"59dbac1f557c8b3d5a599af111c34c65fe0dce32"},{"author":{"_account_id":8415,"name":"Denis M.","email":"lildee1991@gmail.com","username":"dmakogon"},"change_message_id":"8e2184f698503bdb946bfbca15be0fb7aae76ef2","unresolved":false,"context_lines":[{"line_number":71,"context_line":"curl -L http://debian.datastax.com/debian/repo_key | sudo apt-key add -"},{"line_number":72,"context_line":"cd /etc/apt/"},{"line_number":73,"context_line":"mv sources.list sources.list.backup"},{"line_number":74,"context_line":"wget https://dl.dropboxusercontent.com/u/59402407/source.list"},{"line_number":75,"context_line":"mv source.list sources.list"},{"line_number":76,"context_line":"apt-get update \u003e /dev/null"},{"line_number":77,"context_line":""}],"source_content_type":"application/x-shellscript","patch_set":1,"id":"AAAATH%2F%2FREE%3D","line":74,"in_reply_to":"AAAATH%2F%2FRJQ%3D","updated":"2013-10-18 18:29:35.000000000","message":"yes, this case covered with line #7-67","commit_id":"59dbac1f557c8b3d5a599af111c34c65fe0dce32"},{"author":{"_account_id":6162,"name":"Dan Nguyen","email":"dan.nguyens.mail@gmail.com","username":"daniel-a-nguyen"},"change_message_id":"b475b26c01cf91999e8b99cc5a30bec8611a98e9","unresolved":false,"context_lines":[{"line_number":75,"context_line":"mv source.list sources.list"},{"line_number":76,"context_line":"apt-get update \u003e /dev/null"},{"line_number":77,"context_line":""},{"line_number":78,"context_line":"apt-get install -qy openjdk-7-jdk expect libmysqlclient-dev python-dev \u003e /dev/null"},{"line_number":79,"context_line":"apt-get install -qy python-dev libxml2-dev ntp mc \u003e /dev/null"},{"line_number":80,"context_line":"apt-get install -qy libxslt1-dev python-pexpect python-mysqldb \u003e /dev/null"},{"line_number":81,"context_line":"apt-get install -qy python-migrate build-essential \u003e /dev/null"}],"source_content_type":"application/x-shellscript","patch_set":1,"id":"AAAATH%2F%2FRLA%3D","line":78,"updated":"2013-10-18 17:49:30.000000000","message":"http://wiki.apache.org/cassandra/DebianPackaging\n\nhttp://www.datastax.com/documentation/cassandra/2.0/webhelp/index.html#cassandra/install/installDeb_t.html\n\nDocs here say to use Oracle\u0027s JDK but I think I recall trying Open JDK awhile back (but we had to add the JNA.jar)","commit_id":"59dbac1f557c8b3d5a599af111c34c65fe0dce32"},{"author":{"_account_id":8415,"name":"Denis M.","email":"lildee1991@gmail.com","username":"dmakogon"},"change_message_id":"8e2184f698503bdb946bfbca15be0fb7aae76ef2","unresolved":false,"context_lines":[{"line_number":75,"context_line":"mv source.list sources.list"},{"line_number":76,"context_line":"apt-get update \u003e /dev/null"},{"line_number":77,"context_line":""},{"line_number":78,"context_line":"apt-get install -qy openjdk-7-jdk expect libmysqlclient-dev python-dev \u003e /dev/null"},{"line_number":79,"context_line":"apt-get install -qy python-dev libxml2-dev ntp mc \u003e /dev/null"},{"line_number":80,"context_line":"apt-get install -qy libxslt1-dev python-pexpect python-mysqldb \u003e /dev/null"},{"line_number":81,"context_line":"apt-get install -qy python-migrate build-essential \u003e /dev/null"}],"source_content_type":"application/x-shellscript","patch_set":1,"id":"AAAATH%2F%2FRDo%3D","line":78,"in_reply_to":"AAAATH%2F%2FRLA%3D","updated":"2013-10-18 18:29:35.000000000","message":"I worked with cassandra running on different jvm, and i work as well. Also as JNA - it is optional.","commit_id":"59dbac1f557c8b3d5a599af111c34c65fe0dce32"},{"author":{"_account_id":6162,"name":"Dan Nguyen","email":"dan.nguyens.mail@gmail.com","username":"daniel-a-nguyen"},"change_message_id":"b475b26c01cf91999e8b99cc5a30bec8611a98e9","unresolved":false,"context_lines":[{"line_number":87,"context_line":"wget https://raw.github.com/pypa/pip/master/contrib/get-pip.py"},{"line_number":88,"context_line":"python get-pip.py"},{"line_number":89,"context_line":""},{"line_number":90,"context_line":"apt-get install cassandra\u003d1.2.10"},{"line_number":91,"context_line":""},{"line_number":92,"context_line":"echo \"rpc_address: 0.0.0.0\" | tee -a /etc/cassandra/cassandra.yaml\u003e/dev/null"},{"line_number":93,"context_line":""}],"source_content_type":"application/x-shellscript","patch_set":1,"id":"AAAATH%2F%2FRLI%3D","line":90,"updated":"2013-10-18 17:49:30.000000000","message":"Are you sure you want to pin this version? \nLatest from apache is 2.0.1","commit_id":"59dbac1f557c8b3d5a599af111c34c65fe0dce32"},{"author":{"_account_id":8415,"name":"Denis M.","email":"lildee1991@gmail.com","username":"dmakogon"},"change_message_id":"8e2184f698503bdb946bfbca15be0fb7aae76ef2","unresolved":false,"context_lines":[{"line_number":87,"context_line":"wget https://raw.github.com/pypa/pip/master/contrib/get-pip.py"},{"line_number":88,"context_line":"python get-pip.py"},{"line_number":89,"context_line":""},{"line_number":90,"context_line":"apt-get install cassandra\u003d1.2.10"},{"line_number":91,"context_line":""},{"line_number":92,"context_line":"echo \"rpc_address: 0.0.0.0\" | tee -a /etc/cassandra/cassandra.yaml\u003e/dev/null"},{"line_number":93,"context_line":""}],"source_content_type":"application/x-shellscript","patch_set":1,"id":"AAAATH%2F%2FRDc%3D","line":90,"in_reply_to":"AAAATH%2F%2FRLI%3D","updated":"2013-10-18 18:29:35.000000000","message":"production reeady versions are 1.1.9 - 1.2.10","commit_id":"59dbac1f557c8b3d5a599af111c34c65fe0dce32"},{"author":{"_account_id":8214,"name":"Auston McReynolds","email":"amcreynolds@ebaysf.com","username":"amcreynolds"},"change_message_id":"3ab223437b110183f5e830c548d5d50aa9e62fe0","unresolved":false,"context_lines":[{"line_number":3,"context_line":"echo \"deb http://debian.datastax.com/community stable main\" \u003e\u003e /etc/apt/sources.list.d/cassandra.sources.list"},{"line_number":4,"context_line":"curl -L http://debian.datastax.com/debian/repo_key | sudo apt-key add -"},{"line_number":5,"context_line":"apt-get update"},{"line_number":6,"context_line":"apt-get install -qy openjdk-7-jdk expect libmysqlclient-dev python-dev"},{"line_number":7,"context_line":"apt-get install -qy python-dev libxml2-dev ntp mc"},{"line_number":8,"context_line":"apt-get install -qy libxslt1-dev python-pexpect python-mysqldb"},{"line_number":9,"context_line":"apt-get install -qy python-migrate build-essential"}],"source_content_type":"application/x-shellscript","patch_set":9,"id":"AAAATn%2F9TAo%3D","line":6,"updated":"2013-12-12 22:22:12.000000000","message":"why is libmysqlclient-dev needed?","commit_id":"1ca6667cad52574ca245318409605e65df23b1a0"},{"author":{"_account_id":8214,"name":"Auston McReynolds","email":"amcreynolds@ebaysf.com","username":"amcreynolds"},"change_message_id":"3ab223437b110183f5e830c548d5d50aa9e62fe0","unresolved":false,"context_lines":[{"line_number":4,"context_line":"curl -L http://debian.datastax.com/debian/repo_key | sudo apt-key add -"},{"line_number":5,"context_line":"apt-get update"},{"line_number":6,"context_line":"apt-get install -qy openjdk-7-jdk expect libmysqlclient-dev python-dev"},{"line_number":7,"context_line":"apt-get install -qy python-dev libxml2-dev ntp mc"},{"line_number":8,"context_line":"apt-get install -qy libxslt1-dev python-pexpect python-mysqldb"},{"line_number":9,"context_line":"apt-get install -qy python-migrate build-essential"},{"line_number":10,"context_line":"wget https://bitbucket.org/pypa/setuptools/raw/bootstrap/ez_setup.py"}],"source_content_type":"application/x-shellscript","patch_set":9,"id":"AAAATn%2F9TAk%3D","line":7,"updated":"2013-12-12 22:22:12.000000000","message":"why is python-dev here for a second time?","commit_id":"1ca6667cad52574ca245318409605e65df23b1a0"},{"author":{"_account_id":8214,"name":"Auston McReynolds","email":"amcreynolds@ebaysf.com","username":"amcreynolds"},"change_message_id":"3ab223437b110183f5e830c548d5d50aa9e62fe0","unresolved":false,"context_lines":[{"line_number":5,"context_line":"apt-get update"},{"line_number":6,"context_line":"apt-get install -qy openjdk-7-jdk expect libmysqlclient-dev python-dev"},{"line_number":7,"context_line":"apt-get install -qy python-dev libxml2-dev ntp mc"},{"line_number":8,"context_line":"apt-get install -qy libxslt1-dev python-pexpect python-mysqldb"},{"line_number":9,"context_line":"apt-get install -qy python-migrate build-essential"},{"line_number":10,"context_line":"wget https://bitbucket.org/pypa/setuptools/raw/bootstrap/ez_setup.py"},{"line_number":11,"context_line":"python ez_setup.py"}],"source_content_type":"application/x-shellscript","patch_set":9,"id":"AAAATn%2F9TCY%3D","line":8,"updated":"2013-12-12 22:22:12.000000000","message":"why is python-mysqldb needed?","commit_id":"1ca6667cad52574ca245318409605e65df23b1a0"},{"author":{"_account_id":8214,"name":"Auston McReynolds","email":"amcreynolds@ebaysf.com","username":"amcreynolds"},"change_message_id":"243de9f963da09366e9ae6d7476dba80d4c67b71","unresolved":false,"context_lines":[{"line_number":14,"context_line":"apt-get install -qy python-migrate build-essential"},{"line_number":15,"context_line":""},{"line_number":16,"context_line":"apt-get install cassandra -qy"},{"line_number":17,"context_line":"service cassandra stop"},{"line_number":18,"context_line":"rm -rf /var/lib/cassandra/data/system/*"},{"line_number":19,"context_line":"service cassandra start"}],"source_content_type":"application/x-shellscript","patch_set":19,"id":"AAAAUH%2F%2BFZM%3D","line":17,"updated":"2014-01-30 10:15:36.000000000","message":"since fake invoke-rc is in-play, can you explain what the purpose of the cassandra stop/start commands are?","commit_id":"df2fc6b6d2fc149ae08a00d57728f64f12022f2a"},{"author":{"_account_id":8214,"name":"Auston McReynolds","email":"amcreynolds@ebaysf.com","username":"amcreynolds"},"change_message_id":"89123921a99be3e60a12c0fd184c7dd59061b186","unresolved":false,"context_lines":[{"line_number":15,"context_line":""},{"line_number":16,"context_line":"apt-get install cassandra -qy"},{"line_number":17,"context_line":"rm -rf /var/lib/cassandra/data/system/*"},{"line_number":18,"context_line":"service cassandra start"}],"source_content_type":"application/x-shellscript","patch_set":20,"id":"AAAAUH%2F%2BCjw%3D","line":18,"updated":"2014-01-30 18:49:01.000000000","message":"i see you removed \"cassandra stop\" after my comment in the previous patch-set; but can you provide an explanation as to why start still is here?","commit_id":"48d475cb9db7906c5bcb6d122a31b1eb453c658e"},{"author":{"_account_id":8214,"name":"Auston McReynolds","email":"amcreynolds@ebaysf.com","username":"amcreynolds"},"change_message_id":"59fa09e1a237e1c733e19126eefb0fde1873d481","unresolved":false,"context_lines":[{"line_number":1,"context_line":"#!/bin/bash"},{"line_number":2,"context_line":""},{"line_number":3,"context_line":"set -ex"},{"line_number":4,"context_line":"set -o xtrace"}],"source_content_type":"application/x-shellscript","patch_set":24,"id":"AAAAUX%2F%2Fkv4%3D","line":1,"updated":"2014-02-12 08:58:44.000000000","message":"so it turns out the stop/start is required, and here\u0027s why:\n\nwithout it, the pkg_is_installed check uses \"apt-cache policy cassandra\", which returns \"Segmentation fault\". the logic disregards the aforementioned message, and attempts to re-install, causing a nasty issue in the guest (see https://gist.github.com/amcrn/2d63a87313349f740ace)\n\nafter adding back the start/stop, please leave a comment in here like \"service start/stop needed for is_pkg_installed (which uses apt-cache policy) to work in the guestagent\"\n\ninterestingly enough, v1.2 worked fine without the service start/stop, but v2.4 does not.","commit_id":"03462ba00dfcbdf3d4b55b0047d378de855aaf3b"},{"author":{"_account_id":8214,"name":"Auston McReynolds","email":"amcreynolds@ebaysf.com","username":"amcreynolds"},"change_message_id":"59fa09e1a237e1c733e19126eefb0fde1873d481","unresolved":false,"context_lines":[{"line_number":13,"context_line":"apt-get install -qy libxslt1-dev python-pexpect"},{"line_number":14,"context_line":"apt-get install -qy python-migrate build-essential"},{"line_number":15,"context_line":""},{"line_number":16,"context_line":"apt-get install cassandra -qy"},{"line_number":17,"context_line":"rm -rf /var/lib/cassandra/data/system/*"}],"source_content_type":"application/x-shellscript","patch_set":24,"id":"AAAAUX%2F%2Fkyo%3D","line":16,"updated":"2014-02-12 08:58:44.000000000","message":"need to add back \"service cassandra stop\" here.","commit_id":"03462ba00dfcbdf3d4b55b0047d378de855aaf3b"},{"author":{"_account_id":8214,"name":"Auston McReynolds","email":"amcreynolds@ebaysf.com","username":"amcreynolds"},"change_message_id":"59fa09e1a237e1c733e19126eefb0fde1873d481","unresolved":false,"context_lines":[{"line_number":14,"context_line":"apt-get install -qy python-migrate build-essential"},{"line_number":15,"context_line":""},{"line_number":16,"context_line":"apt-get install cassandra -qy"},{"line_number":17,"context_line":"rm -rf /var/lib/cassandra/data/system/*"}],"source_content_type":"application/x-shellscript","patch_set":24,"id":"AAAAUX%2F%2Fkyc%3D","line":17,"updated":"2014-02-12 08:58:44.000000000","message":"need to add back \"service cassandra start\" here.","commit_id":"03462ba00dfcbdf3d4b55b0047d378de855aaf3b"}],"scripts/redstack":[{"author":{"_account_id":8214,"name":"Auston McReynolds","email":"amcreynolds@ebaysf.com","username":"amcreynolds"},"change_message_id":"3ab223437b110183f5e830c548d5d50aa9e62fe0","unresolved":false,"context_lines":[{"line_number":375,"context_line":"    rd_manage datastore_update Test_Mysql mysql \"mysql_test_version\""},{"line_number":376,"context_line":""},{"line_number":377,"context_line":"    echo -e \"\\nSetting cassandra datastore and versions\\n\""},{"line_number":378,"context_line":"    rd_manage datastore_update Test_Cassandra cassandra \"\""},{"line_number":379,"context_line":"    rd_manage datastore_version_update Test_Cassandra \"cassandra\u003d1.2\" $IMAGEID \"cassandra\u003d1.2\" 1"},{"line_number":380,"context_line":"    rd_manage datastore_version_update Test_Cassandra \"cassandra\u003d1.1.9\" $IMAGEID \"\" 0"},{"line_number":381,"context_line":"    rd_manage datastore_update Test_Cassandra cassandra \"cassandra\u003d1.2\""}],"source_content_type":"application/octet-stream","patch_set":9,"id":"AAAATn%2F9TDI%3D","line":378,"updated":"2013-12-12 22:22:12.000000000","message":"See https://review.openstack.org/#/c/57780/4/scripts/redstack (pertaining to the use of \"test\")","commit_id":"1ca6667cad52574ca245318409605e65df23b1a0"},{"author":{"_account_id":8214,"name":"Auston McReynolds","email":"amcreynolds@ebaysf.com","username":"amcreynolds"},"change_message_id":"59fa09e1a237e1c733e19126eefb0fde1873d481","unresolved":false,"context_lines":[{"line_number":293,"context_line":"        VERSION\u003d\"-2.8\""},{"line_number":294,"context_line":"    elif [ \"$DATASTORE_TYPE\" \u003d\u003d \"cassandra\" ]; then"},{"line_number":295,"context_line":"        PACKAGES\u003d${PACKAGES:-\"cassandra\"}"},{"line_number":296,"context_line":"        VERSION\u003d\"-2.0.4\""},{"line_number":297,"context_line":"    else"},{"line_number":298,"context_line":"        echo \"Unrecognized datastore type. ($DATASTORE_TYPE)\""},{"line_number":299,"context_line":"        exit 1"}],"source_content_type":"application/octet-stream","patch_set":24,"id":"AAAAUX%2F%2Fkuo%3D","line":296,"updated":"2014-02-12 08:58:44.000000000","message":"current version in public repos is now 2.0.5","commit_id":"03462ba00dfcbdf3d4b55b0047d378de855aaf3b"}]}
