- Sep 28, 2018
-
-
Benjamin Bertrand authored
A deferred task will remain deferred forever if the task it depends on fails. When checking for waiting tasks, we should ignore deferred tasks that are too old. "Too old" is currently set to 30 minutes. We shouldn't have tasks that take that long. We might want to shorten that even a bit (to not block new identical tasks to be run) but if a task failed there is probably something to be done. JIRA INFRA-559 #action In Progress
-
Benjamin Bertrand authored
- set cascade to all and delete-orphan to delete interfaces when deleting a host - button added on the view host page to delete host (admin only) JIRA INFRA-557 #action In Progress
-
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 13, 2018
-
-
Benjamin Bertrand authored
JIRA INFRA-500 #action In Progress
-
- Aug 21, 2018
-
-
Benjamin Bertrand authored
JIRA INFRA-459 #action In Progress
-
- Aug 08, 2018
-
-
Benjamin Bertrand authored
Using flask-login request_loader, we can validate jwt tokens. This allows to use the same decorators for the web UI (using cookies) and the API (using JWT) as well as the current_user local proxy.
-
- Jul 31, 2018
-
-
Benjamin Bertrand authored
-
- Jul 27, 2018
-
-
Benjamin Bertrand authored
-
- Jul 17, 2018
-
-
Benjamin Bertrand authored
JIRA INFRA-414
-
Benjamin Bertrand authored
This is not super clean. The model and device_type belong to the host. This is for easy access from the API. But it would be better to have a "expand=true" query parameter and return the host as a dict. JIRA INFRA-414
-
Benjamin Bertrand authored
JIRA INFRA-414
-
- Jul 13, 2018
-
-
Benjamin Bertrand authored
-
- Jul 12, 2018
-
-
Benjamin Bertrand authored
- add ansible_groups_hosts_table for many-to-many relationship between groups and hosts - add new api endpoint /network/groups JIRA INFRA-412
-
- Jul 11, 2018
-
-
Benjamin Bertrand authored
Allow to enter Ansible variables on host in YAML format. Use codemirror (http://codemirror.net) to make editing YAML easier. JIRA INFRA-412
-
- Jul 09, 2018
-
-
Benjamin Bertrand authored
Use the before_flush hook to trigger the core services update. It's much nicer than having to call a method in several places. The core services update is triggered on creation/modification/deletion of an Interface. In the before_flush we can manipulate the session (add objects) but we shouldn't call commit. The db.session.commit() was removed from the launch_task method.
-
- Jul 06, 2018
-
-
- Jul 03, 2018
-
-
Benjamin Bertrand authored
Only save exceptions that occur before the AWX job was triggered. If the AWX job failed, we can refer to the logs on AWX.
-
Benjamin Bertrand authored
-
- Jul 02, 2018
-
-
Benjamin Bertrand authored
-
Benjamin Bertrand authored
Table used to save the RQ background jobs JIRA INFRA-403
-
- May 23, 2018
-
-
Benjamin Bertrand authored
Allow to create a VM or Virtual IOC
-
Benjamin Bertrand authored
"gateway" tag removed. It could be re-added if needed to overwrite the default computed gateway for example. JIRA INFRA-339
-
- May 22, 2018
-
-
Benjamin Bertrand authored
Tags and device_types are used as key in Ansible roles. They shouldn't contain any spaces to avoid issues. JIRA INFRA-334
-
- Apr 23, 2018
-
-
Benjamin Bertrand authored
This is to be used for stack of switches only - a stack_member is linked to an host (device_type has to be "Switch") - a stack_member is an integer between 0 and 9 (included) or can be None - the couple (host_id, stack_member) must be unique JIRA INFRA-267
-
- Apr 20, 2018
-
-
Benjamin Bertrand authored
1. When we have a stack of switches, the same IP is associated to several switches 2. Move the items <-> host assocation to the item create/edit page JIRA INFRA-267
-
- Apr 10, 2018
-
-
Benjamin Bertrand authored
JIRA INFRA-281
-
- Apr 09, 2018
-
-
Benjamin Bertrand authored
- create many-to-many relationships between the user table and attributes tables (manufacturer / model / location / status / action) - add a checkbox as the first column of the attributes table to add or remove an attribute to the favorites - add a new page to display the favorite attributes JIRA INFRA-283
-
- Apr 06, 2018
-
-
Benjamin Bertrand authored
JIRA INFRA-277
-
Benjamin Bertrand authored
"type" field on host replaced with foreign key "machine_type_id" JIRA INFRA-281
-
- Mar 13, 2018
-
-
Benjamin Bertrand authored
Having the username in the API is more useful than the display name. We keep the display name in the UI. Fix INFRA-241
-
- 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
-
- Feb 28, 2018
-
-
Benjamin Bertrand authored
-
- Feb 26, 2018
-
-
Benjamin Bertrand authored
Fix error: User instance is not bound to a Session; attribute refresh operation cannot proceed
-
- Feb 23, 2018
-
-
Benjamin Bertrand authored
-
- Feb 12, 2018
-
-
Benjamin Bertrand authored
The network range defines the IP to be allocated. This is to reserve some specific addresses (for gateway for example). An admin user should be able to define an interface outside the network range. The IP address select field was replaced with a string field (initialized to the first available IP). Fixes INFRA-200
-
- Feb 09, 2018
-
-
Benjamin Bertrand authored
- add domain_id on NetworkScope table to define a default domain - add domain_id on Network (default to the Network Scope one) Fixes INFRA-194
-
- Feb 02, 2018
-
-
Benjamin Bertrand authored
-
- Jan 18, 2018
-
-
Benjamin Bertrand authored
Allow to keep track of batches of small parts.
-
- Jan 16, 2018
-
-
Benjamin Bertrand authored
Command shall be run every night to keep the users in the database in sync with the LDAP server. If a user is not found: - set its groups to [] - revoke all its tokens
-
- Jan 12, 2018
-
-
Benjamin Bertrand authored
-