955 Commits

Author SHA1 Message Date
Zuul
f382843bf2 Merge "Use devstack functions to manage swift/keystone services" 2024-01-08 07:11:34 +00:00
Zuul
cf717b73af Merge "Drop explicit install of uwsgi-plugin-python3" 2024-01-08 05:02:23 +00:00
Takashi Kajinami
07ca6fcf06 Use devstack functions to manage swift/keystone services
... instead of implementing our own logics. Also, the fstab entry is
already managed by the core devstack.

Change-Id: I6a8fbcfebf1e501f41ac82117688572533ae624d
2024-01-08 13:42:35 +09:00
Takashi Kajinami
a4a3948abc Drop explicit install of uwsgi-plugin-python3
Now the package is installed by devstack.

Change-Id: Iec67aeabfd9963f866f7f9dd813886386329e441
2024-01-08 11:11:02 +09:00
Zuul
c869d6bcfb Merge "Fix inconsistent indentations" 2024-01-07 07:17:23 +00:00
Zuul
b5f231912c Merge "Remove deploy targets" 2024-01-07 07:15:44 +00:00
Takashi Kajinami
8a8baf6ed9 Fix inconsistent indentations
Change-Id: Ia952247b6b770d4a07ac29683af95435b2607a3f
2024-01-07 15:12:17 +09:00
Takashi Kajinami
4d6eac6c5c Remove deploy targets
These targets are no longer valid since we introduced devstack plugin
to replace ansible playbooks.

Change-Id: I0de1adc0bcb34cba3d8d090a57fa6a5ce2a22f18
2024-01-07 15:05:03 +09:00
Ghanshyam Mann
15a1b77caf Update python classifier in setup.cfg
As per the current release tested runtime, we test
python version from 3.8 to 3.11 so updating the
same in python classifier in setup.cfg

Change-Id: Ic04b48030430439abe315f4b0c98add26e4ea55d
2024-01-04 01:09:02 -08:00
Zuul
a06c685f5c Merge "Stop using deprecated APIs" 2024-01-02 12:54:05 +00:00
Takashi Kajinami
8346ea14f6 Stop using deprecated APIs
This addresses the following lint warnings found during build.

* [deprecation] finalize() in Object has been deprecated
* [deprecation] newInstance() in Class has been deprecated
* [deprecation] Boolean(boolean) in Boolean has been deprecated

Change-Id: I6898217f359423050d7c6378c7ef2fc456ac599d
2024-01-02 21:09:00 +09:00
Takashi Kajinami
be6215545e Drop redundant type casts
... which were detected by the lint check during build.

```
[cast] redundant cast to SExecutionTask
```

Change-Id: I7c80009b1cdbcb686d0e2f6d315dcbbc96806455
2024-01-02 20:55:42 +09:00
Zuul
bebbeee290 Merge "Add mailmap entries for Takashi Kajinami" 2024-01-02 10:27:56 +00:00
Zuul
f7f661dc1a Merge "Enable lint check during build" 2024-01-02 09:52:03 +00:00
Takashi Kajinami
a67a505657 Add mailmap entries for Takashi Kajinami
Change-Id: I0b07394d4013498323988cdc54e1ba64f96e94e4
2024-01-02 18:38:03 +09:00
Zuul
29969b9136 Merge "Bump java dependencies" 2024-01-02 09:22:44 +00:00
Takashi Kajinami
c6d63b477f Enable lint check during build
... to get more details about the build lint warnings.

Change-Id: Icb3b2fb53b26065176a29f7ae400749bad6832ca
2024-01-02 18:02:05 +09:00
Takashi Kajinami
3d24130f5d Bump java dependencies
... to the latest version currently available.

Change-Id: I328d3f067257cf4598cc7a7cf97d7327218a2b89
2024-01-02 17:25:26 +09:00
Hervé Beraud
55a9739b71 Stop to use the __future__ module.
The __future__ module [1] was used in this context to ensure compatibility
between python 2 and python 3.

We previously dropped the support of python 2.7 [2] and now we only support
python 3 so we don't need to continue to use this module and the imports
listed below.

Imports commonly used and their related PEPs:
- `division` is related to PEP 238 [3]
- `print_function` is related to PEP 3105 [4]
- `unicode_literals` is related to PEP 3112 [5]
- `with_statement` is related to PEP 343 [6]
- `absolute_import` is related to PEP 328 [7]

