Skip to content
This repository has been archived by the owner on Dec 13, 2022. It is now read-only.

Clapi export not working #4829

Closed
fixlair opened this issue Dec 13, 2016 · 4 comments
Closed

Clapi export not working #4829

fixlair opened this issue Dec 13, 2016 · 4 comments
Labels
kind/bug status/more-info-needed Waiting for more information status/wont-fix The modifications won't fix the described issue
Milestone

Comments

@fixlair
Copy link

fixlair commented Dec 13, 2016


BUG REPORT INFORMATION

Centreon Web version: 2.8.1

Centreon Engine version: 1.6.1

Centreon Broker version: 3.0.1

OS: CentOS 6

Additional environment details (AWS, VirtualBox, physical, etc.): VMware

Steps to reproduce the issue:

Run clapi with "-e" option (export)

Describe the results you received:
The export failed
Stack trace:
/usr/share/centreon/lib/Zend/Db/Statement/Pdo.php(228): PDOStatement->execute(Array)
/usr/share/centreon/lib/Zend/Db/Statement.php(300): Zend_Db_Statement_Pdo->_execute(Array)
/usr/share/centreon/lib/Zend/Db/Adapter/Abstract.php(468): Zend_Db_Statement->execute(Array)
/usr/share/centreon/lib/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query('SELECT contactg...', Array)
Zend_Db_Adapter_Pdo_Abstract->query('SELECT contactg...', Array)
/usr/share/centreon/lib/Centreon/Object/Relation/Relation.php(189): Centreon_Object_Relation->getResult('SELECT contactg...', Ar in /usr/share/centreon/lib/Zend/Db/Statement/Pdo.php on line 234

Describe the results you expected:
Successfull clapi export

Additional information you think important (e.g. issue happens only occasionally):
It may be related to centreon/centreon#4705
And associated commit : centreon/centreon@9d564e2

@schau87
Copy link

schau87 commented Dec 14, 2016

Same issue on RHEL 7 as well. Cannot do clapi export. Is there a temporary work around to this problem ?

@fixlair
Copy link
Author

fixlair commented Dec 15, 2016

I used this very ugly temporary Workaround : I copied the bin/centreon and www/class/centreon-clapi just before the commit that I suspect broke this feature : centreon/centreon@9d564e2.

So to sum up I checkout this revision : centreon/centreon@9b2c347 and copied bin/centreon and www/class/centreon-clapi in my version 2.8.1 and export work again :)

@julienmathis julienmathis modified the milestones: 2.8.2, 2.8.4 Dec 15, 2016
@lpinsivy
Copy link
Contributor

Hi,

I Can't reproduce your bug using Centreon Web 2.8.2.

No error with export and a complete Centreon Clapi export

@lpinsivy lpinsivy added kind/bug status/more-info-needed Waiting for more information labels Jan 20, 2017
@thiuyendang thiuyendang added the status/wont-fix The modifications won't fix the described issue label Mar 17, 2017
@thiuyendang
Copy link
Contributor

Not reproduced with Centreon Web 2.8.5 (CentOs6 CentOs7).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
kind/bug status/more-info-needed Waiting for more information status/wont-fix The modifications won't fix the described issue
Projects
None yet
Development

No branches or pull requests

5 participants