Projet

Général

Profil

Probleme provisionning - postes sans service

Ajouté par al REN il y a environ 5 ans

Bonjour,

J'utilise la dernière version Xivio Deneb et suite a une coupure electrique mes postes telephoniques Mitel sont en etat "sans service". De plus en mettant un poste en autoprov, impossible de provisionner le poste.

J'ai vérifié l'ensemble des services sont démarré :

root@xivo:~# xivo-service status
Checking database...
        OK
Checking services...
        running         dahdi
        running         xivo-sysconfd
        running         xivo-confgend
        running         xivo-confd
        running         xivo-auth
        running         xivo-dxtora
        running         xivo-provd
        running         xivo-agid
        running         asterisk
        running         xivo-amid
        running         xivo-call-logs
        running         xivo-agentd
        running         xivo-ctid
        running         xivo-dird
        running         xivo-dird-phoned
        running         config_mgt
        running         outcall

En faisant un test de provisioning et en composant l'identifiant de l'utilisateur, pas de message "merci" mais des bip d'indisponibilité.

Une idée, une piste pour résoudre ce probleme?


Réponses (2)

RE: Probleme provisionning - postes sans service - Ajouté par al REN il y a environ 5 ans

Je poste une copie de mes log provd

RE: Probleme provisionning - postes sans service - Ajouté par al REN il y a environ 5 ans

Je vois cette erreur dans le log provd :

2019-11-22 18:35:41,349 [6315] (INFO) (provd.synchronize): Registering synchronize service: <provd.synchronize.AsteriskAMISynchronizeService object at 0x7f13dc9ccbd0>
2019-11-22 18:35:41,349 [6315] (INFO) (provd.localization): Registering localization service: <provd.localization.LocalizationService object at 0x7f13dc9ccb10>
2019-11-22 18:35:41,349 [6315] (INFO) (provd.main): Using json database with default generator and config {'json_db_dir': '/var/lib/xivo-provd/jsondb', 'ensure_common_indexes': True}
2019-11-22 18:35:41,350 [6315] (INFO) (provd.persist.util): Creating index on complex key mac
2019-11-22 18:35:41,351 [6315] (INFO) (provd.persist.util): Creating index on complex key ip
2019-11-22 18:35:41,351 [6315] (INFO) (provd.persist.util): Creating index on complex key sn
2019-11-22 18:35:41,352 [6315] (INFO) (provd.app): Using base raw config {u'tftp_port': 69, u'_comment': u'see provd.conf for info about this file', u'http_port': 8667, u'ip': u'10.173.0.200'}
2019-11-22 18:35:41,352 [6315] (INFO) (provd.app): Loading all plugins
2019-11-22 18:35:41,352 [6315] (INFO) (provd.plugins): Loading plugin zero
2019-11-22 18:35:41,358 [6315] (INFO) (provd.app): Configuring plugin zero with config {u'tftp_port': 69, u'_comment': u'see provd.conf for info about this file', u'http_port': 8667, u'ip': u'10.173.0.200'}
2019-11-22 18:35:41,358 [6315] (INFO) (provd.plugins): Loading plugin null
2019-11-22 18:35:41,358 [6315] (INFO) (provd.app): Configuring plugin null with config {u'tftp_port': 69, u'_comment': u'see provd.conf for info about this file', u'http_port': 8667, u'ip': u'10.173.0.200'}
2019-11-22 18:35:41,358 [6315] (INFO) (provd.plugins): Loading plugin xivo-aastra-4.3.0
2019-11-22 18:35:41,366 [6315] (INFO) (provd.app): Configuring plugin xivo-aastra-4.3.0 with config {u'tftp_port': 69, u'_comment': u'see provd.conf for info about this file', u'http_port': 8667, u'ip': u'10.173.0.200'}
2019-11-22 18:35:41,366 [6315] (INFO) (provd.app): Loaded 3 plugins.
2019-11-22 18:35:41,367 [6315] (INFO) (provd.main): Binding HTTP provisioning service to port 8667
2019-11-22 18:35:41,368 [6315] (WARNING) (provd.main): No authentication is required for REST API
2019-11-22 18:35:41,368 [6315] (INFO) (provd.main): Binding HTTP REST API service to "127.0.0.1:8666"
2019-11-22 18:37:43,266 [6315] (INFO) (provd.app): Creating new config
2019-11-22 18:37:43,269 [6315] (INFO) (provd.app): Updating device 57a808b0cb2f4e32b243fd97ad1d2ce1
2019-11-22 18:37:43,269 [6315] (INFO) (provd.app): Deconfiguring device 57a808b0cb2f4e32b243fd97ad1d2ce1 with plugin xivo-aastra-4.3.0
2019-11-22 18:37:43,270 [6315] (INFO) (provd.app): Configuring device 57a808b0cb2f4e32b243fd97ad1d2ce1 with plugin xivo-aastra-4.3.0
2019-11-22 18:37:43,290 [6315] (INFO) (provd.plugins): Using template 6865i.tpl
2019-11-22 18:37:43,290 [6315] (INFO) (provd.plugins): Writing template to file "/var/lib/xivo-provd/plugins/xivo-aastra-4.3.0/var/tftpboot/Aastra/00085D6AA88D.cfg"
2019-11-22 18:37:43,310 [6315] (INFO) (provd.app): Updating config
2019-11-22 18:37:43,311 [6315] (INFO) (provd.app): config has not changed, ignoring update
2019-11-22 18:37:43,312 [6315] (INFO) (provd.app): Deleting config autoprov1574453883
2019-11-22 18:37:43,312 [6315] (ERROR) (provd.app): Error while deleting config
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/provd/app.py", line 680, in cfg_delete
    raise InvalidIdError(e)
