{ "info": { "author": "Rackspace", "author_email": "neutron@lists.rackspace.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Console", "Environment :: OpenStack", "Intended Audience :: Developers", "Intended Audience :: Information Technology", "License :: OSI Approved :: Apache Software License", "Operating System :: OS Independent", "Programming Language :: Python" ], "description": "=====\nquark\n=====\n\nCaution\n=======\nQuark is not currently designed to work with `DevStack `_ (but it can with the instructions below). We mention this because these instructions can become invalid if and when changes are pushed to DevStack. Please also not that once Quark+Neutron+DevStack+Tempest are wired up, the Tempest tests are failing. Please watch `this Quark Github Issue `_ for updates on this.\n\nDependencies\n===================\n`aiclib `_\n\nDatabase Migrations\n===================\n`Here `_\n\nInstall with DevStack and Neutron\n=================================\n\n- Ensure you have a user already with sudo rights. If you need one, do this as root::\n\n /usr/sbin/adduser stack\n echo \"stack ALL=(ALL) NOPASSWD: ALL\" >> /etc/sudoers\n\n- Switch to user with sudo rights::\n\n sudo su - stack # or whatever user you already have (instead of stack)\n\n- Clone devstack::\n\n git clone https://github.com/openstack-dev/devstack\n\n- Go into devstack folder::\n\n cd devstack\n\n- Create the local.conf configuration file that DevStack needs (localrc is inside it now) with Neutron as an anabled service (NOTE: This notation is explained `here `_)::\n\n [[local|localrc]]\n DATABASE_PASSWORD=password\n ADMIN_PASSWORD=password\n SERVICE_PASSWORD=password\n SERVICE_TOKEN=password\n RABBIT_PASSWORD=password\n # Enable Logging\n LOGFILE=/opt/stack/logs/stack.sh.log\n VERBOSE=True\n LOG_COLOR=True\n SCREEN_LOGDIR=/opt/stack/logs\n # Pre-requisite\n ENABLED_SERVICES=rabbit,mysql,key\n # Horizon (always use the trunk)\n ENABLED_SERVICES+=,horizon\n HORIZON_REPO=https://github.com/openstack/horizon\n HORIZON_BRANCH=master\n # Nova\n ENABLED_SERVICES+=,n-api,n-crt,n-obj,n-cpu,n-cond,n-sch\n IMAGE_URLS+=\",https://launchpad.net/cirros/trunk/0.3.0/+download/cirros-0.3.0-x86_64-disk.img\"\n # Glance\n ENABLED_SERVICES+=,g-api,g-reg\n # Neutron\n ENABLED_SERVICES+=,q-api,q-svc,q-agt,q-dhcp,q-l3,q-lbaas,q-meta,neutron\n # Cinder\n ENABLED_SERVICES+=,cinder,c-api,c-vol,c-sch\n # Tempest\n ENABLED_SERVICES+=,tempest\n\n- Remove Python's six packge::\n\n sudo rm -f /usr/lib/python2.7/dist-packages/six.py /usr/lib/python2.7/dist-packages/six.pyc\n # Old version of six package in /usr/lib/python2.7/dist-packages/ crashes\n # quark server \n\n- Install Devstack::\n\n ./stack.sh\n\n- Install aiclib::\n\n sudo pip install aiclib \n # the reason for sudo here is if you don't you'll get permission denied when it tries to install to /usr/local/lib/python2.7/dist/packages\n\n- Install quark::\n\n cd /opt/stack #the folder where devstack installed all the services\n git clone https://github.com/rackerlabs/quark\n cd quark\n sudo python setup.py develop\n # the reason for sudo here is if you don't you'll get permission denied when it tries to install to /usr/local/lib/python2.7/dist/packages\n\n- Validate quark installed::\n\n pip freeze | grep quark\n # should see something like:\n # -e git+http://github.com/rackerlabs/quark@ff5b05943b44a44712b9fc352065a414bb2a6bf9#egg=quark-master\n\n- Now edit the /etc/neutron/neutron.conf file to setup Quark as the core plugin::\n\n vim /etc/neutron/neutron.conf\n # Search for line containing 'core_plugin = ' and replace it with\n # 'core_plugin = quark.plugin.Plugin'\n #\n # Search for line containing 'service_plugins = ' and remove\n # 'neutron.services.l3_router.l3_router_plugin.L3RouterPlugin,' from\n # service plugins list\n\n- Stop Neutron by going into the screen session and going to the q-svc window and pressing ctrl-C::\n\n screen -r # or go into devstack clone and then type ./rejoin-stack.sh\n # press ctrl+6 to go to q-svc window\n ctrl+C\n\n- Go back into screen and restart neutron (q-svc window)::\n\n screen -r stack # or go into folder where you cloned devstack then type ./rejoin-stack.sh\n # if screen command returns 'Cannot open your terminal /dev/pts/0' execute 'sudo chmod o+rwx /dev/pts/0'\n # go to q-svc window (ctrl+a, 7 currently does it)\n # previous command that devstack used to start neutron should be in history, press up arrow key to see it\n\n- You shouldn't receive any errors. To validate Quark has started up, you can scroll up in q-svc screen window (ctrl+a, esc, page-up) and look for the following lines::\n\n DEBUG neutron.service [-] core_plugin = quark.plugin.Plugin\n ...\n DEBUG neutron.service [-] QUARK.default_ipam_strategy=ANY\n DEBUG neutron.service [-] QUARK.default_net_strategy={}\n DEBUG neutron.service [-] QUARK.default_network_type=BASE\n DEBUG neutron.service [-] QUARK.ipam_driver=quark.ipam.QuarkIpam\n DEBUG neutron.service [-] QUARK.ipam_reuse_after=7200\n DEBUG neutron.service [-] QUARK.net_driver=quark.drivers.base.BaseDriver\n DEBUG neutron.service [-] QUARK.strategy_driver=quark.network_strategy.JSONStrategy\n\nGOTCHAS\n=======\n- you won't be able to create ports until you've added at least one mac_address_range (use `this `_ script to do it, changing host IP and admin password)\n\n\n\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/openstack/quark", "keywords": "", "license": "Apache-2", "maintainer": "", "maintainer_email": "", "name": "quark", "package_url": "https://pypi.org/project/quark/", "platform": "", "project_url": "https://pypi.org/project/quark/", "project_urls": { "Homepage": "http://github.com/openstack/quark" }, "release_url": "https://pypi.org/project/quark/1.0.0/", "requires_dist": [ "SQLAlchemy (<1.1.0,>=1.0.10)", "aiclib", "alembic (>=0.8.4)", "click (>=6.6)", "docopt (==0.6.2)", "gunicorn (==19.3.0)", "mysql-python (==1.2.5)", "neutron", "neutron-lib (>=0.2.0)", "oslo.concurrency (>=3.8.0)", "oslo.config (>=3.10.0)", "oslo.db (>=4.1.0)", "oslo.middleware (>=3.0.0)", "pymysql (==0.6.6)", "twiceredis (>=2.0.0)", "xenapi (==1.2)", "Routes (!=2.3.0,!=2.0,>=1.12.3); (python_version!='2.7')", "Routes (!=2.3.0,!=2.1,!=2.0,>=1.12.3); (python_version=='2.7')" ], "requires_python": "", "summary": "Neutron Plugin utilized by Rackspace to achieve large scale in Openstack. Quark developed on the ideas of segmentation and it being the source of truth for all things related to Neutron.", "version": "1.0.0" }, "last_serial": 2229004, "releases": { "0.0.1.dev1420": [], "0.1.0": [ { "comment_text": "", "digests": { "md5": "47ca66756338e72da7b20fdf2c37b0d1", "sha256": "83004fbdc1a1d6c7bedd4733ef0a421f77cdc9cfa232bcc3f0498268f6b0a046" }, "downloads": -1, "filename": "quark-0.1.0-py2-none-any.whl", "has_sig": false, "md5_digest": "47ca66756338e72da7b20fdf2c37b0d1", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 348429, "upload_time": "2016-06-23T14:31:28", "url": "https://files.pythonhosted.org/packages/d4/d3/2ef9a06d061d9eb51b44bf51fe4735cef940fea9904552bb74a0b10a40ce/quark-0.1.0-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "09a471fa2cdda75307035448bea65a1a", "sha256": "a51080e33c8f82d294dfd30c3e17aeb720364020c5740880cdaa3a58aafe07c0" }, "downloads": -1, "filename": "quark-0.1.0.tar.gz", "has_sig": false, "md5_digest": "09a471fa2cdda75307035448bea65a1a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 264238, "upload_time": "2016-06-23T14:31:32", "url": "https://files.pythonhosted.org/packages/cc/66/4508d8f2c493995e154a95716476df2dd4c109d743ed538ee0c3c0056dcc/quark-0.1.0.tar.gz" } ], "1.0.0": [ { "comment_text": "", "digests": { "md5": "b686299ded62fdbc918f796488b85df4", "sha256": "c51a9401f9d4db414d67a012467e8004b58be76fae9854a79d4e93e0c549557c" }, "downloads": -1, "filename": "quark-1.0.0-py2-none-any.whl", "has_sig": false, "md5_digest": "b686299ded62fdbc918f796488b85df4", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 353652, "upload_time": "2016-07-18T19:42:36", "url": "https://files.pythonhosted.org/packages/80/01/cbe4a0f4a382620a7bc8cd8df0bdcae5784ddde1223b19ef03d55ef71805/quark-1.0.0-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e653ef4de02f22e41a5df333dd0bca00", "sha256": "d32b0a4d1bf8ea1a55076993bd257b37442533c3b0942c44c906b73c29a8fbc6" }, "downloads": -1, "filename": "quark-1.0.0.tar.gz", "has_sig": false, "md5_digest": "e653ef4de02f22e41a5df333dd0bca00", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 277232, "upload_time": "2016-07-18T19:42:43", "url": "https://files.pythonhosted.org/packages/a5/63/39286529bfad593e6b56a7551cc103bcfe08da4ffd120cf8f67cb2e4a684/quark-1.0.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "b686299ded62fdbc918f796488b85df4", "sha256": "c51a9401f9d4db414d67a012467e8004b58be76fae9854a79d4e93e0c549557c" }, "downloads": -1, "filename": "quark-1.0.0-py2-none-any.whl", "has_sig": false, "md5_digest": "b686299ded62fdbc918f796488b85df4", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 353652, "upload_time": "2016-07-18T19:42:36", "url": "https://files.pythonhosted.org/packages/80/01/cbe4a0f4a382620a7bc8cd8df0bdcae5784ddde1223b19ef03d55ef71805/quark-1.0.0-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e653ef4de02f22e41a5df333dd0bca00", "sha256": "d32b0a4d1bf8ea1a55076993bd257b37442533c3b0942c44c906b73c29a8fbc6" }, "downloads": -1, "filename": "quark-1.0.0.tar.gz", "has_sig": false, "md5_digest": "e653ef4de02f22e41a5df333dd0bca00", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 277232, "upload_time": "2016-07-18T19:42:43", "url": "https://files.pythonhosted.org/packages/a5/63/39286529bfad593e6b56a7551cc103bcfe08da4ffd120cf8f67cb2e4a684/quark-1.0.0.tar.gz" } ] }