mirror of
https://gerrit.ovirt.org/vdsm
synced 2026-02-05 12:46:23 +01:00
The helper fails on CentOS 8 trying to run /usr/bin/python2. Remove the execute bit and run using sys.executable. Change-Id: Ie994f904755b442e4d6cb435708464aa3ab006d1 Signed-off-by: Nir Soffer <nsoffer@redhat.com>
51 lines
1.5 KiB
Plaintext
51 lines
1.5 KiB
Plaintext
# Copyright 2018 Red Hat, Inc.
|
|
#
|
|
# This program is free software; you can redistribute it and/or modify
|
|
# it under the terms of the GNU General Public License as published by
|
|
# the Free Software Foundation; either version 2 of the License, or
|
|
# (at your option) any later version.
|
|
#
|
|
# This program is distributed in the hope that it will be useful,
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
# GNU General Public License for more details.
|
|
#
|
|
# You should have received a copy of the GNU General Public License
|
|
# along with this program; if not, write to the Free Software
|
|
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
#
|
|
# Refer to the README and COPYING files for full details of the license
|
|
#
|
|
|
|
from __future__ import absolute_import
|
|
from __future__ import print_function
|
|
|
|
|
|
print('''<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
|
<cliOutput>
|
|
<opRet>0</opRet>
|
|
<opErrno>0</opErrno>
|
|
<opErrstr/>
|
|
<volStatus>
|
|
<volumes>
|
|
<volume>
|
|
<volName>vol-2</volName>
|
|
<nodeCount>1</nodeCount>
|
|
<node>
|
|
<hostname>10.70.43.13</hostname>
|
|
<path>/gluster-bricks/brick-2/brick-2</path>
|
|
<peerid>bb8caa37-9dab-4fba-b3d5-418dcf6683c1</peerid>
|
|
<status>1</status>
|
|
<port>49152</port>
|
|
<ports>
|
|
<tcp>49152</tcp>
|
|
<rdma>N/A</rdma>
|
|
</ports>
|
|
<pid>19089</pid>
|
|
</node>
|
|
<tasks/>
|
|
</volume>
|
|
</volumes>
|
|
</volStatus>
|
|
</cliOutput>''')
|