Project

General

Profile

Tâche #17447

Scénario #17358: Correction à faire sur Seth avant la RC

Traceback lors de l'instance d'un DC2.

Added by Fabrice Barconnière almost 5 years ago. Updated almost 5 years ago.

Status:
Fermé
Priority:
Normal
Start date:
09/30/2016
Due date:
% Done:

0%

Estimated time:
3.00 h
Spent time:
Remaining (hours):
0.0

Description

Un serveur DC1 est déjà instancié. L'instance du DC2 échoue :

-------------------------------------------------------------------------------------------------------------------------------------
                                                  Exécution des scripts postservice                                                  
-------------------------------------------------------------------------------------------------------------------------------------
run-parts: executing /usr/share/eole/postservice/25-manage-samba instance
Initialisation DC Secondaire
Generation de la clef SSH pour les echanges entre DC
Envoi de la clef SSH dc2 vers le DC 192.168.0.5
/usr/bin/ssh-copy-id: INFO: attempting to log in with the new key(s), to filter out any that are already installed

/usr/bin/ssh-copy-id: WARNING: All keys were skipped because they already exist on the remote system.
        (if you think this is a mistake, you may want to use -f option)

id_rsa.pub                                                                                         100%  390     0.4KB/s   00:00    
.eole-ad-dc                                                                                        100%   11     0.0KB/s   00:00    
ssh_on_dc 192.168.0.5 : /usr/share/eole/sbin/createDnsRecord dc2 192.168.0.6
Host dc2.ac-test.lan. not found: 3(NXDOMAIN)
Record added successfully
Finding a writeable DC for domain 'ac-test.lan'
ERROR(exception): uncaught exception - Failed to find a writeable DC for domain 'ac-test.lan'
  File "/usr/lib/python2.7/dist-packages/samba/netcmd/__init__.py", line 175, in _run
    return self.run(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/samba/netcmd/domain.py", line 621, in run
    machinepass=machinepass, use_ntvfs=use_ntvfs, dns_backend=dns_backend)
  File "/usr/lib/python2.7/dist-packages/samba/join.py", line 1148, in join_DC
    machinepass, use_ntvfs, dns_backend, promote_existing)
  File "/usr/lib/python2.7/dist-packages/samba/join.py", line 79, in __init__
    ctx.server = ctx.find_dc(domain)
  File "/usr/lib/python2.7/dist-packages/samba/join.py", line 267, in find_dc
    raise Exception("Failed to find a writeable DC for domain '%s'" % domain)
run-parts: /usr/share/eole/postservice/25-manage-samba exited with return code 255
Erreur : postservice

Associated revisions

Revision aa649ed6 (diff)
Added by Fabrice Barconnière almost 5 years ago

DNS DC distants si le serveur est additionnal DC

ref #17447 @1h

History

#1 Updated by Fabrice Barconnière almost 5 years ago

On trouve 127.0.0.1 dans /etc/resolv.conf.
En supprimant cette ligne, la jonction se fait.

#2 Updated by Fabrice Barconnière almost 5 years ago

Il faut que le dc1 puisse résoudre le dns du dc2 avant que dc2 fasse la jonction.

#3 Updated by Scrum Master almost 5 years ago

  • Status changed from Nouveau to En cours

#4 Updated by Scrum Master almost 5 years ago

  • Assigned To set to Fabrice Barconnière

#5 Updated by Scrum Master almost 5 years ago

  • Status changed from En cours to Fermé
  • Remaining (hours) changed from 3.0 to 0.0

Also available in: Atom PDF