Page MenuHomeDevCentral

Use 172.18.3.0/24 as Docker network for Sentry containers
ClosedPublic

Authored by dereckson on Mar 7 2023, 22:46.
Tags
None
Referenced Files
F3774044: D2858.diff
Sun, Nov 24, 09:28
F3769937: D2858.diff
Sat, Nov 23, 18:17
Unknown Object (File)
Thu, Nov 21, 06:43
Unknown Object (File)
Mon, Nov 18, 19:53
Unknown Object (File)
Mon, Nov 18, 19:22
Unknown Object (File)
Sun, Nov 17, 23:38
Unknown Object (File)
Sun, Nov 17, 23:38
Unknown Object (File)
Fri, Nov 15, 02:45
Subscribers
None

Details

Diff Detail

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

Event Timeline

dereckson created this revision.
Complector
$ salt docker-002 state.apply roles/paas-docker/docker/networks
docker-002:
----------
[…]
          ID: docker_network_sentry
    Function: docker_network.present
        Name: sentry
      Result: True
     Comment: Network 'sentry' created
     Started: 22:49:11.811458
    Duration: 89.937 ms
     Changes:
              ----------
              created:
                  True
[…]
docker-002
$ ifconfig
[…]
br-7746dc876ded: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        inet 172.18.3.1  netmask 255.255.255.0  broadcast 172.18.3.255
        ether 02:42:7a:3f:09:02  txqueuelen 0  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 16  bytes 1336 (1.3 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
[…]

$ deploy-container exim
[…]
----------
          ID: sentry_smtp
    Function: docker_container.running
      Result: True
     Comment: Container 'sentry_smtp' is already configured as specified. Disconnected from network 'bridge'. Connected to network 'sentry'.
     Started: 22:52:41.827874
    Duration: 2461.931 ms
     Changes:
              ----------
              container:
                  ----------
                  Networks:
                      ----------
                      bridge:
                          ----------
                          Gateway:
                              ----------
                              new:
                                  None
                              old:
                                  172.17.0.1
                          IPAddress:
                              ----------
                              new:
                                  None
                              old:
                                  172.17.0.21
                      sentry:
                          ----------
                          Gateway:
                              ----------
                              new:
                                  172.18.3.1
                              old:
                                  None
                          IPAddress:
                              ----------
                              new:
                                  172.18.3.2
                              old:
                                  None
[…]
This revision is now accepted and ready to land.Mar 7 2023, 22:54