Commit Graph

11 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
Iswarya_Vakati f8dbd1cc45 Don't attempt to escalate ec2-api-manage privileges
Remove code which allowed ec2-api-manage to attempt to escalate
privileges so that configuration files can be read by users who
normally wouldn't have access, but do have sudo access.

Change-Id: I1ab7052fc117f064054e3127517da77598b6d27b
Closes-Bug:#1611171
2016-10-24 09:56:07 +00:00
Feodor Tersin 4f35af8502 Enable greenthreading for ec2api services
Since ec2api and metadata services based on greenthreading, it have to
be initialized properly. This patch initializes it for cmd modules,
which allows to debug services from IDE.

Change-Id: Ic7ae69fbf5b58cfa4df822cd5d42f7c2cf45d848
2015-09-09 14:20:27 +03:00
Feodor Tersin 28291298ba Enable multithreading for ec2api
ec2api service is initialized with no workers count which leads to only
one worker is run.

ec2api_workers configuration settings will be used to set workers
count.

Change-Id: I5cfc650a7f6b38ec7bdeb9d9c9ddb97d5f2a1106
2015-09-04 17:49:36 +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 07e758a842 Fix network engine loading bug
Change-Id: I3b56338a178d61ae170761a90d91e8496e812d08
2015-01-29 17:58:01 +04:00
Feodor Tersin 6109fc7b0d Metadata proxy service
Change-Id: I57a51a79373341c05eb73df3af2eb3a3e328bf98
2015-01-08 20:53:02 +03:00
Feodor Tersin cc05d7afe9 Extract image manipulation methods
Change-Id: Ia261740fa168f157e62ae3b9ff45861b1bd6473c
2014-12-22 14:54:05 +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