Commit Graph

150 Commits

Author SHA1 Message Date
OpenDev Sysadmins 2a50db66fe OpenDev Migration Patch
This commit was bulk generated and pushed by the OpenDev sysadmins
as a part of the Git hosting and code review systems migration
detailed in these mailing list posts:

http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html

Attempts have been made to correct repository namespaces and
hostnames based on simple pattern matching, but it's possible some
were updated incorrectly or missed entirely. Please reach out to us
via the contact information listed at https://opendev.org/ with any
questions you may have.
2019-04-19 19:34:21 +00:00
Andreas Jaeger 0f5bfeb879 Retire fuxi
This repo is not used anymore, retire it following
https://docs.openstack.org/infra/manual/drivers.html#retiring-a-project

Depends-On: https://review.openstack.org/602574
Change-Id: I4f7c5a189d894270c7cdd76d62b060169031a35a
2018-09-22 15:54:55 +02:00
Andreas Jaeger 8e720cfed8 Remove setting of version/release from releasenotes
Release notes are version independent, so remove version/release
values. We've found that projects now require the service package
to be installed in order to build release notes, and this is entirely
due to the current convention of pulling in the version information.

Release notes should not need installation in order to build, so this
unnecessary version setting needs to be removed.

Also, use openstackdocstheme for releasenotes.

This is needed for new release notes publishing, see
I56909152975f731a9d2c21b2825b972195e48ee8 and the discussion starting
at
http://lists.openstack.org/pipermail/openstack-dev/2017-November/124480.html
.

Change-Id: I7e2cbab2f53af249822ec510b5c71e910e881da2
2017-11-17 10:45:54 +01:00
Jenkins fbdd11c6e4 Merge "Set debug mode according to ENABLE_DEBUG_LOG_LEVEL" 2017-09-27 01:30:22 +00:00
OpenStack Proposal Bot 15cce0b3b9 Updated from global requirements
Change-Id: I387a01de8fe7bae2b605f20c4c1be797da515cee
2017-09-26 15:45:43 +00:00
Hongbin Lu 67d5eb5419 Set debug mode according to ENABLE_DEBUG_LOG_LEVEL
Change-Id: I14ed5e0a948bd5dd9c86437bdb30b3f3ead2bfc2
2017-09-21 16:42:43 -04:00
Hongbin Lu b093cf7106 Don't access etcd via localhost
If the etcd cluster is installed via devstack, it will refuse
connection from localhost. Need to use the IP address instead.

Change-Id: I2f46cde21d087b4154594f2b784a4a8c6948932e
2017-09-05 10:29:21 -04:00
Jenkins 88a642e3ff Merge "Adds 'all_tenants' search option in volumeprovider/cinder.py" 2017-08-30 06:30:39 +00:00
Kiseok Kim e7740fb3a7 Adds 'all_tenants' search option in volumeprovider/cinder.py
When user create a docker volume with a pre-created cinder volume,
user can't see the docker volume if the pre-created cinder volume's
tenant is diffent to the tenant Fuxi use.
This patch adds 'all_tenants' option configurable.
With this, user can search cinder volumes over all tenant.

Change-Id: I0519f54c07e7ac84f53b580a34b3b4064183d8a6
Closes-Bug: #1656960
2017-08-30 00:58:10 +00:00
Arundhati Surpur cd079157d1 Update .gitignore
Because egg* already ignores egg-info.

Change-Id: Ied34afd49ec6312519d63a9a97063fe70cb41691
2017-08-22 15:34:04 +05:30
OpenStack Release Bot e6fa465eae Update reno for stable/pike
Change-Id: I9f7a7a9e859668c3661d8b4ff515ea3ed2b33d00
2017-08-14 16:54:13 +00:00
Jenkins f0e4a3f82c Merge "Replace e.message with str(e)" 2017-08-14 14:50:17 +00:00
Jenkins 5531b53b8b Merge "Reuse neutron-lib for pep8 hacking checks" 2017-08-14 14:50:11 +00:00
Jenkins 53d7c9ff8b Merge "Updated from global requirements" 2017-08-12 00:05:08 +00:00
Jenkins 75600a63ad Merge "Deploy fuxi-server via uwsgi" 2017-08-11 21:09:39 +00:00
OpenStack Proposal Bot 5067ab3442 Updated from global requirements
Change-Id: Iaf72a7bad0a6b8ae17a621c06aca437a426a71fc
2017-08-07 00:42:58 +00:00
Hongbin Lu 441b779289 Get py35 fullstack tests to work
Disable Swift since Swift is not ready for python3 yet