[1] https://docs.python.org/3/library/__future__.html
[2] https://governance.openstack.org/tc/goals/selected/ussuri/drop-py27.html
[3] https://www.python.org/dev/peps/pep-0238
[4] https://www.python.org/dev/peps/pep-3105
[5] https://www.python.org/dev/peps/pep-3112
[6] https://www.python.org/dev/peps/pep-0343
[7] https://www.python.org/dev/peps/pep-0328

Change-Id: I120d80faf321e6d7bfd4569e0cf9fd08ce8b9bdb
2023-12-21 01:06:08 +00:00
Zuul
928de77bac Merge "Avoid using multiple return code" 2023-12-13 08:52:56 +00:00
Takashi Kajinami
a9ad3a967e Offload entry point and command from image
... to engine side. This allows operators to prepare multiple images
with less steps.

Change-Id: I279f4ad10c19e4121d4906469c989a935e504552
2023-12-13 15:32:09 +09:00
Takashi Kajinami
bd427518c4 Avoid using multiple return code
Some methods return a different code for each status but this is not
very pythonic.

Change-Id: Ia050c7d1c877d0f3855201280f899ac7c05c2201
2023-12-13 15:12:51 +09:00
Takashi Kajinami
ef064bb1ef Remove workaround for old docker package
This workaround is no longer needed in recent versions.

Change-Id: I99224a21f209a6f44526e47e5c4f8942336cc720
2023-12-11 11:11:02 +09:00
Zuul
9aa8ab2cda Merge "Fix python shebang" 2023-10-18 23:00:03 +00:00
Takashi Kajinami
b8f18c1a89 Remove unused cluster_config.json
Change-Id: Iff6657127f9efd381e47c8046741aa90a83a6dd9
2023-10-18 12:39:50 +09:00
Takashi Kajinami
c5585ee5fc Fix python shebang
The current shebang requires /usr/bin/python which is not available in
Ubuntu Jammy by default.

Change-Id: I66f870398bd431a37496168dbac8b2b03ee625ee
2023-10-18 12:37:12 +09:00
aac7ad9dbc Update master for stable/2023.2
Add file to the reno documentation build to show release notes for
stable/2023.2.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/2023.2.

Sem-Ver: feature
Change-Id: Ia7b657a9d8dff6fdfea6a9159419e7815f65a2e4
2023-09-14 16:02:19 +09:00
Takashi Kajinami
dd7deac2db Add release note for 12.0.0 release
Change-Id: Iffbbf1fda828f977b9e928d350f329daf7cf749e
12.0.0.0rc1 12.0.0
2023-09-12 20:56:43 +09:00
Takashi Kajinami
9570fe951f Add Python 3.10 to supported runtime
... because it has been part of the tested runtime since 2023.1.

Change-Id: Ie5077f25fc8a261ce80172aa024d8e2c47347f2c
2023-09-12 20:52:49 +09:00
Zuul
ced045a397 Merge "Remove some notes no longer valid" 2023-09-08 10:48:52 +00:00
Takashi Kajinami
be301eef8c Migrate data directory from /home to /var
In General, /var/lib is used to store any data for server application
while /home is used by actual users. To follow that standard, all data
files for Storlet are now stored in /var/lib/storlets instead of
/home/docker_device.

Change-Id: Idef1227c0469d216c2a4bf40413b8562ad4a6a9e
2023-09-08 10:07:07 +00:00
Takashi Kajinami
e664046ea4 Remove some notes no longer valid
setup.py is no longer maintained by the global sync. Also the note
in requirements.txt does not apply since pip 20.3. This also removes
workaround for old python which we no longer support.

[1] https://lists.openstack.org/pipermail/openstack-discuss/2023-June/034073.html

Change-Id: I1b79e398e6daa9d2dc7885c2faee60323547c446
2023-09-08 10:05:51 +00:00
Takashi Kajinami
5aedb72f49 Disable GLOBAL_VENV
The GLOBAL_VENV option was added to devstack recently[1] and is enabled
by default now, but this is not yet compatible with the installation
of our plugin.

This temporally disables the feature to fix the gate now.

[1] a40f9cb91fbedddec89f0ffd6c7dd4b3828a232e

Change-Id: I6ce36d621fe54f034b786f33f3061256de12e1d5
2023-09-08 18:58:57 +09:00
5eee876f50 Update master for stable/2023.1
Add file to the reno documentation build to show release notes for
stable/2023.1.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/2023.1.

Sem-Ver: feature
Change-Id: I530ca39202719f45f69ea574ac3bfe48cd5f931f
2023-03-07 14:49:14 +09:00
Takashi Kajinami
4debb6c494 bashate: Enable E003 rule
It seems there are not many lines using 2 spaces now, and the rule can
be easily enabled.

