SURFscz / SRAM-deploy

Deploy scripts for the SCZ
Apache License 2.0
5 stars 5 forks source link

Onderhoudsschermen #292

Closed baszoetekouw closed 1 year ago

baszoetekouw commented 2 years ago

De loadbalancer kan een custom scherm laten zien als er backends in onderhoud zijn (of anderszins kapot zijn). Momenteel ziet dat er zo uit:

Image

Ik zou hier graag een wat vriendelijkere melding/scherm/plaatje laten zien. Kunnen jullie iets ontwerpen?

FlorisFokkinga commented 2 years ago

@baszoetekouw, wat is hier mogelijk? HTML + CSS?

baszoetekouw commented 2 years ago

Een platte htmlpagina idd. Plaatjes ed kunnen ook, maar die moeten waarschijnlijk worden geembed (maar dat kunnen we altijd achteraf nog in elkaar knutselen).

FlorisFokkinga commented 2 years ago

undraw_server_down_s-4-lk

Oops, SURF Research Access Management is not available at the moment. Hopefully, this was planned. We'll be back soon!

FlorisFokkinga commented 2 years ago

@arnoutt, wat vind je hiervan?

arnoutt commented 2 years ago

Top!

FlorisFokkinga commented 2 years ago

SRAM_down.html.txt

arnoutt commented 2 years ago

Ziet er goed uit! Ik denk alleen dat het plaatje net iets te groot is, kan die nog wat kleiner?

FlorisFokkinga commented 2 years ago

Afbeelding is nu maximaal 960px breed. SRAM_down_960.html.txt

mrvanes commented 1 year ago

Het lijkt er op dat de file te groot is ofzo, maar ik vind geen Google referentie haproxy[2293]: [ALERT] 331/082959 (2293) : parsing [/etc/haproxy/haproxy.cfg:36] : errorfile : '/etc/haproxy/errors/503.http': unable to add payload into the HTX message

Wel de regel die verantwoordelijk is voor de error: https://fossies.org/linux/haproxy/src/http_htx.c (regel 991)

Ondanks dat het hier om een ALERT gaat, weigert haproxy te starten met deze file.

baszoetekouw commented 1 year ago

Indeed, the docs mention this:

The files are parsed when HAProxy starts and must be valid according to the HTTP specification. They should not exceed the configured buffer size (BUFSIZE), which generally is 16 kB, otherwise an internal error will be returned.

http://cbonte.github.io/haproxy-dconv/2.2/configuration.html#errorfile%20%28Alphabetically%20sorted%20keywords%20reference%29

I'll try to reduce the size of the page.

baszoetekouw commented 1 year ago

ter referentie: de max size is 65419 bytes

mrvanes commented 1 year ago

Getest, Martin