Project

General

Profile

Tâche #19521

Scénario #19465: Vérifier la viabilité des actions déjà implémentées et effectuer les corrections nécessaires

Les actions Salt devraient gérer les pillars avec des données Unicode

Added by Lohysia MOUETTE over 4 years ago. Updated over 4 years ago.

Status:
Ne sera pas résolu
Priority:
Normal
Assigned To:
-
Start date:
03/06/2017
Due date:
% Done:

100%

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

Description

Corriger les actions Salt pour qu'elles gèrent les pillars avec des données Unicode ;

Error while parsing request (malformed arguments): 'unicode' object has no attribute 'get'

2017-03-06 16:04:11,933 [root             ][ERROR   ][31997] Error while parsing request (malformed arguments):
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/salt/netapi/rest_eole/saltnado.py", line 960, in disbatch
    client = low.get('client')
AttributeError: 'unicode' object has no attribute 'get'
2017-03-06 16:12:17,856 [root             ][ERROR   ][31997] Error while parsing request (malformed arguments):
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/salt/netapi/rest_eole/saltnado.py", line 960, in disbatch
    client = low.get('client')
AttributeError: 'unicode' object has no attribute 'get'

Pour tous les types d'exécution et options il faut gérer les données unicode

Actions concernées :

- Mise à jour
- Redémarrer
- Eteindre
- Reconfigurer
- Tâches planifiées
- Sauvegarde

Ou bien faire en sorte que saltstack recoive des données str provenant des recettes sls (ce qui implique un hack de saltstack...)

Associated revisions

Revision fc0e763a (diff)
Added by Emmanuel GARETTE over 4 years ago

add salt support to tiramisu-web (ref #19521)

Revision ea0566d9 (diff)
Added by Emmanuel GARETTE over 4 years ago

add salt support to tiramisu-web (ref #19521)

Revision 6adccaf1 (diff)
Added by Lionel Morin over 4 years ago

Manage unicode strings in sls files

ref #19521

Revision a1760eac (diff)
Added by Lionel Morin over 4 years ago

Manage unicode strings in sls files

ref #19521

History

#1 Updated by Lohysia MOUETTE over 4 years ago

  • Subject changed from Correction de l'action "Mise à jour" : erreur Saltstack to Correction : erreur Saltstack - Error while parsing request (malformed arguments): 'unicode' object has no attribute 'get'
  • Description updated (diff)
  • Estimated time set to 3.00 h
  • Remaining (hours) set to 3.0

#2 Updated by Lohysia MOUETTE over 4 years ago

  • Description updated (diff)

#3 Updated by Lohysia MOUETTE over 4 years ago

  • Description updated (diff)

#4 Updated by Lohysia MOUETTE over 4 years ago

  • Description updated (diff)

#5 Updated by Lohysia MOUETTE over 4 years ago

  • Description updated (diff)

#6 Updated by Lohysia MOUETTE over 4 years ago

  • Description updated (diff)

#7 Updated by Lohysia MOUETTE over 4 years ago

  • Remaining (hours) changed from 3.0 to 2.0

#8 Updated by Gwenael Remond over 4 years ago

  • Subject changed from Correction : erreur Saltstack - Error while parsing request (malformed arguments): 'unicode' object has no attribute 'get' to Les actions Salt devraient gérer les pillars avec des données Unicode
  • Description updated (diff)

#9 Updated by Gwenael Remond over 4 years ago

  • Status changed from Nouveau to Ne sera pas résolu

#10 Updated by Gwenael Remond over 4 years ago

  • % Done changed from 0 to 100
  • Remaining (hours) changed from 2.0 to 0.0

déjà résolu par ailleurs

Also available in: Atom PDF