Skip to content

Instantly share code, notes, and snippets.

@audebert
Last active April 9, 2016 07:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save audebert/53d8a1d6833ec8f4085f0ecebf3e7283 to your computer and use it in GitHub Desktop.
Save audebert/53d8a1d6833ec8f4085f0ecebf3e7283 to your computer and use it in GitHub Desktop.
Prologin SADM
fail pendant l'installation du venv -> c'est bon c'est les packages qui ne
suppotent pas les wheels python (successeurs des eggs).
resolved ne prend pas en compte les DNS indiqués dans *.network -> euh si, wtf,
à investiguer
RFE: activer la réplication postgres ?
TODO: mettre à jour openresty
python install.py mdb problème postrges qui n'écoute pas usr ipv6 ->
modification du pg_hba.conf
workaround tant qu'on est pas certifié ipv6 : disable ipv6 sur la machine
---
Jan 20 16:46:52 gw nginx[8728]: 2016/01/20 16:46:52 [emerg] 8728#0: "location" directive is not allowed here in /etc/nginx/nginx.conf:51
workaround: passer les blocks location {} dans les deux blocs server {} -> :/
---
make bin/undionly.kpxe EMBED=/root/sadm/python-lib/prologin/netboot/script.ipxe
net/tls.c:1640:19: error: initialization discards ‘const’ qualifier from pointer target type [-Werror=discarded-array-qualifiers]
void *payload = &handshake->payload;
^
cc1: all warnings being treated as errors
Makefile.housekeeping:851: recipe for target 'bin/tls.o' failed
workaround:
make bin/undionly.kpxe EMBED=/root/sadm/python-lib/prologin/netboot/script.ipxe NO_WERROR=1
---
TODO: suggest editing the configuration directly on the repository on gw
Jan 20 17:22:05 gw udb[19322]: [WARNING] /var/prologin/venv/lib/python3.5/site-packages/ProloginSADM-1.0-py3.5.egg/prologin/udb/views.py:31: RemovedInDjango19Warning: `request.REQUEST` is deprecated, use `request.GET` or `request.POST` instead.
args = dict(request.REQUEST)
Jan 20 17:22:05 gw udb[19322]: [WARNING] /var/prologin/venv/lib/python3.5/site-packages/django/core/handlers/wsgi.py:126: RemovedInDjango19Warning: `MergeDict` is deprecated, use `dict.update ()` instead.
self._request = datastructures.MergeDict(self.POST, self.GET)
TODO: rename upstream -> uplink partout
TODO: fix les shared_secret
systemctl status netboot
Jan 20 17:35:45 gw systemd[20063]: netboot.service: Failed at step CHDIR spawning /var/prologin/venv/bin/gunicorn: No such file or directory
----
----
----
----
rhfs
----
rfs/install.sh devrait être dans bootstrap
note: la conf dns ne prend pas en compte le domain qui est envoyé en DHCP, en
fait c'est une feature
Désactiver l'offloading sur la carte
ethtool -K lan gso off gro off tso off
...skipping...
[ 2665.584556] e1000e 0000:00:19.0 lan: Detected Hardware Unit Hang:
TDH <5a>
TDT <83>
next_to_use <83>
next_to_clean <41>
buffer_info[next_to_clean]:
time_stamp <1000acc5b>
next_to_watch <4a>
jiffies <1000ad2ba>
next_to_watch.status <0>
MAC Status <80083>
PHY Status <796d>
PHY 1000BASE-T Status <3800>
PHY Extended Status <3000>
PCI Status <10>
[ 2666.590831] e1000e 0000:00:19.0 lan: Reset adapter unexpectedly
[ 2670.388576] e1000e: lan NIC Link is Up 1000 Mbps Full Duplex, Flow Control: None
[ 2866.677366] e1000e 0000:00:19.0 lan: Detected Hardware Unit Hang:
TDH <f7>
TDT <37>
next_to_use <37>
next_to_clean <ee>
buffer_info[next_to_clean]:
time_stamp <1000bbcb6>
next_to_watch <f7>
jiffies <1000bbe46>
next_to_watch.status <0>
MAC Status <80083>
PHY Status <796d>
PHY 1000BASE-T Status <3800>
PHY Extended Status <3000>
PCI Status <10>
[ 2868.678165] e1000e 0000:00:19.0 lan: Detected Hardware Unit Hang:
TDH <f7>
TDT <37>
next_to_use <37>
next_to_clean <ee>
buffer_info[next_to_clean]:
time_stamp <1000bbcb6>
next_to_watch <f7>
jiffies <1000bc09e>
next_to_watch.status <0>
MAC Status <80083>
PHY Status <796d>
PHY 1000BASE-T Status <3800>
PHY Extended Status <3000>
PCI Status <10>
[ 2870.678933] e1000e 0000:00:19.0 lan: Detected Hardware Unit Hang:
TDH <f7>
TDT <37>
next_to_use <37>
next_to_clean <ee>
buffer_info[next_to_clean]:
time_stamp <1000bbcb6>
next_to_watch <f7>
jiffies <1000bc2f6>
next_to_watch.status <0>
MAC Status <80083>
PHY Status <796d>
PHY 1000BASE-T Status <3800>
PHY Extended Status <3000>
PCI Status <10>
TODO: faire un rankmirror et copier le résultat sur toutes les installs
-> Enable and start the services need to serve the rfs
--> Enable and start the services needed to serve the rfs
TODO: /srv/tftp/initrd à renommer pour que ce soit le même nommage que l'initrd
de arch
@audebert
Copy link
Author

audebert commented Apr 9, 2016

TODO:

  • documenter notre non-compatilibé ipv6 et ajouter le sysctl qui le désactive
  • nginx: corriger les fichiers de conf
  • ipxe: il faut rebase le lldp de la branche de mareo sur master
  • autre : investiguer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment