FUSS issueshttps://gitlab.fuss.bz.it/groups/fuss/-/issues2020-08-26T09:23:56Zhttps://gitlab.fuss.bz.it/fuss/fuss-server/-/issues/284Commento di esempio per dhcp-reservations2020-08-26T09:23:56ZChristopher R. GabrielCommento di esempio per dhcp-reservations<!--_Originally created by @Christopher R. Gabriel on [#284 (Redmine)](http://www.example.org/issues/284)_-->
Il file /etc/fuss-server/dhcp-reservations, creato da fuss-server create
e utilizzato come include dal server dhcp, sarebbe co...<!--_Originally created by @Christopher R. Gabriel on [#284 (Redmine)](http://www.example.org/issues/284)_-->
Il file /etc/fuss-server/dhcp-reservations, creato da fuss-server create
e utilizzato come include dal server dhcp, sarebbe comodo se include,
come commento, un esempio di configurazione (come presente anche sul
wiki come documentazione) per poter avere un riferimento anche offline.Christopher R. GabrielChristopher R. Gabrielhttps://gitlab.fuss.bz.it/fuss/fuss-server/-/issues/260apt update2020-08-26T09:24:03ZHelmut.Oberholllenzerapt update<!--_Originally created by @Helmut Oberholllenzer on [#260 (Redmine)](http://www.example.org/issues/260)_-->
Hallo,
habe gerade einen neuen Server installiert und ein apt update gestartet:
Hit <http://archive.fuss.bz.it> jessie/contri...<!--_Originally created by @Helmut Oberholllenzer on [#260 (Redmine)](http://www.example.org/issues/260)_-->
Hallo,
habe gerade einen neuen Server installiert und ein apt update gestartet:
Hit <http://archive.fuss.bz.it> jessie/contrib amd64 Packages
Hit <http://archive.fuss.bz.it> jessie/main amd64 Packages
Ign <http://archive.fuss.bz.it> jessie/contrib Translation-en\_US
Ign <http://archive.fuss.bz.it> jessie/contrib Translation-en
Ign <http://archive.fuss.bz.it> jessie/main Translation-en\_US
Ign <http://archive.fuss.bz.it> jessie/main Translation-en
Err <http://httpredir.debian.org> jessie-backports/contrib
Translation-en
Err <http://httpredir.debian.org> jessie-backports/main Translation-en
Err <http://httpredir.debian.org> jessie-backports/contrib
Translation-en
404 Not Found \[IP: 151.101.128.204 80\]
Err <http://httpredir.debian.org> jessie-backports/main Translation-en
404 Not Found \[IP: 151.101.128.204 80\]
Fetched 61.7 kB in 4min 1s (255 B/s)
W: Failed to fetch
<http://httpredir.debian.org/debian/dists/jessie-backports/contrib/i18n/Translation-en>
404 Not Found \[IP: 151.101.128.204 80\]
W: Failed to fetch
<http://httpredir.debian.org/debian/dists/jessie-backports/main/i18n/Translation-en>
404 Not Found \[IP: 151.101.128.204 80\]
E: Some index files failed to download. They have been ignored, or old
ones used instead.Helmut.OberholllenzerHelmut.Oberholllenzerhttps://gitlab.fuss.bz.it/fuss/fuss-manager/-/issues/824Aggiungere un macaddress a mano all'elenco delle macchine note2021-08-06T09:09:13ZElena GrandiAggiungere un macaddress a mano all'elenco delle macchine note<!--_Originally created by @Elena Grandi on [#824 (Redmine)](http://www.example.org/issues/824)_-->
Per poter iniziare ad assegnare informazioni alla macchina prendendo
l’informazione dalla scatola della stessa, prima della sua accensione<!--_Originally created by @Elena Grandi on [#824 (Redmine)](http://www.example.org/issues/824)_-->
Per poter iniziare ad assegnare informazioni alla macchina prendendo
l’informazione dalla scatola della stessa, prima della sua accensione0.99 feature futureMark CaglienziMark Caglienzihttps://gitlab.fuss.bz.it/fuss/fuss-server/-/issues/242isc-dhcp options2020-08-26T09:24:08ZMichael.Guggenbergisc-dhcp options<!--_Originally created by @Michael Guggenberg on [#242 (Redmine)](http://www.example.org/issues/242)_-->
man page:
allow booting; deny booting; ignore booting;
The booting flag is used to tell dhcpd whether or not to respond to
quer...<!--_Originally created by @Michael Guggenberg on [#242 (Redmine)](http://www.example.org/issues/242)_-->
man page:
allow booting; deny booting; ignore booting;
The booting flag is used to tell dhcpd whether or not to respond to
queries from a particular client. This keyword only has meaning when it
appears in a host declaration. By default, booting is allowed, but if it
is disabled for a particular client, then that client will not be able
to get an address from the DHCP server.
authoritative;
The DHCP server will normally assume that the configuration information
about a given network segment is not known to be correct and is not
authoritative.
Network administrators setting up authoritative DHCP servers for their
networks should always write authoritative; at the top of their
configuration file to indicate that the DHCP server should send DHCPNAK
messages to misconfigured clients.
update-static-leases on;
The update-static-leases flag, if enabled, causes the DHCP server to do
DNS updates for clients even if those clients are being assigned their
IP address using a fixed-address statement.
use-host-decl-names on;
If the use-host-decl-names parameter is true the name provided for the
host declaration will be supplied to the client as its hostname.
### Related issues
- **Related to** fuss/octonet#244Michael.GuggenbergMichael.Guggenberghttps://gitlab.fuss.bz.it/fuss/fuss-server/-/issues/234isc-dhcp-server ddns-update-style2020-08-26T09:24:14ZMichael.Guggenbergisc-dhcp-server ddns-update-style<!--_Originally created by @Michael Guggenberg on [#234 (Redmine)](http://www.example.org/issues/234)_-->
ddns-update-style
standard;
<https://deepthought.isc.org/article/AA-01091/0/ISC-DHCP-support-for-Standard-DDNS.html>
Per far s...<!--_Originally created by @Michael Guggenberg on [#234 (Redmine)](http://www.example.org/issues/234)_-->
ddns-update-style
standard;
<https://deepthought.isc.org/article/AA-01091/0/ISC-DHCP-support-for-Standard-DDNS.html>
Per far sì che record già esistenti vengono attualizati.
### Related issues
- **Related to** fuss/fuss-server#229Michael.GuggenbergMichael.Guggenberghttps://gitlab.fuss.bz.it/fuss/octonet/-/issues/250OctoNet - Scheda "Samba Service" crash2020-08-26T09:28:26ZPaolo.BarattaOctoNet - Scheda "Samba Service" crash<!--_Originally created by @Paolo Baratta on [#250 (Redmine)](http://www.example.org/issues/250)_-->
Ciao Christofer
Come richiesto, ecco qui sotto l’esito del debug relativo alla scheda
“Samba service”
Environment:
Request Method: ...<!--_Originally created by @Paolo Baratta on [#250 (Redmine)](http://www.example.org/issues/250)_-->
Ciao Christofer
Come richiesto, ecco qui sotto l’esito del debug relativo alla scheda
“Samba service”
Environment:
Request Method: GET
Request URL: <http://localhost:13402/samba/>
Django Version: 1.8.16
Python Version: 3.4.2
Installed Applications:
\[‘django.contrib.sessions’,
‘django.contrib.messages’,
‘whitenoise.runserver\_nostatic’,
‘django.contrib.staticfiles’,
‘octonet’,
‘hostqueue.apps.HostQueue’,
‘firewall.apps.Firewall’,
‘dhcp.apps.Dhcp’,
‘dansguardian.apps.DansGuardian’,
‘host.apps.Host’,
‘polygen.apps.Polygen’,
‘upgrade.apps.Upgrade’,
‘asterisk.apps.Asterisk’,
‘samba.apps.Samba’,
‘users.apps.Users’,
‘script.apps.Script’,
‘quota.apps.Quota’,
‘printers.apps.Printers’,
‘auth.apps.Auth’\]
Installed Middleware:
\[‘django.middleware.security.SecurityMiddleware’,
‘whitenoise.middleware.WhiteNoiseMiddleware’,
‘django.contrib.sessions.middleware.SessionMiddleware’,
‘django.middleware.common.CommonMiddleware’,
‘django.middleware.csrf.CsrfViewMiddleware’,
‘django.middleware.locale.LocaleMiddleware’,
‘octonet.middleware.AuthenticationMiddleware’,
‘django.contrib.messages.middleware.MessageMiddleware’,
‘django.middleware.clickjacking.XFrameOptionsMiddleware’\]
Traceback:
File “/usr/lib/python3/dist-packages/django/core/handlers/base.py” in
get\_response
132\. response = wrapped\_callback(request,
**callback\_args,**\*callback\_kwargs)
File “/usr/lib/python3/dist-packages/django/views/generic/base.py” in
view
71\. return self.dispatch(request, **args,**\*kwargs)
File “/usr/share/octonet/octonet/mixins.py” in dispatch
105\. return super().dispatch(request, **args,**\*kw)
File “/usr/lib/python3/dist-packages/django/views/generic/base.py” in
dispatch
89\. return handler(request, **args,**\*kwargs)
File “/usr/lib/python3/dist-packages/django/views/generic/base.py” in
get
158\. context = self.get\_context\_data(\*\*kwargs)
File “/usr/share/octonet/octonet/mixins.py” in get\_context\_data
72\. ctx = super().get\_context\_data(\*\*kw)
File “/usr/share/octonet/samba/views.py” in get\_context\_data
24\. shares = tree.lget(\[\])
File “/usr/lib/python3/dist-packages/octofuss/tree.py” in lget
157\. return self.tree.lget(self.root + path, \*\*kw)
File “/usr/lib/python3/dist-packages/octofuss/xmlrpc.py” in lget
94\. return self.\_wrap\_call(self.server.get, “/”.join(path))
File “/usr/lib/python3/dist-packages/octofuss/xmlrpc.py” in
\_wrap\_call
78\. raise exception\_serializer.from\_dict(res\[“exc”\])
Exception Type: Exception at /samba/
Exception Value: Bad parameter name\! \[SERVERROLE\]Christopher R. GabrielChristopher R. Gabrielhttps://gitlab.fuss.bz.it/fuss/fuss-client/-/issues/375Sostituzione di libpam-foreground con libpam-ck-connector2020-08-26T09:17:08ZPaolo.DongilliSostituzione di libpam-foreground con libpam-ck-connector<!--_Originally created by @Paolo Dongilli on [#375 (Redmine)](http://www.example.org/issues/375)_-->
Mi sono accorto che fuss-client installa
libpam-foreground
che però è un dummy package che installa
libpam-ck-connector
...<!--_Originally created by @Paolo Dongilli on [#375 (Redmine)](http://www.example.org/issues/375)_-->
Mi sono accorto che fuss-client installa
libpam-foreground
che però è un dummy package che installa
libpam-ck-connector
Propongo di sostituire il dummy package con `libpam-ck-connector`
in
<https://work.fuss.bz.it/projects/fuss-client/repository/revisions/master/entry/ansible/roles/ldap/tasks/main.yml>
ed nelle dipendenze di
fuss-client-dependencies
PS: me ne sono accorto perché ieri ho voluto provare ad installare ed
eseguire fuss-client su di una Debian 9.1
(<https://cdimage.debian.org/debian-cd/current-live/amd64/iso-hybrid/debian-live-9.1.0-amd64-xfce.iso)>
ed a parte le due piccole modifiche di cui sopra, l’aggancio al server è
andato liscio come l’olio. Meraviglioso\!Paolo.DongilliPaolo.Dongillihttps://gitlab.fuss.bz.it/fuss/fuss-server/-/issues/221Duplicate sources.list entry2020-08-26T09:24:26ZMichael.GuggenbergDuplicate sources.list entry<!--_Originally created by @Michael Guggenberg on [#221 (Redmine)](http://www.example.org/issues/221)_-->
1. grep -r jessie-backports /etc/apt/\*
/etc/apt/sources.list:deb <http://httpredir.debian.org/debian>
jessie-backports...<!--_Originally created by @Michael Guggenberg on [#221 (Redmine)](http://www.example.org/issues/221)_-->
1. grep -r jessie-backports /etc/apt/\*
/etc/apt/sources.list:deb <http://httpredir.debian.org/debian>
jessie-backports main contrib
/etc/apt/sources.list.d/httpredir\_debian\_org\_debian.list:deb
<http://httpredir.debian.org/debian/> jessie-backports mainMichael.GuggenbergMichael.Guggenberghttps://gitlab.fuss.bz.it/fuss/fuss-manager/-/issues/800Gestire nei test il caso in cui inotify-tools non è installato2020-08-28T09:33:52ZElena GrandiGestire nei test il caso in cui inotify-tools non è installato<!--_Originally created by @Elena Grandi on [#800 (Redmine)](http://www.example.org/issues/800)_-->
Nel caso in cui inotify-tools non sia installato, i test falliscono
perché in `manager/sources/inotifywait.py` c’è `path_inotifywait =
s...<!--_Originally created by @Elena Grandi on [#800 (Redmine)](http://www.example.org/issues/800)_-->
Nel caso in cui inotify-tools non sia installato, i test falliscono
perché in `manager/sources/inotifywait.py` c’è `path_inotifywait =
shutil.which("inotifywait")` che ha valore `None`.
In quel caso `Inotifywait.is_viable()` è false, per cui fuss-manager
funziona.
Potrebbe essere il caso di skippare i test relativi, eventualmente
fornendo warning a riguardo.
(nota: il pacchetto recommends inotify-tools, che quindi in situazioni
normali viene installato)0.9 ConsolidamentoEnrico ZiniEnrico Zinihttps://gitlab.fuss.bz.it/fuss/fuss-server/-/issues/159Correggere lo screenshot iniziale di Clonazione_di_macchine_con_clonezilla2020-08-26T09:24:58ZElena GrandiCorreggere lo screenshot iniziale di Clonazione_di_macchine_con_clonezilla<!--_Originally created by @Elena Grandi on [#159 (Redmine)](http://www.example.org/issues/159)_-->
Se/quando il server fornirà anche l’immagine di installazione di
fuss-client, bisognerà correggere il primo screenshot su
\[\[server:Clo...<!--_Originally created by @Elena Grandi on [#159 (Redmine)](http://www.example.org/issues/159)_-->
Se/quando il server fornirà anche l’immagine di installazione di
fuss-client, bisognerà correggere il primo screenshot su
\[\[server:Clonazione\_di\_macchine\_con\_clonezilla\]\] perché
comprenda anche quello.
Apro il ticket per ricordarsi di farlo in futuroElena GrandiElena Grandihttps://gitlab.fuss.bz.it/fuss/fuss-server/-/issues/152Verifica documentazione clonezilla.2020-08-26T09:25:00ZSimone PiccardiVerifica documentazione clonezilla.<!--_Originally created by @Simone Piccardi on [#152 (Redmine)](http://www.example.org/issues/152)_-->
La sequenza di immagini mostrata su \[\[server:Clonazione di macchine
con clonezilla\]\] mi risulta diversa da quella che ottengo con...<!--_Originally created by @Simone Piccardi on [#152 (Redmine)](http://www.example.org/issues/152)_-->
La sequenza di immagini mostrata su \[\[server:Clonazione di macchine
con clonezilla\]\] mi risulta diversa da quella che ottengo con
clonezilla su virtualbox. Va riverificata.
### Attachments
* [Schermata a 2017-03-02 20-39-24.png](https://work.fuss.bz.it/attachments/download/476/Schermata%20a%202017-03-02%2020-39-24.png)Simone PiccardiSimone Piccardihttps://gitlab.fuss.bz.it/fuss/fuss-server/-/issues/35Server di stampa Pykota2020-08-26T09:25:47ZMassimo.PrevidiServer di stampa Pykota<!--_Originally created by @Massimo Previdi on [#35 (Redmine)](http://www.example.org/issues/35)_-->
Su sollecito del referente icbz2,
(alle don bosco consumano troppo toner stampanti)
torno “alla carica” sulla possibilità di inserir...<!--_Originally created by @Massimo Previdi on [#35 (Redmine)](http://www.example.org/issues/35)_-->
Su sollecito del referente icbz2,
(alle don bosco consumano troppo toner stampanti)
torno “alla carica” sulla possibilità di inserire delle quote stampa.
Ezio aveva segnalato il
link:
<http://www.linuxtrent.it/documentazione/pillole-e-annotazioni-tecniche/pillola-48-configurare-server-di-stampa-cups-pykota-qu>
Per favore Andrea chiedi a Simone Piccardi se la cosa è fattibile
grazie
MassimoSimone PiccardiSimone Piccardihttps://gitlab.fuss.bz.it/fuss/fuss-manager/-/issues/956Non ricaricare inventario di ansible alla partenza se non è stato modificato2021-06-21T17:36:31ZEnrico ZiniNon ricaricare inventario di ansible alla partenza se non è stato modificatoUna volta caricato un file di host, o salvato all'uscita, possiamo salvare nel database informazioni tipo st_dev, st_ino, st_size, st_mtime. Se alla partenza successiva di fuss-manager queste informazioni non sono cambiate, possiamo salt...Una volta caricato un file di host, o salvato all'uscita, possiamo salvare nel database informazioni tipo st_dev, st_ino, st_size, st_mtime. Se alla partenza successiva di fuss-manager queste informazioni non sono cambiate, possiamo saltare il passaggio del syncEnrico ZiniEnrico Zinihttps://gitlab.fuss.bz.it/fuss/fuss-manager/-/issues/957Usare scritture atomiche in SimpleAnsibleInventory2021-08-06T10:42:12ZEnrico ZiniUsare scritture atomiche in SimpleAnsibleInventoryAl momento una scrittura interrotta dell'inventory di Ansible lascia un file corrotto.
Possiamo cambiare la `open` con un `atomic_writer` (preso per esempio da
https://salsa.debian.org/nm-team/nm.debian.org/-/blob/master/backend/utils.p...Al momento una scrittura interrotta dell'inventory di Ansible lascia un file corrotto.
Possiamo cambiare la `open` con un `atomic_writer` (preso per esempio da
https://salsa.debian.org/nm-team/nm.debian.org/-/blob/master/backend/utils.py#L25 )
per evitare il problema, e sovrascrivere l'inventory di Ansible precedente solo se la scrittura è andata a buon fine0.9 Consolidamentohttps://gitlab.fuss.bz.it/fuss/fuss-manager/-/issues/958SimpleAnsibleInventory dà errore parsando tests/data/inventories/good.ini2021-07-05T12:20:02ZEnrico ZiniSimpleAnsibleInventory dà errore parsando tests/data/inventories/good.iniPer riprodurre:
```
from manager.stores import SimpleAnsibleInventory
inventory = SimpleAnsibleInventory("tests/data/inventories/good.ini")
inventory.load()
```
risultato:
```
$ python3 test.py
Traceback (most recent call last):
File...Per riprodurre:
```
from manager.stores import SimpleAnsibleInventory
inventory = SimpleAnsibleInventory("tests/data/inventories/good.ini")
inventory.load()
```
risultato:
```
$ python3 test.py
Traceback (most recent call last):
File "test.py", line 3, in <module>
inventory.load()
File "/home/enrico/lavori/truelite/fuss/fuss-manager/manager/stores.py", line 632, in load
self._load_vars()
File "/home/enrico/lavori/truelite/fuss/fuss-manager/manager/stores.py", line 758, in _load_vars
self._cycle_hosts(self._load_host_vars)
File "/home/enrico/lavori/truelite/fuss/fuss-manager/manager/stores.py", line 738, in _cycle_hosts
if self.inventory['all']['hosts']:
TypeError: string indices must be integers
```Enrico ZiniEnrico Zinihttps://gitlab.fuss.bz.it/fuss/fuss-manager/-/issues/970Logo di fuss-manager2021-08-06T08:48:50ZEnrico ZiniLogo di fuss-managerHo messo un quadrato nel posto dove ci starebbe un logo di fuss-manager o anche solo di fuss.
Se ne abbiamo uno, si può cercare di sostituire.Ho messo un quadrato nel posto dove ci starebbe un logo di fuss-manager o anche solo di fuss.
Se ne abbiamo uno, si può cercare di sostituire.0.10 InterfacciaElena GrandiElena Grandi