Fedora Account System
Red Hat Associate
Red Hat Customer
Description of problem: cns-deploy -n storage-project -g cns-topology.json Welcome to the deployment tool for GlusterFS on Kubernetes and OpenShift. Before getting started, this script has some requirements of the execution environment and of the container platform that you should verify. The client machine that will run this script must have: * Administrative access to an existing Kubernetes or OpenShift cluster * Access to a python interpreter 'python' * Access to the heketi client 'heketi-cli' Each of the nodes that will host GlusterFS must also have appropriate firewall rules for the required GlusterFS ports: * 2222 - sshd (if running GlusterFS in a pod) * 24007 - GlusterFS Daemon * 24008 - GlusterFS Management * 49152 to 49251 - Each brick for every volume on the host requires its own port. For every new brick, one new port will be used starting at 49152. We recommend a default range of 49152-49251 on each host, though you can adjust this to fit your needs. In addition, for an OpenShift deployment you must: * Have 'cluster_admin' role on the administrative account doing the deployment * Add the 'default' and 'router' Service Accounts to the 'privileged' SCC * Have a router deployed that is configured to allow apps to access services running in the cluster Do you wish to proceed with deployment? [Y]es, [N]o? [Default: Y]: Using OpenShift CLI. /usr/bin/cns-deploy: line 414: [[: 5 ov: syntax error in expression (error token is "ov") </snip> due to line 414 in /usr/bin/cns-deploy: oc_minor_version=$(${CLI} version | grep oc | awk '{ print $2 }' | cut -d '.' -f2) yum info cns-deploy Loaded plugins: product-id, search-disabled-repos, subscription-manager Installed Packages Name : cns-deploy Arch : x86_64 Version : 4.0.0 Release : 19.el7rhgs Size : 42 k Repo : installed From repo : rh-gluster-3-for-rhel-7-server-rpms Summary : Container-Native Storage deployment tool URL : https://github.com/gluster/gluster-kubernetes License : ASL 2.0 Description : cns-deploy is a tool to facilitate the deployment of a Container-Native Storage : solution using GlusterFS. Actual results: It fails Expected results: It should succeed without issue Additional info:
Ths fix is already there in cns-deploy > v22 build.
Verified
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHEA-2017:2881