- Mar 08, 2020
-
-
Benjamin Bertrand authored
The device_type has an impact on the DHCP configuration. JIRA INFRA-1846 #action In Progress
-
- Mar 05, 2020
-
-
Benjamin Bertrand authored
- Allow to use "-" in device type name - Add ALLOWED_SET_BOOT_PROFILE_DEVICE_TYPES variable - Rename MicroTCA to MTCA-AMC JIRA INFRA-1835 #action In Progress
-
Benjamin Bertrand authored
If not given, the IP is allocated automatically (first available). This is how it works when using the web UI. JIRA INFRA-1833 #action In Progress
-
Benjamin Bertrand authored
This is a dynamic group which will include all hosts that start with the same name as the group JIRA INFRA-1844 #action In Progress
-
- Feb 24, 2020
-
-
Benjamin Bertrand authored
JIRA INFRA-1790 #action In Progress
-
- Feb 03, 2020
-
-
Benjamin Bertrand authored
JIRA INFRA-1724
-
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
-
- 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
-
- 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 18, 2019
-
-
Benjamin Bertrand authored
The inventory update should be triggered separately from the core services update. Both jobs have been decoupled. INFRA-1290
-
- Sep 17, 2019
-
-
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
-
Benjamin Bertrand authored
The core services update will trigger its own inventory sync on launch. As the job takes some time to run, it avoids blocking the main inventory sync. It also allows to trigger a core services update less frequently by keeping only one in queue. INFRA JIRA-1290
-
- 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 14, 2019
-
-
Benjamin Bertrand authored
Default timeout increased to 30 minutes. Some AWX tasks can be quite long especially as the csentry inventory update can't run at the same time as other jobs. JIRA INFRA-1051
-
- 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 13, 2019
-
-
Benjamin Bertrand authored
The caching of the load_user function already created several bugs (INFRA 908/1018). It requires to think about adding (or deleting in the admin view) the current_user to the session. This is easy to miss. It saves some database queries but we don't need this optimization. Performances are not impacted and are good enough so far. Removing the caching makes the application more robust and easier to maintain. JIRA INFRA-1025 #action In Progress
-
- May 10, 2019
-
-
Benjamin Bertrand authored
job.status shall be replaced with job.get_status() (RQ) JIRA INFRA-1021 #action In Progress
-
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
-
- May 09, 2019
-
-
Benjamin Bertrand authored
Regression from b9c1b838 Calling utils.trigger_ioc_repository_creation runs launch_task which does a db.session.add(task). This raises: SAWarning: Usage of the 'Session.add()' operation is not currently supported within the execution stage of the flush process. Results may not be consistent. Consider using alternative event listeners or connection-level operations instead. SAWarning: Attribute history events accumulated on 1 previously clean instances within inner-flush event handlers have been reset, and will not result in database updates. The result is that the host is not added to the elasticsearch index. We can't trigger the task in after_update/after_insert events. Perform the call in the view instead. It's temporary anyway. This should be handled by IOC Factory. JIRA INFRA-1015
-
- May 08, 2019
-
-
Benjamin Bertrand authored
The set event is triggered too early and no interface is yet associated to the host. The fqdn is thus set to the name. JIRA INFRA-1015 #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
-
Benjamin Bertrand authored
This is temporary. The repository should be created by IOCFactory. JIRA INFRA-932 #action In Progress
-
- Mar 27, 2019
-
-
Benjamin Bertrand authored
Allow to trigger a new core service update only if there is none depending on the triggered inventory update. JIRA INFRA-895
-
- 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
Ensure that the trigger_core_services_update job is always processed before the other jobs (low queue). JIRA INFRA-887
-
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
-