Commit Graph

15 Commits

Author SHA1 Message Date
Takashi Kajinami 65aa61662f Include oslo.cache options to the generated configuration file
The oslo.cache library was introduced to support metadata caching[1],
but its parameters have been missing from the configuration file
generated by oslo-config-generator.
This change adds the missing oslo.config.opts endpoint so that
the parameters of the oslo.cache library are automatically rendered.

Change-Id: Iede57b7c86012951ee934ee9f56694e108f1b51a
2021-11-15 22:37:24 +09:00
tikitavi 8104481c84 Remove code that used nova-cert
Change-Id: I744ca2901e2a77557ab54c2c9a37196e458a85c9
2017-07-07 11:35:22 +03:00
Andrey Pavlov d67adb7223 rework creating admin context - use keystoneauth1 lib
rather than own creator of session and auth_plugin from
keystoneclient library.

Change-Id: Id7f71e08de13e77586832f6d12cba1caff3772fe
2016-09-16 17:20:55 +03:00
Andrey Pavlov 2f967d5ed4 add code for config generation
Change-Id: Ib86b949bb43ca6b5c386b7032a255f06b0f2eab9
2015-08-28 20:15:50 +03:00
Andrey Pavlov b3ff5046dd cleanup configs
Change-Id: I1eebc28d5965a7ce4ad817bdec280ef9f17be1fd
2015-08-10 13:32:58 +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
Feodor Tersin 6f5e3a5331 Refresh config sample
Change-Id: I7392cf6ff655cfd327b873e986a0a30e4719ffd6
2015-03-21 01:20:59 +03:00
Feodor Tersin 8282371da4 Get rid of Nova DB access
Important features:
- Nova client with microversion support is required.
- Nova API server may not support microversion 2.3 (not tested).
- Attaching volumes are not displayed in an instance bdm. Because Cinder
volume doesn't yet contain attachment info (which contains a device
name), and Nova instance volumes_attached doesn't contain a device name
(mountpoint). But a bdm must contain it.

Other features:
- v2.3 is requested always
- RunInstance result is formatted w/o extra v2.3 info, so it doesn't
contain rootDeviceName and other such info
- if rootDeviceName property is empty it's omitted instead of
to report fake /dev/sda1 as Nova EC2 does it. This leads to omit
rootDeviceType property in this case as well.
Also the same is done for corresponding image's properties.
- deleteOnTermination volume property is omitted for volume at all, and
for instance bdm if Nova doesn't report it. Previously this volume
property contained 'False' only.
- DescribeVolumes isn't used in DescribeInstances (as opposed to
DescribeNetworkInterfaces), because both methods require actual state
of corresponding OS objects, so we prevent duplication of OS requests.
- Not merged Nova client is used
https://review.openstack.org/#/c/152569/

Also:
- fix multi-run instances for EC2 Classic mode
- safe getting of OS instance security groups
- ec2context module alias is renamed to ec2_context, as it is in other
code
- fakes.CinderVolume is renamed to local standard OSVolume
- fakes.OSInstance it transformed to be initialized from a dictionary,
as it is for other fakes.OSXxx objects
- fix code style

Depends-On: Icf2b9739aaf87b4c9af13ad64a310081a68f776e
Change-Id: Id65ea0f56ffd889286d5ca082e1daf2643205c52
2015-03-20 15:33:05 +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
Andrey Pavlov 1cfaea6bed create scripts for devstack
Change-Id: Ie59b29894031ce033d68705f17edbbdb71a7fbba
2015-02-04 23:58:13 +03:00
Jenkins 44d7678277 Merge "Metadata proxy service" 2015-01-12 14:22:34 +00:00
Feodor Tersin 6109fc7b0d Metadata proxy service
Change-Id: I57a51a79373341c05eb73df3af2eb3a3e328bf98
2015-01-08 20:53:02 +03:00
Andrey Pavlov 0db4e8ed8b remove validator
Change-Id: I2847527fd2dd39dfb991e446d6d0ce3e65e5483c
2015-01-08 15:50:40 +03:00
Andrey Pavlov e4c4463ab1 support aws v4 signature
Change-Id: Ic9af4f35239e534b4ce05cd186f071cd22f8882d
2014-12-11 22:04:44 +03: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