Implements: blueprint goal-python35
Change-Id: Ie99e1d0200584ae0e94b9ae90739d11edc302696
2017-08-04 03:07:21 +00:00
Hongbin Lu 8d759150e3 Deploy fuxi-server via uwsgi
Implements: blueprint goal-deploy-api-in-wsgi
Change-Id: Ie601c8a02c0ce7e87254cf6546ff40ae673abae9
2017-08-02 23:00:27 +00:00
Hangdong Zhang b840cd652c Update the documentation link for doc migration
Change-Id: I82cdee6711fa98ef7632bea4763d5db21cb6dcc2
2017-07-24 15:24:04 +08:00
howardlee 9734e4dac5 Replace e.message with str(e)
The 'message' attribute has been deprecated. A prefered way is to
call str(e), and this patch will replace e.message with str(e).
For more information, please see:
https://www.python.org/dev/peps/pep-0352/

Change-Id: I96cbd859b172291564188a0a9fbc5372d2bf4bae
2017-07-20 16:48:19 +08:00
Ngo Quoc Cuong 17a3b25921 Reuse neutron-lib for pep8 hacking checks
neutron library has a good hacking rules set, we can use these rules
instead of reinvent the wheel. These such rules are:

- [N521] Validate that jsonutils module is used instead of json
- [N532] Validate that LOG.warning is used instead of LOG.warn. The
         latter is deprecated.
- [N537] Don't translate logs.
- [N534] Exception messages should be translated

It also enables H904, which allows the logging package to skip
creating the formatted log message if the message is not going
to be emitted because of the current log level.

Change-Id: I3b3649bbe8a7a3ae69d3ea1553923567b5a350d7
Closes-Bug: #1704691
2017-07-17 03:49:30 -04:00
Jenkins 12144fbe78 Merge "Enable some off-by-default checks" 2017-07-17 07:08:33 +00:00
Jenkins c7108a8405 Merge "Move the imports to the top of the file" 2017-07-17 07:08:28 +00:00
Jenkins 689c744a1c Merge "Use https instead of http in docs links" 2017-07-17 07:08:23 +00:00
Ngo Quoc Cuong f4fbbc1770 Fix N529 Method's default argument should not be mutable
See:
[1] http://python-guide-pt-br.readthedocs.io/en/latest/writing/gotchas/#mutable-default-arguments

Partial-Bug: #1704691

Change-Id: Ibd202f1970a6138299648040f635278ba9d9d71b
2017-07-17 02:20:51 +00:00
Hongbin Lu 9c5e45fa56 Upgrade from docker-py to docker
The pypi package 'docker-py' [1] has been renamed to 'docker' [2].
We need to move to the new 'docker' package in order to leverage
the up-to-date features.

[1] https://pypi.python.org/pypi/docker-py
[2] https://pypi.python.org/pypi/docker

Change-Id: I72951c2d3a19b0bcfc185d0cd7b9e30ba5d40b25
2017-07-03 01:59:22 +00:00
OpenStack Proposal Bot a477536c02 Updated from global requirements
Change-Id: Ib5057687a32b7c71f3be5fde1950c8d153409e7d
2017-06-30 12:14:18 +00:00
luke.li 60bc97329d Enable some off-by-default checks
Some of the available checks are disabled by default, like:
[H106] Don’t put vim configuration in source files
[H203] Use assertIs(Not)None to check for None

This patch is to enable the H106 and H203 checks in fuxi project.

Change-Id: I354c9d654d96838ac43d1ca4c73c70650adc5d5c
2017-06-22 13:55:17 +08:00
liuxiaoyang 27b7a347ed Move the imports to the top of the file
Imports are always put at the top of the file,
just after any module comments and docstrings,
and before module globals and constants.

Change-Id: I2ebb8dc93cb7a18585a700764ebfd23510b12568
2017-06-20 05:49:55 +00:00
XieYingYun 2649ec3813 Use https instead of http in docs links
Use https instead of http to ensure the safety without containing our
account/password information

Change-Id: I2a178c5e2341aff80e626f86506c381aa6a5455e
2017-06-17 10:22:02 +08:00
Jenkins 32e803393d Merge "Use devstack-provided etcd port" 2017-06-12 14:14:12 +00:00
Jenkins 16f6fbe83c Merge "Remove support for py34" 2017-06-12 09:19:17 +00:00
Hongbin Lu 24c111cf4d Use devstack-provided etcd port
Devstack provides a variable for etcd port for now [1]. It is better
to use this variable instead of hard-coding the port.

[1] https://review.openstack.org/#/c/467714/

