- Feb 26, 2020
-
-
Benjamin Bertrand authored
Normal users can only view networks they have access to JIRA INFRA-1809 #action In Progress
-
- Feb 24, 2020
-
-
Benjamin Bertrand authored
JIRA INFRA-1790 #action In Progress
-
- Feb 03, 2020
-
-
Benjamin Bertrand authored
- Remove "- CSEntry" (logo is already displayed in tabs depending on the browser) - Specify name of the instance in view and edit pages JIRA INFRA-1726 #action In Progress
-
Benjamin Bertrand authored
JIRA INFRA-1724
-
Benjamin Bertrand authored
JIRA INFRA-1724 #action In Progress
-
Benjamin Bertrand authored
Sensitive hosts shall not be returned in search and get queries (both web and API) for non admin users JIRA INFRA-1671
-
Benjamin Bertrand authored
JIRA INFRA-1671
-
- Jan 28, 2020
-
-
Benjamin Bertrand authored
JIRA INFRA-1671 #action In Progress
-
- Dec 19, 2019
-
-
Benjamin Bertrand authored
JIRA INFRA-1627
-
Benjamin Bertrand authored
JIRA INFRA-1627 #action In Progress
-
- Dec 18, 2019
-
-
Benjamin Bertrand authored
Check that a group child is not: - the group itself - the "all" group - in one of the parent groups (recursively) JIRA INFRA-1622 #action In Progress
-
Benjamin Bertrand authored
stack_member was incorrectly coerced to a string JIRA INFRA-1648 #action In Progress
-
- Dec 04, 2019
-
-
Benjamin Bertrand authored
JIRA INFRA-1604 #action In Progress
-
- Nov 26, 2019
-
-
Benjamin Bertrand authored
Validation worked in the models because fullmatch is used but in the Regexp validators from wtforms, only match is called. The form validator didn't catch "AAA1100". Test added for this. JIRA INFRA-1569 #action In Progress
-
- Oct 30, 2019
-
-
Benjamin Bertrand authored
The tables were dropped at the end of the tests, but if CTRL-C was used, running the tests again could fail depending of the state the database was in.
-
- Oct 29, 2019
-
-
Benjamin Bertrand authored
Endpoints required to update host and interface via the API JIRA INFRA-1406 #action In Progress
-
- Oct 24, 2019
-
-
Benjamin Bertrand authored
The interface name shall start by the host name. Its length must thus be longer than the host. JIRA INFRA-1324 #action In Progress
-
- Sep 17, 2019
-
-
Benjamin Bertrand authored
-
Benjamin Bertrand authored
- Use flattened datatype (require elasticsearch 7.3) - Upgrade to elasticsearch 7 JIRA INFRA-1295 #action In Progress
-
Benjamin Bertrand authored
JIRA INFRA-1291 #action In Progress
-
- Aug 27, 2019
-
-
Benjamin Bertrand authored
A string or list is valid YAML but not valid for Ansible variables. We expect only key-value-pairs (dict). JIRA INFRA-1221
-
- Aug 22, 2019
-
-
Benjamin Bertrand authored
Replace previous implementation based on the domain. The domain can be changed per network but in practice we always use the same domain in a network scope. We currently have 9 network scopes but only 3 domains. Using the network scope gives us finer granularity in practice. JIRA INFRA-1228 #action In Progress
-
- Jul 10, 2019
-
-
Benjamin Bertrand authored
'<' not supported between instances of 'NoneType' and 'int' Sorting worked if all stack_members were None, but not if some were null and some int. Fixed by converting None to Infinity (so None values are at the end of the list. JIRA INFRA-1112 #action In Progress
-
Benjamin Bertrand authored
Linked items are by default returned as a list of ICS id. When recursive is True, a list of {ics_id, serial_number, stack_member} is returned instead. Items are always returned sorted by stack_member or ics_id when stack_member is null. Allow to add the serial_number and stack_member to the Ansible variables in csentry dynamic inventory. Useful for switches. JIRA INFRA-1111 #action In Progress
-
- Jun 13, 2019
-
-
Benjamin Bertrand authored
Deferred tasks are now set to failed when the task it depends on fails. No need to have an arbitrary time to disregard "old" deferred tasks. JIRA INFRA-1051 #action In Progress
-
Benjamin Bertrand authored
JIRA INFRA-1049 #action In Progress
-
- May 10, 2019
-
-
Benjamin Bertrand authored
- admin can delete any hosts - normal users can delete hosts they created Note that still only admin users can delete hosts via the API (more dangerous operation as a script could delete many hosts). JIRA INFRA-1018 #action In Progress
-
- Apr 05, 2019
-
-
Benjamin Bertrand authored
The boot profile is used to perform a network installation on a physical machine. JIRA INFRA-943 #action In Progress
-
- Apr 03, 2019
-
-
Benjamin Bertrand authored
- requesting too many elements in one query has an impact on the database and the web application - max limit set to 100 JIRA INFRA-942 #action In Progress
-
- Apr 02, 2019
-
-
Benjamin Bertrand authored
JIRA INFRA-931 #action In Progress
-
- Mar 18, 2019
-
-
Benjamin Bertrand authored
A job running in AWX prevents an inventory sync (of the same inventory). This restricts AWX to run only one job at a time as the inventory is always updated on launch. To prevent this issue, the inventory is updated from AWX when needed. - The update is triggered on any model modification that is used in the inventory (AnsibleGroup, Cname, Domain, Host, Network, NetworkScope) - For Interface, the inventory sync is triggered by the trigger_core_services function as it depends on it - The inventory update job is put on the "high" queue so that it takes precedence over all other jobs. JIRA INFRA-887 #action In Progress
-
Benjamin Bertrand authored
- users with access to the network can create VIOC - VM can be created only in the ALLOWED_VM_CREATION_DOMAINS JIRA INFRA-775
-
Benjamin Bertrand authored
Add awx_resource field to the task table. The field is None for local tasks (like excel file creation). It's the awx resource used to launch the job otherwise. Currently job or workflow_job. JIRA INFRA-886 #action In Progress
-
- Mar 05, 2019
-
-
Benjamin Bertrand authored
Tags were basically only used for IOCs. Tags were linked to the interface (and not the host). But for IOC we assume it should always be the main (first) interface. Using a field on the host table will make it more obvious for users. Created a IOC dynamic group type, to create a group including all IOCs JIRA INFRA-862 #action In Progress
-
- Feb 28, 2019
-
-
Benjamin Bertrand authored
Allow to specify the gateway for each network JIRA INFRA-809
-
- Feb 04, 2019
-
-
Benjamin Bertrand authored
Host interfaces are always returned sorted by name JIRA INFRA-785 #action In Progress
-
Benjamin Bertrand authored
For Network and Network scope dynamic groups, only the interface with the same name as the host (the main interface) is taken into account. If only another interface is part of the network or network scope, the host is not part of the group. JIRA INFRA-784 #action In Progress
-
- Jan 29, 2019
-
-
Benjamin Bertrand authored
The MAC field has both a Regexp and Unique validators. In wtforms, the validation doesn't stop on the first error (all validators are run). In case of invalid mac address, the Unique validator makes a request to the database that raises a DataError. This exception has to be catched. JIRA INFRA-777 #action In Progress
-
- Jan 25, 2019
-
-
Benjamin Bertrand authored
Search on keyword can be made case insensitive by using a normalizer. But some fields with type keyword include several words. They are only returned by entering all words. This is not what most users expect. It's better to use the "text" type by default (for text fields) and add an extra "keyword" field of type "keyword" for sorting. JIRA INFRA-770
-
Benjamin Bertrand authored
JIRA INFRA-763
-