For more information about this project, please see https://cci-moc.github.io/flocx/.
cci-moc / flocx Goto Github PK
View Code? Open in Web Editor NEWLicense: Other
License: Other
For more information about this project, please see https://cci-moc.github.io/flocx/.
If you start with the tripleomaster/centos-binary-keystone
Docker image, you will need to inject some configuration information into it before it will be useful:
You need to pre-recreate a user and a database in mariadb. This can done by using the MYSQL_DATABASE
, MYSQL_USER
, and MYSQL_PASSWORD
environment variables when starting your mariadb container.
You need an /etc/keystone/keystone.conf
. A minimum configuration might look like:
[DEFAULT]
debug = true
log_rotation_type = size
max_logfile_size_mb = 500
max_logfile_count = 30
[database]
# This is mysql+pymysql://<USER>:<PASSWORD>@<HOSTNAME>/<DATABASENAME>
connection = mysql+pymysql://keystone:secret@database/keystone
[token]
provider = fernet
You need to provide an Apache configuration, which will look something like:
Listen 5000
<VirtualHost *:5000>
ServerName keystone
## Vhost docroot
DocumentRoot "/var/www/cgi-bin/keystone"
## Directories, there should at least be a declaration for /var/www/cgi-bin/keystone
<Directory "/var/www/cgi-bin/keystone">
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Require all granted
</Directory>
## Logging
ErrorLog "/var/log/httpd/keystone_wsgi_main_error.log"
ServerSignature Off
CustomLog "/var/log/httpd/keystone_wsgi_main_access.log" combined
WSGIApplicationGroup %{GLOBAL}
WSGIDaemonProcess keystone_main display-name=keystone-main group=keystone processes=12 threads=1 user=keystone
WSGIProcessGroup keystone_main
WSGIScriptAlias / "/var/www/cgi-bin/keystone/main"
WSGIPassAuthorization On
</VirtualHost>
Lastly, you will need to ensure that the container runs the command /usr/sbin/httpd -DFOREGROUND
.
What do you think would be the appropriate operation for substring, as "contains" & "in" are for lists. I guess, we should have in for the strings as well.
Some of the example are not correct for example the JMESPath expression "system_vendor.manufacturer" isn't valid instead it should be "inventory.system_vendor.manufacturer"
Also null is not python syntax so either use None or make null a string.
1st thing 1st: Create a repository of FLOCX and add whitel (username) to it, make him a member that can review and merge.
Since much of the actual content here is Markdown, we should validate to help avoid simple errors.
We should require a provider to register with the marketplace before it can start sending offers.
Blazar is an OpenStack reservation system. We should investigate this project for overlap: https://wiki.openstack.org/wiki/Blazar
JMESpath is a syntax for querying complex data. This would give us a mechanism for expressing requirements based on server properties. We can then express a requirement as a tuple (expression, operator, value)
. A list of such tuples represents the requirements in a bid.
"I want a server with at least 32GB of memory."
```
- ["memory_mb", ">=", 32000]
```
"I want an x86_64
server with at least 32GB of memory and at least one disk that is larger than 200GB."
```
- ["cpu_arch", "=", "x86_64"]
- ["memory_mb", ">=", 32000]
- ["length(inventory.disks[*]|[?size > `200000000000`])", ">", 0]
```
"I need a Dell Power Edge M620."
```
- ["inventory.system_vendor.product_name", "contains", "PowerEdge M620"]
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.