https://github.com/grycap/cloudkeeper
EGI AppDB <-> CMF synchronization utility
Science Score: 10.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
○codemeta.json file
-
○.zenodo.json file
-
○DOI references
-
✓Academic publication links
Links to: zenodo.org -
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (12.4%) to scientific vocabulary
Last synced: 4 months ago
·
JSON representation
Repository
EGI AppDB <-> CMF synchronization utility
Statistics
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
- Releases: 0
Fork of the-cloudkeeper-project/cloudkeeper
Created over 6 years ago
· Last pushed over 6 years ago
https://github.com/grycap/cloudkeeper/blob/master/
![]()
Cloudkeeper
EGI AppDB <-> CMF synchronization utility
## What does Cloudkeeper do? Cloudkeeper is able to read image lists provided by EGI AppDB, parse their content and decide what cloud appliances should be added, updated or removed from managed cloud. During the addition and update Cloudkeeper is able to download an appliance's image and convert it to the format supported by the managed cloud. Currently supported image formats are: * QCOW2 * RAW * VMDK * OVA ## How does Cloudkeeper work? Cloudkeeper communicates with cloud specific components via [gRPC](http://www.grpc.io/) communication framework to manage individual clouds. Currently supported clouds: * [OpenNebula](https://opennebula.org/) - component [Cloudkeeper-ONE](https://github.com/the-cloudkeeper-project/cloudkeeper-one) * [OpenStack](https://www.openstack.org/) - component [Cloudkeeper-OS](https://github.com/the-cloudkeeper-project/cloudkeeper-os) * [Amazon Web Services](https://aws.amazon.com/) - component [Cloudkeeper-AWS](https://github.com/the-cloudkeeper-project/cloudkeeper-aws) ## Requirements * Ruby >= 2.2.0 * Rubygems * qemu-img (image conversion utility) * NGINX (optional) ## Installation ### From RubyGems.org To install the most recent stable version ```bash gem install cloudkeeper ``` ### From source (dev) **Installation from source should never be your first choice! Especially, if you are not familiar with RVM, Bundler, Rake and other dev tools for Ruby!** **However, if you wish to contribute to our project, this is the right way to start.** To build and install the bleeding edge version from master ```bash git clone git://github.com/the-cloudkeeper-project/cloudkeeper.git cd cloudkeeper gem install bundler bundle install bundle exec rake spec ``` ## Configuration ### Create a configuration file for Cloudkeeper Configuration file can be read by Cloudkeeper from these three locations: * `~/.cloudkeeper/cloudkeeper.yml` * `/etc/cloudkeeper/cloudkeeper.yml` * `PATH_TO_GEM_DIR/config/cloudkeeper.yml` The default configuration file can be found at the last location `PATH_TO_GEM_DIR/config/cloudkeeper.yml`. ## Usage Cloudkeeper is run with executable `cloudkeeper`. For further assistance run `cloudkeeper help sync`: ```bash $ cloudkeeper help sync Usage: cloudkeeper sync --backend-endpoint=BACKEND-ENDPOINT --external-tools-execution-timeout=N --formats=one two three --image-dir=IMAGE-DIR --image-list=IMAGE-LIST --qemu-img-binary=QEMU-IMG-BINARY Options: --image-list=IMAGE-LIST # Image list to sync against [--verify-image-list], [--no-verify-image-list] # Verify SMIME signature on image list # Default: true [--ca-dir=CA-DIR] # CA directory # Default: /etc/grid-security/certificates/ [--authentication], [--no-authentication] # Client <-> server authentication [--certificate=CERTIFICATE] # Core's host certificate # Default: /etc/grid-security/hostcert.pem [--key=KEY] # Core's host key # Default: /etc/grid-security/hostkey.pem --image-dir=IMAGE-DIR # Directory to store images to # Default: /var/spool/cloudkeeper/images/ --qemu-img-binary=QEMU-IMG-BINARY # Path to qemu-img binary (image conversion) # Default: /usr/bin/qemu-img [--nginx-binary=NGINX-BINARY] # Path to nginx binary (HTTP server) # Default: /usr/bin/nginx --external-tools-execution-timeout=N # Timeout for execution of external tools in seconds # Default: 600 [--remote-mode], [--no-remote-mode] # Remote mode starts HTTP server (NGINX) and serves images to backend via HTTP [--nginx-runtime-dir=NGINX-RUNTIME-DIR] # Runtime directory for NGINX # Default: /var/run/cloudkeeper/ [--nginx-error-log-file=NGINX-ERROR-LOG-FILE] # NGINX error log file # Default: /var/log/cloudkeeper/nginx-error.log [--nginx-access-log-file=NGINX-ACCESS-LOG-FILE] # NGINX access log file # Default: /var/log/cloudkeeper/nginx-access.log [--nginx-pid-file=NGINX-PID-FILE] # NGINX pid file # Default: /var/run/cloudkeeper/nginx.pid [--nginx-ip-address=NGINX-IP-ADDRESS] # IP address NGINX can listen on # Default: 127.0.0.1 [--nginx-port=N] # Port NGINX can listen on # Default: 50505 [--nginx-proxy-ip-address=NGINX-PROXY-IP-ADDRESS] # Proxy IP address [--nginx-proxy-port=N] # Proxy port [--nginx-proxy-ssl], [--no-nginx-proxy-ssl] # Whether proxy will use SSL connection --backend-endpoint=BACKEND-ENDPOINT # Backend's gRPC endpoint # Default: 127.0.0.1:50051 [--backend-certificate=BACKEND-CERTIFICATE] # Backend's certificate # Default: /etc/grid-security/backendcert.pem --formats=one two three # List of acceptable formats images can be converted to # Default: ["qcow2"] --logging-level=LOGGING-LEVEL # Default: ERROR # Possible values: DEBUG, INFO, WARN, ERROR, FATAL, UNKNOWN [--logging-file=LOGGING-FILE] # File to write logs to # Default: /var/log/cloudkeeper/cloudkeeper.log --lock-file=LOCK-FILE # File used to ensure only one running instance of cloudkeeper # Default: /var/lock/cloudkeeper/cloudkeeper.lock [--debug], [--no-debug] # Runs cloudkeeper in debug mode ``` ## Contributing 1. Fork it ( https://github.com/the-cloudkeeper-project/cloudkeeper/fork ) 2. Create your feature branch (`git checkout -b my-new-feature`) 3. Commit your changes (`git commit -am 'Add some feature'`) 4. Push to the branch (`git push origin my-new-feature`) 5. Create a new Pull Request
Owner
- Name: GRyCAP
- Login: grycap
- Kind: organization
- Website: https://www.grycap.upv.es
- Repositories: 155
- Profile: https://github.com/grycap
Grid y Computación de Altas Prestaciones