Page MenuHomeDevCentral

Migrate cachet to Equatower
ClosedPublic

Authored by dereckson on Sep 8 2018, 08:23.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Nov 22, 11:42
Unknown Object (File)
Fri, Nov 22, 10:52
Unknown Object (File)
Fri, Nov 22, 10:50
Unknown Object (File)
Fri, Nov 22, 09:54
Unknown Object (File)
Fri, Nov 22, 04:19
Unknown Object (File)
Fri, Nov 22, 02:33
Unknown Object (File)
Tue, Nov 12, 09:39
Unknown Object (File)
Sun, Nov 10, 08:53
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 Passed
Unit
No Test Coverage
Branch
cachet (branched from master)
Build Status
Buildable 2642
Build 2890: arc lint + arc unit

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.