Change-Id: Ib00a4911f287b5791da2eb3da6d8aded5b6a06c1
2017-06-05 20:51:13 -04:00
Vu Cong Tuan bfc7559dbc Remove support for py34
The gating on python 3.4 is restricted to <= Mitaka. This is due to
the change from Ubuntu Trusty to Xenial, where only python3.5 is
available. There is no need to continue to keep these settings.

Change-Id: Iffa0ce0dc2ba6bc9661d56eb1177831472d24eaa
2017-06-05 11:32:31 +07:00
Hongbin Lu adcb9137dd Remove the usage of tox command in devstack
The command 'tox' won't be always available in devstack environment.
Switch to the generate config sample script instead.

Change-Id: I6dc762ba4a210de8673661b0a17dc0238cabaad5
2017-06-03 17:20:22 +00:00
Hongbin Lu 9250eceb7d Move to devstack-plugin-container
Change-Id: I39f7dec7e0b2ba93d0a0e9666c98cf9eb09bcfe1
2017-06-03 11:31:09 -04:00
Hongbin Lu 4f06d6da92 Switch to devstack for installing etcd
ETCD is now a base service [1], which means it will be installed by
default in devstack. We don't need to re-install it in our devstack
plugin.

[1] https://review.openstack.org/#/c/445432/

Change-Id: I7d51c09978a1e6142efe03a32d25e6ead5479257
2017-06-03 11:25:47 -04:00
Hongbin Lu 2cba409c63 Use absoluted path for command
It looks the command inside "run_process" needs to have an absoluted
path due to the switching from screen to systemd.

Change-Id: I7ba6660408249cd82e3b82743ec96f1bbc4765eb
2017-05-15 19:07:45 -04:00
Jenkins 3dbcbf0a76 Merge "Avoid running more than one etcd process" 2017-04-27 08:12:26 +00:00
Jenkins aebd31d7eb Merge "Make volume providers configurable in devstack" 2017-04-24 19:57:36 +00:00
Hongbin Lu 989dd9e495 Make volume providers configurable in devstack
Change-Id: I29d358ce96e64bb98a7a656975c3b7b1aa523202
2017-04-24 11:00:08 -04:00
Hongbin Lu bed8d3b38c Avoid running more than one etcd process
If both Fuxi and Kuryr-libnetwork are enabled in devstack, the script
will fail since etcd-server was spawned twice. This commit added a
check for existing etcd process and spawn one if not existed.

Closes-Bug: #1683852
Change-Id: I4d6806e300d23fa69757cc328f3a0d142ff7b425
2017-04-18 12:40:51 -04:00
lihaijing c09006bc42 Remove log translations
Log messages are no longer being translated. This removes all use of
the _LE, _LI, and _LW translation markers to simplify logging and to
avoid confusion with new contributions.

See:
http://lists.openstack.org/pipermail/openstack-i18n/2016-November/002574.html
http://lists.openstack.org/pipermail/openstack-dev/2017-March/113365.html
https://review.openstack.org/#/c/446762/

Change-Id: I8eb62d63dab12693534c802623a9a4c406fef46e
2017-04-06 10:21:52 +08:00
Jenkins 976b301db8 Merge "Add fullstack test for manila provider" 2017-04-04 09:21:15 +00:00
Jenkins d8c646ab2a Merge "Use HostAddressOpt for opts that accept IP and hostnames" 2017-04-04 09:00:57 +00:00
Hongbin Lu 45390d6ebd Add fullstack test for manila provider
Change-Id: I0723e4e000c66b4f2f719f50d11e0e198b870a57
2017-03-30 21:10:46 +00:00
OpenStack Proposal Bot 3ca70363bf Updated from global requirements
Change-Id: I6b8040c1f658d72417efcff9d546e936fcd67216
2017-03-28 21:27:49 +00:00
jeremy.zhang c98c7e6986 Use HostAddressOpt for opts that accept IP and hostnames
Some configuration options were accepting both IP addresses
and hostnames. Since there was no specific OSLO opt type to
support this, we were using ``StrOpt``. The change [1] that
added support for ``HostAddressOpt`` type was merged in Ocata
and became available for use with oslo version 3.22.

This patch changes the opt type of configuration options to use
this more relevant opt type - HostAddressOpt.

[1] I77bdb64b7e6e56ce761d76696bc4448a9bd325eb

Change-Id: I66fb2097a4b6908fc6ee9f41ff141d3067a18a31
2017-03-28 11:36:50 +08:00
Jenkins 5e125bdb14 Merge "Remove support for py33" 2017-03-21 01:53:36 +00:00
Jenkins 32fd9f5260 Merge "remove-py34" 2017-03-20 15:29:39 +00:00