We expect that storlets docker containers run in background,
so We don't need -i and -t to start them.
This patch removes these unnecessory options, and also fixes
some outdated comments in restart_docker_container script.
Change-Id: I1f3d207a75767811e8c22a114b7f4c6edfccb1dd
This patch adds some more debug logs into agent processes, so that
we can observe their behavior more in detail.
Also, this patch removes some detailed informations like pids from
responses returned to gateway/runtime, because gateway/runtime doesn't
require the details of agent behavior.
Change-Id: I2fd9998966120c46414e607b94ce03bee884e11f
Recently, the OpenDev images did not install tox anymore, add
ensure-tox role to functional job pre-run playbook so that tox is
installed.
Change-Id: I56057f2120dafa31e24688f66cc8016f1a19681e
* Remove obsolete translation entries from setup.cfg
* Remove obsolete files babel.cfg and openstack-common.conf
* Remove install_command from tox.ini, the default is fine.
* Replace obsolete UPPER_CONSTRAINTS_FILE with current
TOX_CONSTRAINTS_FILE.
Change-Id: Ib837a4dc71b8d758a81d453c26d251a16aa72394
Switch to openstackdocstheme 2.2.1 and reno 3.1.0 versions. Using
these versions will allow especially:
* Linking from HTML to PDF document
* Allow parallel building of documents
* Fix some rendering problems
Update Sphinx version as well.
Disable openstackdocs_auto_version to not auto-version the documents.
Disable openstackdocs_auto_name to use 'project' variable as name.
Change pygments_style to 'native' since old theme version always used
'native' and the theme now respects the setting and using 'sphinx' can
lead to some strange rendering.
Remove docs requirements from lower-constraints, they are not needed
during install or test but only for docs building.
openstackdocstheme renames some variables, so follow the renames
before the next release removes them. A couple of variables are also
not needed anymore, remove them.
Use doc/requirements for doc requirements following PTI.
See also
http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014971.html
Change-Id: I1c0aeb590b1ce0f5ee43f9bcea51eeef1c98f057
Currently py2 functional tests job is broken because of incorrect
constraints used in devstack.
This patch is a temporal workaround to unblock our gate, while we are
working to fix in devstack.
Change-Id: I76d054fd976e022109acd44ca0cf3740fb73f945
flake8 new release 3.8.0 added new checks and gate pep8
job start failing. hacking 3.0.1 fix the pinning of flake8 to
avoid bringing in a new version with new checks.
Though it is fixed in latest hacking but 2.0 and 3.0 has cap for
flake8 as <4.0.0 which mean flake8 new version 3.9.0 can also
break the pep8 job if new check are added.
To avoid similar gate break in future, we need to bump the hacking min
version.
- http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014828.html
Change-Id: If8001b28d913a6076d85a4fca278f8d42e13d781
Now that we are running the Victoria tests that include a
voting py38, we can now add the Python 3.8 metadata to the
package information to reflect that support.
Change-Id: I37357354e70df2b030b97a6870077e2644c3f2ee
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
The global upper constraints repo will no longer track py2 packages,
meaning upper constraints for the py2.7 runtime will need to be handled
locally.
This adds an in-repo file for upper constraints enforcement using the
last py27 constraints from openstack/requirements to validate
functionality.
See Swift change I624f914c6155178cbe474f1eae2871e2aef721eb for
equivalent update done there.
Change-Id: Ic97ec7d3c78414cce227d75d7fcba4fd7a39c3e4
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
Currently functional tests are failing because of the following error
during installation kicked by tox.
error: [Errno 13] Permission denied: 'storlets.egg-info'
This patch makes sure that egg-info directory is removed after engine
installation, so that tox won't fail with the permission error.
Change-Id: I3842a758748450da98f9b4e320eb4a6f27c98bca
Add file to the reno documentation build to show release notes for
stable/ussuri.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/ussuri.
Change-Id: I249ca2fb187e44a2967aec85d167e3eb3981dddb
Sem-Ver: feature
... because python-swiftclient=3.9.0 causes connection leak in
Pyton2.7, which causes failure in functional tests.
Currently adding constraint in test-requirments.txt is not working
as expected because of global-requirements.txt, so reinstall
pyhton-swiftclient during devstack installation.
Change-Id: If863bc966a1a5d25db40b812daafcf6a95f5dda5
This partially reverts commit 60c1454e953f5dda8c0101562051adfecab1c91d.
It only reverts the py27 changes, not the docs change since that is
not relevant for py27.
Because swift still has some remaining known issue with Py3,
we still need to keep py2 compatibility during Ussuri cycle.
Change-Id: I3d6e1363a7f001618b594ded8bdaefc3164544f6
This patch is the final refactoring work to have client library
for sbus communication, and port current implementaion about
execute command from runtime to SBusClient.
This patch makes execute command rely on the same communication
as the other commands, which happens on SERVICE_OUT_FD, and remove
TASK_ID_OUT_FD which is used only for returning task id.
This allows us to avoid special handling for execute command.
Change-Id: I00dc7b3004512624f9aaf120420f910e451cac89
Make a few cleanups:
- Remove python 2.7 stanza from setup.py
- Add requires on python >= 3.6 to setup.cfg so that pypi and pip
know about the requirement
- Remove obsolete sections from setup.cfg
- Update classifiers
- Switch to using sphinx-build, fix doc problems
Change-Id: I2db738820744e1931949e4618299cdb2e7832d2a
The repo is Python 3 now, so update hacking to version 3.0 which
supports Python 3.
Fix problems found.
Change-Id: I2695f5a2371babfbf2a16565ff2ce5205a45fd2c
... because we need python-swiftclient packages listead in
test-requirements.txt to complete deployment.
Change-Id: Ia575839a291b26d4e02d8d5e661f468c4a657f78
We recently observe that functional tests often fail because of
timeout in gate.
This patch raises timeout from 30 min to 40 min to avoild
timeouts and unnecessory rechecks.
Change-Id: Id148885190bfca694e1fa00439c8a20eff3e4da4
Use Python 3 to run storlet application when runtime version is not
specified.
Also fix py3 compatibility for some python storlet applications used
for functional tests.
Change-Id: Ic33bb339339e9ff446fd308663c692db834f2a81
This patch refactors package installations in storlets devstack
plugin, so that we can run storlets agents with the same python
version as the one we have in host to run storlets middleware.
This patch also bumps up openjdk version from 8 to 11, and python3
version from 3.5 to 3.6, so that we use the latest versin provided
in distro.
Change-Id: I6cb87976ff4fa6caaa58cf555685f24d95f214a8
Use more generic path to place storlets python codes, so that
we can use the same path for python2 and python3.
Change-Id: Ia4ee0790ea58a42173f58bed2f59249c0b7edfd9