Page MenuHomeDevCentral

Migrate cachet to Equatower
ClosedPublic

Authored by dereckson on Sep 8 2018, 08:23.
Tags
None
Referenced Files
F2745624: D1677.id4273.diff
Thu, Mar 28, 23:39
F2744306: D1677.id.diff
Thu, Mar 28, 16:04
F2743897: D1677.id4273.diff
Thu, Mar 28, 12:30
Unknown Object (File)
Thu, Mar 28, 02:35
Unknown Object (File)
Thu, Mar 28, 01:44
Unknown Object (File)
Sat, Mar 23, 13:28
Unknown Object (File)
Fri, Mar 22, 23:46
Unknown Object (File)
Fri, Mar 22, 22:04
Subscribers
None

Details

Summary

This is the first attempt to use Zemke-Rhyne in a Salt configuration.
This should be migrated to a more convenient secret store like Vault.

Test Plan

Diff Detail

Repository
rOPS Nasqueron Operations
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

dereckson created this revision.
dereckson retitled this revision from Migrate cachet to DevCentral to Migrate cachet to Equatower.Sep 8 2018, 19:08

kill TODO (Vault tasks are everywhere), use zr wrapper

Ok for container part:

$ salt equatower state.apply roles/paas-docker/containers/cachet 
equatower:
----------
          ID: cachet
    Function: docker_container.running
      Result: True
     Comment: Created container 'cachet'
     Started: 19:10:08.082956
    Duration: 49730.474 ms
     Changes:   
              ----------
              container_id:
                  ----------
                  added:
                      38f4f5f14350f398351b2fecf87911b5990eec6683d01fdddbd1292dfe12bab2
              image:
                  ----------
                  Layers:
                      ----------
                      Already_Pulled:
                          - f2b6b4884fc8
                      Pulled:
                          - 808c7a8eeb35
                          - c17210e14f41
                          - 0cebb0a8384f
                          - fc221e5364cd
                          - 0aafb1e3080a
                          - b37667570094
                          - a3ed95caeb02
                          - 3b8d91fe7572
                          - 46503f548bc7
                          - 10d31ae69387
                          - 4715b09a7935
                          - e83028ea0d14
                          - 9a662c55425b
                          - 9487084d2b3a
                  Status:
                      Downloaded newer image for dereckson/cachet
                  Time_Elapsed:
                      1.612185001373291
                  retcode:
                      0
              state:
                  ----------
                  new:
                      running
                  old:
                      None

Summary for equatower
------------
Succeeded: 1 (changed=1)
Failed:    0
------------
Total states run:     1
Total run time:  49.730 s
This revision is now accepted and ready to land.Sep 8 2018, 19:52

There is an issue with the app (doesn't read DB_PASSWORD, at least not from .env file and not from environment), but as far as the deployment is concerned, all works fine.

This will be tracked at T1415.

This revision was automatically updated to reflect the committed changes.