{ "info": { "author": "Peter Pentchev", "author_email": "openstack-dev@storpool.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: DFSG approved", "License :: Freely Distributable", "License :: OSI Approved :: Apache Software License", "Operating System :: POSIX", "Operating System :: Unix", "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3 :: Only", "Topic :: Software Development :: Libraries", "Topic :: Software Development :: Libraries :: Python Modules", "Topic :: Utilities" ], "description": "storpool-charms-manage - deploy the StorPool OpenStack integration Juju charms\n==============================================================================\n\nOverview\n--------\n\nThe `storpool-charms-manage` package and the `spcharms_manage` tool are\nused to deploy the Juju charms needed for the StorPool integration with\nthe OpenStack charms bundle.\n\n\nDeploying pre-built charms\n--------------------------\n\nThe fastest way to get the StorPool charms up and running is to use one of\nthe pre-packaged versions uploaded [as releases to the GitHub repository.][releases]\nOnce the release archive has been downloaded and extracted, change into\nthe newly-created `storpool-charms--` directory and run:\n\n spcharms_manage deploy\n\nMake sure that you do this from a shell that has been properly set up for\naccess to the Juju cluster; the easiest way to test this is to run\nthe `juju status` command beforehand and check that it displays the correct\nmachines, applications, and units. If the StorPool charms have previously been\ninstalled on the Juju cluster, then `./storpool-charms.py undeploy` will need to\nbe executed first.\n\nAfter the charms have been deployed to the Juju cluster, they will still need\nto be configured; please [contact StorPool][support] for information about\nthe charms configuration.\n\n\nBuilding the charms\n-------------------\n\nTo get the latest version of the StorPool charms, follow this procedure.\n\n1. Check out the current version of the charms:\n\n `spcharms_manage.py checkout`\n\n2. Build the charms (make sure the `charm-tools` Ubuntu package is installed):\n\n `spcharms_manage.py build`\n\n3. Deploy the newly-built charms:\n\n `spcharms_manage.py deploy`\n\n4. At a later point, fetch the latest StorPool updates from the GitHub repositories:\n\n `spcharms_manage.py pull && spcharms_manage.py build`\n\n\nUsing the storpool.charms.manage modules\n----------------------------------------\n\nThe modules in the storpool.charms.manage namespace may be used by Python\nprograms not only to build and deploy the StorPool charms, but also to\nconfigure them, even if they have been deployed in a different way, taking\ninto account the current deployment of the OpenStack charms in a Juju\ncluster. The `storpool.charms.manage.juju` module's\n`get_storpool_config_data()` and `get_charm_config_data()` functions will\nprovide dictionaries with values that may later be incorporated into\ntext or YAML configuration snippets:\n\n from storpool.charms.manage import config as sconfig\n from storpool.charms.manage import juju as sjuju\n\n cfg = sconfig.Config(space='storpool', repo_auth='username:password')\n status = sjuju.get_status(cfg)\n\n spcfg = sjuju.get_storpool_config_data(cfg, status)\n for hostname, data in spcfg.items():\n print('Host {name}: StorPool ID {oid}'\n .format(name=hostname, oid=data['SP_OURID']))\n\n charmcfg = sjuju.get_charm_config_data(cfg, status, spcfg, [])\n\nThe storpool.charms.manage modules are fully typed.\n\nContact us\n----------\n\nPlease feel free to [contact StorPool][support] for any additional information or\nfor assistance with any problems.\n\nCopyright and License\n---------------------\n\n Copyright (c) 2018 StorPool\n All rights reserved.\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n\n\n[releases]: https://github.com/storpool/storpool-charms/releases\n[support]: mailto:support@storpool.com\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/storpool/storpool-charms/", "keywords": "", "license": "BSD-2", "maintainer": "", "maintainer_email": "", "name": "storpool-charms-manage", "package_url": "https://pypi.org/project/storpool-charms-manage/", "platform": "", "project_url": "https://pypi.org/project/storpool-charms-manage/", "project_urls": { "Homepage": "https://github.com/storpool/storpool-charms/" }, "release_url": "https://pypi.org/project/storpool-charms-manage/0.1.0/", "requires_dist": [ "PyYAML", "mypy-extensions" ], "requires_python": "", "summary": "Build, deploy, and configure the StorPool Juju charms", "version": "0.1.0" }, "last_serial": 4393131, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "37f0c4ed81c7b32d94f5c2d4cd05d59f", "sha256": "6512a52c4e24e28210a08ab6dfed74735678cff466be1ba7544ccbe1262aac33" }, "downloads": -1, "filename": "storpool_charms_manage-0.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "37f0c4ed81c7b32d94f5c2d4cd05d59f", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 25614, "upload_time": "2018-10-19T07:10:30", "url": "https://files.pythonhosted.org/packages/3c/73/6d7984f22115383c61dbe3c32cd9934236ee6d3e3fe6530edb2c15999e1b/storpool_charms_manage-0.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e19e54fee0f859a7496c556315fe285c", "sha256": "a7cf31fba7b536236b6d6142bc2da98952d906b66181ebc06e7c62c8cb6d633e" }, "downloads": -1, "filename": "storpool_charms_manage-0.1.0.tar.gz", "has_sig": false, "md5_digest": "e19e54fee0f859a7496c556315fe285c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16485, "upload_time": "2018-10-19T07:10:32", "url": "https://files.pythonhosted.org/packages/51/90/c67ab6edb1c24264d3f3c1e9b6f13520fc0bd5a59784db3ef471d724cf88/storpool_charms_manage-0.1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "37f0c4ed81c7b32d94f5c2d4cd05d59f", "sha256": "6512a52c4e24e28210a08ab6dfed74735678cff466be1ba7544ccbe1262aac33" }, "downloads": -1, "filename": "storpool_charms_manage-0.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "37f0c4ed81c7b32d94f5c2d4cd05d59f", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 25614, "upload_time": "2018-10-19T07:10:30", "url": "https://files.pythonhosted.org/packages/3c/73/6d7984f22115383c61dbe3c32cd9934236ee6d3e3fe6530edb2c15999e1b/storpool_charms_manage-0.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e19e54fee0f859a7496c556315fe285c", "sha256": "a7cf31fba7b536236b6d6142bc2da98952d906b66181ebc06e7c62c8cb6d633e" }, "downloads": -1, "filename": "storpool_charms_manage-0.1.0.tar.gz", "has_sig": false, "md5_digest": "e19e54fee0f859a7496c556315fe285c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16485, "upload_time": "2018-10-19T07:10:32", "url": "https://files.pythonhosted.org/packages/51/90/c67ab6edb1c24264d3f3c1e9b6f13520fc0bd5a59784db3ef471d724cf88/storpool_charms_manage-0.1.0.tar.gz" } ] }