Page MenuHomeDevCentral

Migrate cachet to Equatower
ClosedPublic

Authored by dereckson on Sep 8 2018, 08:23.
Tags
None
Referenced Files
F3716346: D1677.id4306.diff
Tue, Nov 5, 14:46
F3716345: D1677.id4303.diff
Tue, Nov 5, 14:46
F3716343: D1677.id4273.diff
Tue, Nov 5, 14:46
F3716282: D1677.id.diff
Tue, Nov 5, 14:15
F3716218: D1677.diff
Tue, Nov 5, 13:11
Unknown Object (File)
Wed, Oct 30, 13:38
Unknown Object (File)
Wed, Oct 30, 13:22
Unknown Object (File)
Sat, Oct 26, 22:36
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.