Equatower: Difference between revisions
From Nasqueron Agora
|  (Network troubleshoot) | |||
| Line 3: | Line 3: | ||
| New services, provisionned by SaltStack through our rOPS repository, should be deployed to Equatower. | New services, provisionned by SaltStack through our rOPS repository, should be deployed to Equatower. | ||
| == PaaS Docker == | |||
| === Containers === | === Containers === | ||
| {| class="wikitable sortable" | {| class="wikitable sortable" | ||
| Line 36: | Line 37: | ||
| | 38080 || Jenkins || back-end web server | | 38080 || Jenkins || back-end web server | ||
| |} | |} | ||
| == Troubleshoot == | |||
| === No network at boot time === | |||
| Access the machine on the hypervisor, then: | |||
| ;Check the interface is up: | |||
|     ip addr | |||
|     ifup ens192 # to bring it up | |||
| The interface to use is the one connected to the main network, with 00:50:56:0c:53:94 as MAC address. It normally should be defined at ens192. | |||
| ;If you've reset the configuration and need to add again the IP: | |||
|     ip addr add 51.255.124.10/32 dev ens192 | |||
| ;Routing is probably the issue: | |||
|     ip route add 91.121.86.254 dev ens192 | |||
|     ip route add default via 91.121.86.254 | |||
| ;Same for the case we can ping/ssh (slowly) from [[Ysul]] but not from the world: | |||
|     ip route change 91.121.86.254 dev ens192 | |||
|     ip route change default via 91.121.86.254 | |||
| ;Reconfigure the IPv6 tunnel | |||
| At some point, the Linux route2 method stopped to work, but the Linux net-tools method still work. | |||
|     ip tunnel del he-ipv6 | |||
|     /sbin/ipv6-setup-tunnel | |||
Revision as of 21:24, 9 November 2018
Equatower is an infrastructure server used to serve Docker containers.
New services, provisionned by SaltStack through our rOPS repository, should be deployed to Equatower.
PaaS Docker
Containers
| Group | Container | Image | Purpose | 
|---|---|---|---|
| jenkins_cd | jenkins | jenkinsci/jenkins | Jenkins master for CD | 
| jenkins_cd | apsile | nasqueron/jenkins-slave-php | Jenkins slave | 
| jenkins_cd | elapsi | nasqueron/jenkins-slave-php | Jenkins slave | 
| openfire | openfire | gizmotronic/openfire | XMPP server | 
| phpbb | phpbb_db | nasqueron/mysql | MySQL server for phpBB PaaS | 
| phpbb | phpbb_ook | nasqueron/nginx-php7-fpm | QA container for phpBB PaaS | 
| phpbb | phpbb_test | nasqueron/nginx-php7-fpm | dev container for phpBB PaaS | 
Ports
| Port | Service | Purpose | 
|---|---|---|
| 3478 | Openfire | STUN / TURN | 
| 5222 | Openfire | C2S XMPP | 
| 5263 | Openfire | S2S XMPP | 
| 38080 | Jenkins | back-end web server | 
Troubleshoot
No network at boot time
Access the machine on the hypervisor, then:
- Check the interface is up
ip addr ifup ens192 # to bring it up
The interface to use is the one connected to the main network, with 00:50:56:0c:53:94 as MAC address. It normally should be defined at ens192.
- If you've reset the configuration and need to add again the IP
ip addr add 51.255.124.10/32 dev ens192
- Routing is probably the issue
ip route add 91.121.86.254 dev ens192 ip route add default via 91.121.86.254
- Same for the case we can ping/ssh (slowly) from Ysul but not from the world
ip route change 91.121.86.254 dev ens192 ip route change default via 91.121.86.254
- Reconfigure the IPv6 tunnel
At some point, the Linux route2 method stopped to work, but the Linux net-tools method still work.
ip tunnel del he-ipv6 /sbin/ipv6-setup-tunnel

