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
F3943028: D2858.id7286.diff
Wed, Dec 25, 03:47
Unknown Object (File)
Sun, Dec 22, 16:02
Unknown Object (File)
Sat, Dec 21, 04:51
Unknown Object (File)
Thu, Dec 19, 06:19
Unknown Object (File)
Fri, Dec 13, 16:59
Unknown Object (File)
Thu, Dec 12, 05:57
Unknown Object (File)
Sat, Dec 7, 19:53
Unknown Object (File)
Sat, Dec 7, 18:51
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