Project

General

Profile

Actions

Bug #24119

closed

GLPI plugin fails to send inventory

Added by Nicolas CHARLES 9 months ago. Updated 8 months ago.

Status:
Released
Priority:
N/A
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
To do
Regression:
Yes

Description

With glpi 9, a user has the following error

rudder02:~# curl -w “%{http_code}” -H “Content-Type: Application/x-compress” -k  --data @/var/rudder/inventories/received/blacksmith01-ca2177c3-2386-4d89-90a5-210047b0fc44.ocs https://<GLPI Server>/plugins/fusioninventory/
curl: (6) Could not resolve host: Application
“000”<!DOCTYPE html>
<html lang=“fr”><head><title>GLPI - Accès refusé</title><meta charset=“utf-8”><meta http-equiv=“X-UA-Compatible” content=“IE=edge”
Actions #1

Updated by Benoît PECCATTE 9 months ago

The command line is dubious. It contains “ (left double quote) instead of " (classic double quote)

I reproduce the error with “ but not with "

So it looks a lot like a copy paste that has gone through word or libreoffice before uting it in a terminal.

Actions #2

Updated by Benoît PECCATTE 8 months ago

  • Status changed from New to In progress
  • Assignee set to Benoît PECCATTE
Actions #3

Updated by Benoît PECCATTE 8 months ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Benoît PECCATTE to Nicolas CHARLES
  • Pull Request set to https://github.com/Normation/rudder-plugins/pull/665
Actions #4

Updated by Benoît PECCATTE 8 months ago

  • Status changed from Pending technical review to Pending release
Actions #5

Updated by Vincent MEMBRÉ 8 months ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder plugin glpi v8.0.6-2.1

Actions #6

Updated by Vincent MEMBRÉ 8 months ago

This bug has been fixed in Rudder plugin glpi v7.3.12-2.1

Actions #7

Updated by Vincent MEMBRÉ 8 months ago

This bug has been fixed in Rudder plugin glpi v8.1.0.beta1-2.1

Actions

Also available in: Atom PDF