InvalidIdError: autoprov1574453883
2019-11-22 18:37:43,318 [6315] (INFO) (provd.app): Synchronizing device 57a808b0cb2f4e32b243fd97ad1d2ce1
2019-11-22 18:37:43,318 [6315] (INFO) (provd.app): Synchronizing device 57a808b0cb2f4e32b243fd97ad1d2ce1 with plugin xivo-aastra-4.3.0
2019-11-22 18:37:43,340 [6315] (INFO) (provd.synchronize): Connecting to AMI 127.0.0.1:5038...
2019-11-22 18:37:43,340 [6315] (INFO) (provd.synchronize): Connected to AMI 127.0.0.1
2019-11-22 18:37:43,341 [6315] (INFO) (provd.synchronize): Invalid AMI line: Asterisk Call Manager/5.0.1
2019-11-22 18:37:43,363 [6315] (INFO) (provd.devices.ident): Processing HTTP request: /Aastra/security.tuz
2019-11-22 18:37:43,364 [6315] (INFO) (provd.devices.ident): <0> Extracted device info: {u'ip': u'10.173.0.11', u'model': u'6865i', u'version': u'4.3.0.1052', u'vendor': u'Aastra', u'mac': u'00:08:5d:6a:a8:8d'}
2019-11-22 18:37:43,364 [6315] (INFO) (provd.devices.ident): <0> Retrieved device id: 57a808b0cb2f4e32b243fd97ad1d2ce1
2019-11-22 18:37:43,365 [6315] (INFO) (provd.devices.ident): <0> Routing request to plugin xivo-aastra-4.3.0
2019-11-22 18:37:43,369 [6315] (INFO) (provd.devices.ident): Processing HTTP request: /Aastra/startup.cfg
2019-11-22 18:37:43,370 [6315] (INFO) (provd.devices.ident): <1> Extracted device info: {u'ip': u'10.173.0.11', u'model': u'6865i', u'version': u'4.3.0.1052', u'vendor': u'Aastra', u'mac': u'00:08:5d:6a:a8:8d'}
2019-11-22 18:37:43,370 [6315] (INFO) (provd.devices.ident): <1> Retrieved device id: 57a808b0cb2f4e32b243fd97ad1d2ce1
2019-11-22 18:37:43,370 [6315] (INFO) (provd.devices.ident): <1> Routing request to plugin xivo-aastra-4.3.0
2019-11-22 18:37:43,374 [6315] (INFO) (provd.devices.ident): Processing HTTP request: /Aastra/aastra.cfg
2019-11-22 18:37:43,374 [6315] (INFO) (provd.devices.ident): <2> Extracted device info: {u'ip': u'10.173.0.11', u'model': u'6865i', u'version': u'4.3.0.1052', u'vendor': u'Aastra', u'mac': u'00:08:5d:6a:a8:8d'}
2019-11-22 18:37:43,374 [6315] (INFO) (provd.devices.ident): <2> Retrieved device id: 57a808b0cb2f4e32b243fd97ad1d2ce1
2019-11-22 18:37:43,374 [6315] (INFO) (provd.devices.ident): <2> Routing request to plugin xivo-aastra-4.3.0
2019-11-22 18:37:43,379 [6315] (INFO) (provd.devices.ident): Processing HTTP request: /Aastra/6865i.cfg
2019-11-22 18:37:43,379 [6315] (INFO) (provd.devices.ident): <3> Extracted device info: {u'ip': u'10.173.0.11', u'model': u'6865i', u'version': u'4.3.0.1052', u'vendor': u'Aastra', u'mac': u'00:08:5d:6a:a8:8d'}
2019-11-22 18:37:43,379 [6315] (INFO) (provd.devices.ident): <3> Retrieved device id: 57a808b0cb2f4e32b243fd97ad1d2ce1
2019-11-22 18:37:43,379 [6315] (INFO) (provd.devices.ident): <3> Routing request to plugin xivo-aastra-4.3.0
2019-11-22 18:37:43,382 [6315] (INFO) (provd.devices.ident): Processing HTTP request: /Aastra/00085D6AA88D.cfg
2019-11-22 18:37:43,383 [6315] (INFO) (provd.devices.ident): <4> Extracted device info: {u'ip': u'10.173.0.11', u'model': u'6865i', u'version': u'4.3.0.1052', u'vendor': u'Aastra', u'mac': u'00:08:5d:6a:a8:8d'}
2019-11-22 18:37:43,383 [6315] (INFO) (provd.devices.ident): <4> Retrieved device id: 57a808b0cb2f4e32b243fd97ad1d2ce1
2019-11-22 18:37:43,383 [6315] (INFO) (provd.app): Updating device 57a808b0cb2f4e32b243fd97ad1d2ce1
2019-11-22 18:37:43,384 [6315] (INFO) (provd.devices.ident): <4> Routing request to plugin xivo-aastra-4.3.0
2019-11-22 18:37:43,384 [6315] (INFO) (provd.security): Sensitive file requested from 10.173.0.11: 00085D6AA88D.cfg
2019-11-22 18:37:43,392 [6315] (INFO) (provd.devices.ident): Processing HTTP request: /Aastra/6865i.st
2019-11-22 18:37:43,393 [6315] (INFO) (provd.devices.ident): <5> Extracted device info: {u'ip': u'10.173.0.11', u'model': u'6865i', u'version': u'4.3.0.1052', u'vendor': u'Aastra', u'mac': u'00:08:5d:6a:a8:8d'}
2019-11-22 18:37:43,395 [6315] (INFO) (provd.devices.ident): <5> Retrieved device id: 57a808b0cb2f4e32b243fd97ad1d2ce1
2019-11-22 18:37:43,396 [6315] (INFO) (provd.devices.ident): <5> Routing request to plugin xivo-aastra-4.3.0
2019-11-22 18:40:30,030 [6315] (INFO) (provd.devices.ident): Processing HTTP request: /Aastra/security.tuz
2019-11-22 18:40:30,030 [6315] (INFO) (provd.devices.ident): <6> Extracted device info: {u'ip': u'10.173.0.11', u'model': u'6865i', u'version': u'4.3.0.1052', u'vendor': u'Aastra', u'mac': u'00:08:5d:6a:a8:8d'}
2019-11-22 18:40:30,031 [6315] (INFO) (provd.devices.ident): <6> Retrieved device id: 57a808b0cb2f4e32b243fd97ad1d2ce1
2019-11-22 18:40:30,031 [6315] (INFO) (provd.devices.ident): <6> Routing request to plugin xivo-aastra-4.3.0
2019-11-22 18:40:30,035 [6315] (INFO) (provd.devices.ident): Processing HTTP request: /Aastra/startup.cfg
2019-11-22 18:40:30,035 [6315] (INFO) (provd.devices.ident): <7> Extracted device info: {u'ip': u'10.173.0.11', u'model': u'6865i', u'version': u'4.3.0.1052', u'vendor': u'Aastra', u'mac': u'00:08:5d:6a:a8:8d'}
2019-11-22 18:40:30,036 [6315] (INFO) (provd.devices.ident): <7> Retrieved device id: 57a808b0cb2f4e32b243fd97ad1d2ce1
2019-11-22 18:40:30,036 [6315] (INFO) (provd.devices.ident): <7> Routing request to plugin xivo-aastra-4.3.0
2019-11-22 18:40:30,039 [6315] (INFO) (provd.devices.ident): Processing HTTP request: /Aastra/aastra.cfg
2019-11-22 18:40:30,039 [6315] (INFO) (provd.devices.ident): <8> Extracted device info: {u'ip': u'10.173.0.11', u'model': u'6865i', u'version': u'4.3.0.1052', u'vendor': u'Aastra', u'mac': u'00:08:5d:6a:a8:8d'}
2019-11-22 18:40:30,039 [6315] (INFO) (provd.devices.ident): <8> Retrieved device id: 57a808b0cb2f4e32b243fd97ad1d2ce1
2019-11-22 18:40:30,040 [6315] (INFO) (provd.devices.ident): <8> Routing request to plugin xivo-aastra-4.3.0
2019-11-22 18:40:30,043 [6315] (INFO) (provd.devices.ident): Processing HTTP request: /Aastra/6865i.cfg
2019-11-22 18:40:30,043 [6315] (INFO) (provd.devices.ident): <9> Extracted device info: {u'ip': u'10.173.0.11', u'model': u'6865i', u'version': u'4.3.0.1052', u'vendor': u'Aastra', u'mac': u'00:08:5d:6a:a8:8d'}
2019-11-22 18:40:30,043 [6315] (INFO) (provd.devices.ident): <9> Retrieved device id: 57a808b0cb2f4e32b243fd97ad1d2ce1
2019-11-22 18:40:30,044 [6315] (INFO) (provd.devices.ident): <9> Routing request to plugin xivo-aastra-4.3.0
2019-11-22 18:40:30,047 [6315] (INFO) (provd.devices.ident): Processing HTTP request: /Aastra/00085D6AA88D.cfg
2019-11-22 18:40:30,047 [6315] (INFO) (provd.devices.ident): <10> Extracted device info: {u'ip': u'10.173.0.11', u'model': u'6865i', u'version': u'4.3.0.1052', u'vendor': u'Aastra', u'mac': u'00:08:5d:6a:a8:8d'}
2019-11-22 18:40:30,047 [6315] (INFO) (provd.devices.ident): <10> Retrieved device id: 57a808b0cb2f4e32b243fd97ad1d2ce1
2019-11-22 18:40:30,048 [6315] (INFO) (provd.devices.ident): <10> Routing request to plugin xivo-aastra-4.3.0
2019-11-22 18:40:30,048 [6315] (INFO) (provd.security): Sensitive file requested from 10.173.0.11: 00085D6AA88D.cfg
2019-11-22 18:40:30,053 [6315] (INFO) (provd.devices.ident): Processing HTTP request: /Aastra/aastra.lic
2019-11-22 18:40:30,053 [6315] (INFO) (provd.devices.ident): <11> Extracted device info: {u'ip': u'10.173.0.11', u'model': u'6865i', u'version': u'4.3.0.1052', u'vendor': u'Aastra', u'mac': u'00:08:5d:6a:a8:8d'}
2019-11-22 18:40:30,053 [6315] (INFO) (provd.devices.ident): <11> Retrieved device id: 57a808b0cb2f4e32b243fd97ad1d2ce1
2019-11-22 18:40:30,053 [6315] (INFO) (provd.devices.ident): <11> Routing request to plugin xivo-aastra-4.3.0
2019-11-22 18:40:30,057 [6315] (INFO) (provd.devices.ident): Processing HTTP request: /Aastra/00085D6AA88D.lic
2019-11-22 18:40:30,057 [6315] (INFO) (provd.devices.ident): <12> Extracted device info: {u'ip': u'10.173.0.11', u'model': u'6865i', u'version': u'4.3.0.1052', u'vendor': u'Aastra', u'mac': u'00:08:5d:6a:a8:8d'}
2019-11-22 18:40:30,057 [6315] (INFO) (provd.devices.ident): <12> Retrieved device id: 57a808b0cb2f4e32b243fd97ad1d2ce1
2019-11-22 18:40:30,057 [6315] (INFO) (provd.devices.ident): <12> Routing request to plugin xivo-aastra-4.3.0
2019-11-22 18:40:42,265 [6315] (INFO) (provd.devices.ident): Processing HTTP request: /Aastra/6865i.st
2019-11-22 18:40:42,266 [6315] (INFO) (provd.devices.ident): <13> Extracted device info: {u'ip': u'10.173.0.11', u'model': u'6865i', u'version': u'4.3.0.1052', u'vendor': u'Aastra', u'mac': u'00:08:5d:6a:a8:8d'}
2019-11-22 18:40:42,266 [6315] (INFO) (provd.devices.ident): <13> Retrieved device id: 57a808b0cb2f4e32b243fd97ad1d2ce1
2019-11-22 18:40:42,267 [6315] (INFO) (provd.devices.ident): <13> Routing request to plugin xivo-aastra-4.3.0
2019-11-22 18:40:42,604 [6315] (INFO) (provd.devices.ident): Processing HTTP request: /Aastra/i18n/lang_fr.txt
2019-11-22 18:40:42,604 [6315] (INFO) (provd.devices.ident): <14> Extracted device info: {u'ip': u'10.173.0.11', u'model': u'6865i', u'version': u'4.3.0.1052', u'vendor': u'Aastra', u'mac': u'00:08:5d:6a:a8:8d'}
2019-11-22 18:40:42,604 [6315] (INFO) (provd.devices.ident): <14> Retrieved device id: 57a808b0cb2f4e32b243fd97ad1d2ce1
2019-11-22 18:40:42,605 [6315] (INFO) (provd.devices.ident): <14> Routing request to plugin xivo-aastra-4.3.0

    (1-2/2)