- Mar 05, 2019
-
-
Benjamin Bertrand authored
-
- Jan 28, 2019
-
-
Benjamin Bertrand authored
After a VM or VIOC creation, a post install job can be triggered. The job to trigger is based on the domain and defined in the AWX_POST_INSTALL dictionary. Admin users have the option to skip this post job if required. The job is enqueued in RQ with a dependency on the creation job. So it's only triggered after successful completion of the first one. JIRA INFRA-769
-
- Jan 23, 2019
-
-
Benjamin Bertrand authored
- Disk size added to the create VM form - Disk size saved to proxmox_disk_space variable in host inventory The proxmox_disk_space variable is used by the Ansible job when creating the machine. JIRA INFRA-759 #action In Progress
-
- Nov 30, 2018
-
-
Benjamin Bertrand authored
- flask-bootstrap dependency removed a while ago - the full static directory shall be passed JIRA INFRA-683
-
- Nov 27, 2018
-
-
Benjamin Bertrand authored
JIRA INFRA-578 #action In Progress
-
Benjamin Bertrand authored
JIRA INFRA-578
-
- Nov 09, 2018
-
-
Benjamin Bertrand authored
dns parameter removed (retrieved dynamically by the playbook) JIRA INFRA-651 #action In Progress
-
- Oct 05, 2018
-
-
Benjamin Bertrand authored
JIRA INFRA-575 #action In Progress
-
Benjamin Bertrand authored
JIRA INFRA-575
-
- Sep 28, 2018
-
-
Benjamin Bertrand authored
Retrieving all items from the database takes some time. The task is thus handled by the RQ worker. We use ajax to periodically monitor the status of the job and redirect to the file when ready. A progress bar is displayed to let the user see the progress. The mechanism put in place could be re-used for other use cases. JIRA INFRA-545 #action In Progress
-
- Sep 14, 2018
-
-
Benjamin Bertrand authored
WARNING! To pass the SECRET_KEY as en env variable, you should use base64 encoding as the key is supposed to be a random string of bytes.
-
Benjamin Bertrand authored
Errors are now sent to sentry. No need to send them directly via e-mail. JIRA INFRA-525
-
Benjamin Bertrand authored
JIRA INFRA-525 #action In Progress
-
Benjamin Bertrand authored
CSENTRY_ENVIRONMENT shall be set to production|staging|development It can be used when sending errors to Sentry JIRA INFRA-525
-
- Jul 17, 2018
-
-
Benjamin Bertrand authored
JIRA INFRA-414
-
- Jul 06, 2018
-
-
- Jul 03, 2018
-
-
Benjamin Bertrand authored
-
- May 25, 2018
-
-
Benjamin Bertrand authored
Change "CSentry" to "CSEntry-test" in the navbar (upper left corner) and set it to red on the staging server. This is done by setting the variable CSENTRY_STAGING to True in the settings.cfg file for the staging server (variable set to False by default). JIRA INFRA-347
-
- May 23, 2018
-
-
Benjamin Bertrand authored
Both AWX_VM_CREATION_ENABLED and AWX_JOB_ENABLED shall be set to True to enable VM creation. An extra variable is used because the core services can be updated from csentry-test but VM creation shouldn't (for now)
-
Benjamin Bertrand authored
Allow to create a VM or Virtual IOC
-
- May 22, 2018
-
-
Benjamin Bertrand authored
A new template 'ics-ans-core @ DHCP test' was created to test the DNS and DHCP deployment. This is the one o use by default. The "real" template should be used in the production settings.cfg
-
- May 09, 2018
-
-
Benjamin Bertrand authored
AWX jobs should only be triggered on the production server (not from staging). At least until we get a full staging environment.
-
- Apr 27, 2018
-
-
Benjamin Bertrand authored
-
Benjamin Bertrand authored
- RQ Dashboard shall only be accessible to admin users - "REDIS_URL" is hard-coded in rq-dashboard (had to rename RQ_REDIS_URL)
-
Benjamin Bertrand authored
The "REDIS_URL" variable is hard-coded in RQ Dashboard. REDIS_URL was used by redis_store that is passed to Flask Session. The url variable used by Flask-Redis can be changed by setting the config_prefix. 1. Rename REDIS_URL to SESSION_REDIS_URL 2. Rename redis_store to session_redis_store 3. Use "SESSION_REDIS" config_prefix to initialize session_redis_store This makes it clear that this Redis instance is used by Flask-Session. REDIS_URL will be used for RQ.
-
Benjamin Bertrand authored
-
- Mar 07, 2018
-
-
Benjamin Bertrand authored
Not everyone at ICS is part of the 'ICS Employees' AD group. We have to accept 'ICS Consultants' as well. The CSENTRY_LDAP_GROUPS settings now takes a list of groups instead of just one. Remove unused is_member_of_all_groups method. Fixes INFRA-225
-
- Mar 06, 2018
-
-
Benjamin Bertrand authored
Fixes INFRA-224
-
- Feb 09, 2018
-
-
Benjamin Bertrand authored
Fixes INFRA-197
-
- Jan 02, 2018
-
-
Benjamin Bertrand authored
-
- Dec 18, 2017
-
-
Benjamin Bertrand authored
It shouldn't be possible to change the ICS id of an item. But when registering a bunch of existing items via the API, we need to allocate an ics_id otherwise not much can be done in the interface. The id is required for the view and edit page. The solution is to define some "temporary" ids that don't correspond to any pre-printed labels. Items with a temporary id can be assigned a real ics_id when assigning a label. Reserved ids start with 'ZZ' (from ZZA000 to ZZZ999) ICS id can now be non nullable.
-
Benjamin Bertrand authored
Allow to customize the default selected values: - the default network prefix can be defined in the configuration (default to 24) - the default first and last IP chosen can probably be improved it defaults to hosts[9] and hosts[-5] if the list has more than 15 elements or the first and last otherwise Note that when using a small prefix (< 19), the number of possilbe IPs is quite large and updating the first and last IP select field takes some time...
-
- Dec 13, 2017
-
-
Benjamin Bertrand authored
In Flask, session data are stored in a cookie by default. Using a server side session, there is no risk of putting too much data in the session and transmissting a big cookie on every request (only an id is sent in the cookie). Redis is used as backend (without persistent storage).
-
Benjamin Bertrand authored
- All created tokens are stored in the database. To revoke a token, we just delete it from the database. Tokens not found in the database are thus considered unvalid / revoked. - Add button to copy generated token to the clipboard - Redesign profile page
-
- Nov 03, 2017
-
-
Benjamin Bertrand authored
-
- Sep 08, 2017
-
-
Benjamin Bertrand authored
-
- Sep 06, 2017
-
-
Benjamin Bertrand authored
This allows a client to login only once a day. We might want to decrease that and look into refresh token. But this looks overkill for our use case.
-
- Aug 21, 2017
-
-
Benjamin Bertrand authored
-
- Aug 18, 2017
-
-
Benjamin Bertrand authored
-
- Jul 19, 2017
-
-
Benjamin Bertrand authored
-