From 613e4a9a148998e4049d9d3c1a170b4b03d3873c Mon Sep 17 00:00:00 2001 From: Joshua McKenty Date: Mon, 9 Dec 2013 09:53:37 -0800 Subject: [PATCH 1/3] Adding a todo --- README.md | 14 ++++++++++++++ refstack/common/tempest_config.py | 2 +- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index cb46fb67..11411f97 100755 --- a/README.md +++ b/README.md @@ -5,3 +5,17 @@ Vendor-facing API for registration of interop-compliance endpoints and credentia Running at http://refstack.org See (living) documentation at https://etherpad.openstack.org/RefStackBlueprint + +TODO: +===== + +Metadata gathering: + - Number of nodes + - vCPUs + - Distro + - Deployment approach + - RAM + +Plugins: + - Cinder + - Neutron diff --git a/refstack/common/tempest_config.py b/refstack/common/tempest_config.py index 82eb30c1..dbc2f4fb 100755 --- a/refstack/common/tempest_config.py +++ b/refstack/common/tempest_config.py @@ -166,7 +166,7 @@ class TempestConfig(object): self.config['image'] = { 'catalog_type': 'image', 'api_version': 1, - 'http_image': 'ttp://download.cirros-cloud.net/0.3.1/cirros-0.3.1-x86_64-uec.tar.gz'} + 'http_image': 'http://download.cirros-cloud.net/0.3.1/cirros-0.3.1-x86_64-uec.tar.gz'} self.config['network'] = { 'catalog_type': 'network', From 9c1d90f8d7668a2db730f4de01de374ec021205a Mon Sep 17 00:00:00 2001 From: Joshua McKenty Date: Mon, 9 Dec 2013 18:18:04 +0000 Subject: [PATCH 2/3] Fixin syntax in == --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index cd32b05b..bcb27e0c 100755 --- a/requirements.txt +++ b/requirements.txt @@ -7,7 +7,7 @@ Flask-Principal==0.3.5 Flask-SQLAlchemy==1.0 Flask-Security==1.6.3 Flask-WTF==0.8.3 -Flask-Restless=0.12.0 +Flask-Restless==0.12.0 SQLAlchemy==0.8.3 WTForms==1.0.4 Werkzeug==0.8.3 From cd097578733aedea4dfa3fcbf69b80b4e262a9de Mon Sep 17 00:00:00 2001 From: Joshua McKenty Date: Fri, 21 Feb 2014 18:54:52 -0800 Subject: [PATCH 3/3] Cleaned up a basic tcup dockerfile --- scripts/tcup/Dockerfile | 53 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 scripts/tcup/Dockerfile diff --git a/scripts/tcup/Dockerfile b/scripts/tcup/Dockerfile new file mode 100644 index 00000000..c4549af0 --- /dev/null +++ b/scripts/tcup/Dockerfile @@ -0,0 +1,53 @@ + +FROM ubuntu +RUN apt-get update + +# Downloading git + +RUN apt-get install -y git python-setuptools + +RUN easy_install pip + +#Downloading dependencies +RUN apt-get install -y libxml2-dev libxslt-dev lib32z1-dev python2.7-dev libssl-dev + +#other dependencies +RUN apt-get install -y python-dev libxslt1-dev libsasl2-dev libsqlite3-dev libldap2-dev libffi-dev ftp +# RUN pip install ftplib +RUN pip install http://gd.tuwien.ac.at/pub/libxml/python/libxml2-python-2.6.9.tar.gz +# http://gd.tuwien.ac.at/pub/libxml/python/libxml2-python-2.4.16.tar.gz +# RUN pip install ftplib libxml2-python + +# Cloning keystone? + + +# Cloning tempest + +RUN git clone https://github.com/openstack/tempest + +#running setup +RUN cd tempest && python setup.py install + +#making file to add exterior files + +RUN mkdir temp + +#Tempest config creator +ADD https://raw.github.com/dlenwell/refstack/master/refstack/common/tempest_config.py /temp/ + +#MORE DEPENDENCIES (for tempest config builder) +ADD https://raw.github.com/openstack/keystone/master/requirements.txt /temp/ +ADD https://raw.github.com/openstack/keystone/master/test-requirements.txt /temp/ + +#using dependencies +RUN pip install -r /temp/requirements.txt +RUN pip install -r /temp/test-requirements.txt + +#Running tempest config creator + + +#Publishing to refstack +#ADD /temp/ + +#rest of file +