Reviewed: https://review.openstack.org/415165 Committed: https://git.openstack.org/cgit/openstack/ceilometer/commit/?id=dea42810ef9f29c5ede0076bfd4d2788235bcbd3 Submitter: Jenkins Branch: stable/mitaka
commit dea42810ef9f29c5ede0076bfd4d2788235bcbd3 Author: Hanxi Liu <email address hidden> Date: Tue Dec 27 17:09:11 2016 +0800
Fix the gate failure because of several issues
1. Fix expecting content-type headers in gabbit tests, the headers don't contain the charset anymore, just remove it.
2. Use 'endpoint_type' instead of 'interface' while init novaclient, because novaclient has deprecated the name 'interface', see[1].
3. Don't use novaclient.HTTPClient, since the 'HTTPCLient' has been deprecated in novaclient, see[2].
[1] https://review.openstack.org/#/c/406299/ [2] https://review.openstack.org/#/c/408728/
Closes-Bug: #1652414 Change-Id: I07790b2a270fd4dc4ca95e95b01fbd41b4c43cf3 (cherry picked from commit 23acafbd9ddaff65b927fc2cbad33b9ed3f118b0) Co-Authored-By: Julien Danjou <email address hidden> Co-Authored-By: liusheng <email address hidden>
Reviewed: https:/ /review. openstack. org/415165 /git.openstack. org/cgit/ openstack/ ceilometer/ commit/ ?id=dea42810ef9 f29c5ede0076bfd 4d2788235bcbd3
Committed: https:/
Submitter: Jenkins
Branch: stable/mitaka
commit dea42810ef9f29c 5ede0076bfd4d27 88235bcbd3
Author: Hanxi Liu <email address hidden>
Date: Tue Dec 27 17:09:11 2016 +0800
Fix the gate failure because of several issues
1. Fix expecting content-type headers in gabbit tests, the headers don't
contain the charset anymore, just remove it.
2. Use 'endpoint_type' instead of 'interface' while init novaclient,
because novaclient has deprecated the name 'interface', see[1].
3. Don't use novaclient. HTTPClient, since the 'HTTPCLient' has been
deprecated in novaclient, see[2].
[1] https:/ /review. openstack. org/#/c/ 406299/ /review. openstack. org/#/c/ 408728/
[2] https:/
Closes-Bug: #1652414 dc4ca95e95b01fb d41b4c43cf3 5b927fc2cbad33b 9ed3f118b0)
Change-Id: I07790b2a270fd4
(cherry picked from commit 23acafbd9ddaff6
Co-Authored-By: Julien Danjou <email address hidden>
Co-Authored-By: liusheng <email address hidden>