Synchronize some patches and fix the requirement.txt

1. What is the problem?
   A. After Removing networking related code from the Trio2o, there are
also some patches need to synchroniz.
   B. Kombu 4.0.1 was released and it's breaking everything 4.0.0 was
breaking.

2. What is the solution to the problem?
   A. Synchronize some patches and the IDs of these patches are:
             374559;
             373812;
             373616;
             378159;
             373891;
             375201;
   B. Fix the requirement.txt

3. What the features need to be implemented to the Tricircle to realize
the solution?
No new features.

Change-Id: Ie7e5ee6fc525455afdb0602f5ea7ba2b092f507b
This commit is contained in:
CR_hui 2016-12-08 15:55:18 +08:00
parent 3bf386087d
commit c5951ef907
6 changed files with 6 additions and 11 deletions

View File

@ -1,6 +0,0 @@
include AUTHORS
include ChangeLog
exclude .gitignore
exclude .gitreview
global-exclude *.pyc

View File

@ -238,7 +238,7 @@ if [[ "$Q_ENABLE_TRIO2O" == "True" ]]; then
echo_summary "Installing Trio2o" echo_summary "Installing Trio2o"
elif [[ "$1" == "stack" && "$2" == "post-config" ]]; then elif [[ "$1" == "stack" && "$2" == "post-config" ]]; then
echo_summary "Configuring Trio2o" echo_summary "Configuring Trio2o"
export NEUTRON_CREATE_INITIAL_NETWORKS=False
sudo install -d -o $STACK_USER -m 755 $TRIO2O_CONF_DIR sudo install -d -o $STACK_USER -m 755 $TRIO2O_CONF_DIR
enable_service t-api t-job t-ngw t-cgw enable_service t-api t-job t-ngw t-cgw

View File

@ -45,3 +45,4 @@ oslo.service>=1.10.0 # Apache-2.0
oslo.utils>=3.18.0 # Apache-2.0 oslo.utils>=3.18.0 # Apache-2.0
oslo.versionedobjects>=1.13.0 # Apache-2.0 oslo.versionedobjects>=1.13.0 # Apache-2.0
sqlalchemy-migrate>=0.9.6 # Apache-2.0 sqlalchemy-migrate>=0.9.6 # Apache-2.0
kombu>=3.0.25,!=4.0.0,!=4.0.1 # BSD

View File

@ -15,7 +15,6 @@ classifier =
Programming Language :: Python :: 2 Programming Language :: Python :: 2
Programming Language :: Python :: 2.7 Programming Language :: Python :: 2.7
Programming Language :: Python :: 3 Programming Language :: Python :: 3
Programming Language :: Python :: 3.3
Programming Language :: Python :: 3.4 Programming Language :: Python :: 3.4
[files] [files]

View File

@ -38,9 +38,8 @@ commands = python setup.py build_sphinx
commands = oslo_debug_helper {posargs} commands = oslo_debug_helper {posargs}
[flake8] [flake8]
# E123, E125 skipped as they are invalid PEP-8.
show-source = True show-source = True
ignore = E123,E125
builtins = _ builtins = _
exclude=.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build

View File

@ -174,6 +174,7 @@ class PodsController(rest.RestController):
az_ag.delete_ag(context, ag['id']) az_ag.delete_ag(context, ag['id'])
core.delete_resource(context, models.Pod, _id) core.delete_resource(context, models.Pod, _id)
pecan.response.status = 200 pecan.response.status = 200
return {}
except t_exc.ResourceNotFound: except t_exc.ResourceNotFound:
return Response(_('Pod not found'), 404) return Response(_('Pod not found'), 404)
except Exception as e: except Exception as e:
@ -316,6 +317,7 @@ class BindingsController(rest.RestController):
with context.session.begin(): with context.session.begin():
core.delete_resource(context, models.PodBinding, _id) core.delete_resource(context, models.PodBinding, _id)
pecan.response.status = 200 pecan.response.status = 200
return {}
except t_exc.ResourceNotFound: except t_exc.ResourceNotFound:
pecan.abort(404, _('Pod binding not found')) pecan.abort(404, _('Pod binding not found'))
return return