You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Cloudkeeper-OS is the OpenStack backend for [Cloudkeeper](https://github.com/the-cloudkeeper-project/cloudkeeper). It is using OpenStack Python and gRPC Python libraries.
2
+
Cloudkeeper-OS is an OpenStack backend for [Cloudkeeper](https://github.com/the-cloudkeeper-project/cloudkeeper). It interacts with the OpenStack Image Service ([Glance](https://docs.openstack.org/glance)) to manage images representing [EGI AppDB](https://appdb.egi.eu/browse/cloud) Appliances. Cloudkeeper-OS runs as a server listening for [gRPC](https://grpc.io/) communication, usually from Cloudkeeper.
3
3
4
4
## Requirements
5
5
* Python >= 2.7
@@ -10,41 +10,51 @@ Cloudkeeper-OS is the OpenStack backend for [Cloudkeeper](https://github.com/the
10
10
* python-oslo-config
11
11
* python-oslo-log
12
12
13
-
# Installation
13
+
##Installation
14
14
15
+
### From source
15
16
To install Cloudkeeper-OS, clone the project and run the ```setup.py``` script:
Create the ```/usr/lib/systemd/system/cloudkeeper-os.service``` systemd service file with the following content to manage the cloudkeeper-os daemon:
27
+
```
28
+
[Unit]
29
+
Description=OpenStack Cloudkeeper Backend
30
+
After=syslog.target network.target
31
+
32
+
[Service]
33
+
Type=simple
34
+
User=root
35
+
ExecStart=/usr/bin/cloudkeeper-os
36
+
PrivateTmp=true
37
+
38
+
[Install]
39
+
WantedBy=multi-user.target
40
+
```
41
+
42
+
### Using RPMs
23
43
24
-
Once the backend is installed, you can generate the configuration file using:
44
+
First, download the repo file from the [cloudkeeper-os repository](http://grand-est.fr/resources/software/cloudkeeper-os/repofiles/centos7/cloudkeeper-os.repo) and place it in the ```/etc/yum.repos.d``` directory. Then execute the following commands:
The generated configuration file has several sections and has a descritpion for each option. Most of the options have default values. You should check at least the following parameters in the ```keystone_authtoken``` section:
50
+
## Configuration
51
+
52
+
The ```cloudkeeper-os.conf``` configuration file has several sections and has a descritpion for each option. Most of the options have default values. You should check at least the following parameters in the ```keystone_authtoken``` section:
31
53
32
54
* username
33
55
* password
34
56
* auth_url
35
57
36
-
In addition, you should have a JSON file containing the map between the VO and the OpenStack project's name:
37
-
```
38
-
{
39
-
"dteam": {
40
-
"tenant": "EGI_dteam"
41
-
},
42
-
"fedcloud.egi.eu": {
43
-
"tenant": "EGI_FCTF"
44
-
},
45
-
"ops": {
46
-
"tenant": "EGI_ops"
47
-
}
48
-
}
49
-
```
58
+
In addition, you have to edit the ```voms.json``` JSON file to map correctly the VO and the OpenStack project's name. Note that you can use the same JSON file as for the ```keystone-voms``` component, by setting the ```mapping_file``` parameter with the right path in the ```cloudkeeper-os.conf``` file.
50
59
60
+
To take into account the modifications, do not forget to restart the cloudkeeper-os service.
0 commit comments