Commit Graph

13 Commits

Author SHA1 Message Date
Andreas Jaeger 80bd123e50 Update hacking for Python3
The repo is Python 3 now, so update hacking to version 3.0 which
supports Python 3.

Fix problems found.

Update local hacking checks for new flake8.

Remove hacking and friends from lower-constraints, it's not needed
there.

Change-Id: I48fcd2521d99d0b77b976e87cc638fe5ac051315
2020-03-31 17:02:37 +02:00
tikitavi 22af51cc1c remove unused configuration options
api_rate_limit, bindir, pybasedir, service_down_time, tempdir
 was removed

Change-Id: I72389d3ea4bb0685a0862bfe765ab20b78637648
2017-10-20 13:48:00 +03:00
Ngo Quoc Cuong 90ed02d682 Delete log translation functions and add hacking rule
The i18n team has decided not to translate the logs because it seems
like it not very useful; operators prefer to have them in English so
that they can search for those strings on the internet.

Since we have removed log translations completely, we should add hacking
rule to prevent future mistakes.

Change-Id: Ia7524308ef2675f8d41ac80b37dfc7e3787efd90
2017-07-03 04:14:44 -04:00
Andrey Pavlov da6f97f291 rework certs stuff
remove ca_certs using for incoming requests
do small refactoring for keystone client using

Change-Id: I83dbb71248835cfc361eca691647deaa99023c8a
2015-11-12 11:19:06 +03:00
Andrey Pavlov 108a8387c6 fix working with incorrect certificate
use 'insecure' flag from config

Change-Id: I880dffc58ab428dcd0aacf62815faeddc0321e9f
2015-11-11 12:55:43 +03:00
Andrey Pavlov ed5a664dab py34: fix s3server code
also remove unneeded utf8 function and use xhtml_escapce from
utils everywhere

Change-Id: I05f8c90306ce2c63c89be9e96e4b52d21d5a50bf
2015-09-11 17:44:52 +03:00
Feodor Tersin 7d05c702a0 Use get_my_ipv4 from oslo_utils
We don't need to have our own ip detection method. It was ported to
ec2api from Nova, because there was no such common OpenStack method. But
later it had been added to oslo_utils, and now Nova uses it.

Change-Id: Idd9ae1297d6303b4676092d5d76a37e863c05401
2015-08-13 09:48:13 +03:00
Feodor Tersin dc08136037 Copy S3 server implmenetation from Nova
Copy S3 server implmenetation and unit tests from Nova.
Add fileutils from oslo-incubator and refresh incubation modules.

Upgrade script doesn't copy buckets content because Nova S3 server
is not intended to be permanent full functionality object storage, but
has to be used temporary to CreateImage operation only.

Change-Id: I7d38b0a8e014dfff8238e7134d837d1074e4dd95
2015-04-01 16:37:46 +03:00
Andrey Pavlov 67eae1069d follow oslo
move to oslo.db and some other oslo libraries

Change-Id: I57e4f01bd46339cdfe3ed2e4748eb1e923cea584
2015-02-26 22:04:09 +03:00
Feodor Tersin b27f4feab5 EC2 metadata implementation
Change-Id: I7d3ba06c420e4f70cc01fd0ec64398a4c3405244
2015-01-16 01:19:26 +04:00
alevine 9b03a6bc4f Added AvailabilityZones and Regions. Added universal describe.
Change-Id: I82f1fe0a8e1fbd23d9b1d2fcc27523ad1a88e8af
2014-12-07 03:45:48 +04:00
Feodor Tersin bd25a18a1a Update copyright
Change-Id: I185fa28474fca0cc8666d6f59de251ce1f9683f2
2014-11-11 21:02:39 +04:00
Alexandre Levine 66826e9e5b Initial EC2-API service commit.
This code introduces standalone service which proxies its calls to
existing nova EC2-API.
All the code here except for the ec2api/api/proxy.py,
ec2api/api/ec2client.py and some util functions is taken from current
nova and unused functionality is cut of it.
The proxy.py and ec2client.py files implement the new code which
proxies incoming request (on port 8788) to original EC2 API in nova
on port 8773.
The result is transparently translated back to user.

Change-Id: I4cb84f833d7d4f0e379672710ed39562811d43e0
2014-07-18 19:33:55 -07:00