Skip to content
Snippets Groups Projects
  1. Oct 27, 2020
  2. Oct 22, 2020
  3. Oct 21, 2020
    • Benjamin Bertrand's avatar
      Update rq and rq-dashboard · 5c572f0b
      Benjamin Bertrand authored
      - REDIS_URL is deprecated by rq-dashboard. Set RQ_DASHBOARD_REDIS_URL.
      - Change REDIS_URL to RQ_REDIS_URL.
      - Add favicon.ico under static directory as it's required by
        rq-dashboard...
      
      JIRA INFRA-2649
      5c572f0b
  4. Mar 05, 2020
  5. Feb 21, 2020
  6. Sep 18, 2019
  7. Aug 22, 2019
    • Benjamin Bertrand's avatar
      Implement user access on network scope · a89b002f
      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
      a89b002f
  8. Jun 14, 2019
  9. May 10, 2019
    • Benjamin Bertrand's avatar
      Allow service users to login · acf48256
      Benjamin Bertrand authored
      LDAP_USER_DN was set to "OU=ESS Users" preventing to find service
      account users.
      Leaving it empty and relying only on LDAP_BASE_DN allows service users
      to login.
      
      JIRA INFRA-1022 #action In Progress
      acf48256
  10. Apr 23, 2019
  11. Apr 05, 2019
  12. Apr 03, 2019
  13. Mar 18, 2019
    • Benjamin Bertrand's avatar
      Trigger AWX inventory update on database change · e000c2f0
      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
      e000c2f0
    • Benjamin Bertrand's avatar
      Use queues of different priorities · f30a711b
      Benjamin Bertrand authored
      Ensure that the trigger_core_services_update job is always processed
      before the other jobs (low queue).
      
      JIRA INFRA-887
      f30a711b
    • Benjamin Bertrand's avatar
      Allow users to create VM/VIOC · 8f209774
      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
      8f209774
    • Benjamin Bertrand's avatar
      Add osversion field to CreateVMForm · dbe8ad11
      Benjamin Bertrand authored
      - vm_osversion is passed as extra variables to the create_vm job
      template
      - vm_cores/vm_memory/vm_disk_size are also passed as extra variables
      instead of saving them as host variables. Saving the variables in the
      host when submitting the form forces to update the inventory before to
      trigger the job to create the VM. This can be avoided using extra
      variables. Furthermore those variables don't need to be in the
      inventory, they can be retrieved as facts.
      
      JIRA INFRA-877
      dbe8ad11
  14. Mar 07, 2019
  15. Mar 05, 2019
    • Benjamin Bertrand's avatar
      Allow to launch a workflow job · 7cdc15f4
      Benjamin Bertrand authored
      New resource argument can be passed to launch_job_template.
      It is optional and is set to "job" by default.
      Shall be set to "workflow_job" to run a workflow template.
      
      Note that passing the workflow name didn't work during my test.
      The id had to be used instead.
      
      JIRA INFRA-867 #action In Progress
      7cdc15f4
    • Benjamin Bertrand's avatar
      Update VIOC core choices · cc6cf0c9
      Benjamin Bertrand authored
      cc6cf0c9
  16. Jan 28, 2019
    • Benjamin Bertrand's avatar
      Add post install job after VM creation · 4d2dcf3b
      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
      4d2dcf3b
  17. Jan 23, 2019
    • Benjamin Bertrand's avatar
      Pass disk size in inventory when creating VM · 0d575840
      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
      0d575840
  18. Nov 30, 2018
  19. Nov 27, 2018
  20. Nov 09, 2018
  21. Oct 05, 2018
  22. Sep 28, 2018
    • Benjamin Bertrand's avatar
      Add button to export items to excel file · 8471ec5b
      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
      8471ec5b
  23. Sep 14, 2018
  24. Jul 17, 2018
  25. Jul 06, 2018
  26. Jul 03, 2018
  27. May 25, 2018
    • Benjamin Bertrand's avatar
      Allow to easily identify staging server · 3f3b43a7
      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
      3f3b43a7
  28. May 23, 2018
Loading