Change-Id: I54ede1fb83b8a150392f9b8c498ea5fa81ef38c0
2023-03-02 14:00:40 +00:00
Takashi Kajinami
34e8dbd49f Add release note for 11.0.0
Change-Id: I8367975371ad838ea9006e319cdfed8bacd20ad3
11.0.0.0rc1 11.0.0
2023-03-02 08:15:15 +00:00
Zuul
3779949a02 Merge "Remove os/jre version from default image name" 2023-03-02 06:43:51 +00:00
Zuul
0be3f5d900 Merge "Add Kota's mailmap entries" 2023-03-02 06:25:07 +00:00
Zuul
0ff6d355b4 Merge "Expose a few more timeout for sandbox container operation" 2023-02-17 04:53:06 +00:00
Takashi Kajinami
0af2ed6ce1 Remove os/jre version from default image name
... so that we don't have to update the default when we bump OS version
or JRE version supported.

Change-Id: Id06aa1886c27d3a71feddc7f8f83b1f45b1d0aa7
2023-02-17 13:05:21 +09:00
Takashi Kajinami
18214a43ad Do not override python3 minor version
Previously we ignored minor version use requested and override it to
the one available in the image. This change makes sure the requested
version is honored.

Change-Id: I93fd67dbce03244d0fc5aa40ac7a020c26d98532
2023-02-17 12:04:36 +09:00
Takashi Kajinami
39fc5939aa Switch functional tests to Ubuntu Jammy
Because Jammy will be the default test runtime for Antelope release.

This also removes minor version from default python version so that
we can use the default version in that OS version.

[1] https://governance.openstack.org/tc/reference/runtimes/2023.1.html

Change-Id: Ieba8053fd1f5f40c00783b6d11fd84ab759e03c0
2023-02-17 02:54:34 +00:00
Takashi Kajinami
660620261e Get rid of redundant version check
In gateway we validate only major version so it's redundant and useless
to compare major version with full version such as 3.x .

Change-Id: Ibafdb85d8121f8ff163fa42b9d9bfd0a0b540e09
2023-02-17 11:54:12 +09:00
Takashi Kajinami
fbdd39ec7e Expose a few more timeout for sandbox container operation
... so that users can tune timeouts and ping interval. This also
allows using float values for timeouts to accept more fine-grained
timeouts.

Change-Id: I7e8374087f91ff9b9054c11865c3758fd16817bc
2023-02-17 02:39:36 +00:00
Kota Tsuyuzaki
bbe33b3a4d Add Kota's mailmap entries
Change-Id: I57fb6dcb10fbc3502e175cc2b7cd6dff1e5623ac
2023-02-15 09:35:54 +09:00
Kota Tsuyuzaki
02e4f40ec9 Replace nose to nose2
because nose is in deprecation[1] so we need to
use nose2, or pytests instead. This commit
suggests to use nose2 and fix some import errors
on slow attribute according to the docs [2]

1: https://nose.readthedocs.io/en/latest/#note-to-users
2: https://docs.nose2.io/en/latest/plugins/attrib.html
Change-Id: Idc0c8c146a9ac7fa7ffd90793211422571852d82
2023-02-14 08:16:58 +00:00
Takashi Kajinami
e9187da3ea Adapt to tox 4
tox 4 introduced some changes which broke compatibility. This updates
tox.ini to adopt the change.

This also replaces usage of upstream docker package by one provided by
distro, assuming that is more stable.

Change-Id: I511c5b657386877c6ae3eed57a2e345c6a9e2d70
2023-02-14 08:16:34 +00:00
9256bd59bf Switch to 2023.1 Python3 unit tests and generic template name
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for antelope. Also,
updating the template name to generic one.

See also the PTI in governance [1].

[1]: https://governance.openstack.org/tc/reference/project-testing-interface.html

Change-Id: I843494b1f7dfeffc038039b6784182dab503915a
2022-09-20 00:35:15 +00:00
612b9e592d Update master for stable/zed
Add file to the reno documentation build to show release notes for
stable/zed.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/zed.

Sem-Ver: feature
Change-Id: I48cbe613e5a1704ef867541cfcaff3c4d940cc2b
2022-09-18 23:01:02 +09:00
Takashi Kajinami
9bf2c3b3b9 Add release note for 10.0.0
Change-Id: I622db73fddc206ae49e9cf2265e71084e544afa8
10.0.0.0rc1 10.0.0
2022-09-15 03:10:48 +00:00