[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Error while deploying GlusterFS on OpenShift Origin



Hi, 

I am getting below error while deploying glusterfs on OpenShift Origin 3.9. Could you please help me to fix this.

ansible-playbook -i host_glusterfs playbooks/deploy_cluster.yml -vvv --ask-become-pass

"\tAllowing block volumes on cluster.",
        "\tCreating node 192.168.68.26 ... Unable to create node: New Node doesn't have glusterd running",
        "\tCreating node 192.168.68.22 ... Unable to create node: New Node doesn't have glusterd running",
        "\tCreating node 192.168.68.51 ... Unable to create node: New Node doesn't have glusterd running"

If i run only Openshift-glusterfs playbook, it is adding only one node getting the below error
ansible-playbook -i host_glusterfs playbooks/openshift-glusterfs/config.yml -vvv --ask-become-pass

    "stdout": "Creating cluster ... ID: 6c19229a83918d2845964d07e7855364\n\tAllowing file volumes on cluster.\n\tAllowing block volumes on cluster.\n\tCreating node 192.168.68.26 ... ID: 894c617e0251b88d54841999a930abb8\n\t\tAdding device /dev/vdb ... ",
    "stdout_lines": [
        "Creating cluster ... ID: 6c19229a83918d2845964d07e7855364",
        "\tAllowing file volumes on cluster.",
        "\tAllowing block volumes on cluster.",
        "\tCreating node 192.168.68.26 ... ID: 894c617e0251b88d54841999a930abb8",
        "\t\tAdding device /dev/vdb ... "
    ]
ERROR:
"stderr": "Error: Failed to allocate new volume: No space\ncommand terminated with exit code 255",
    "stderr_lines": [
        "Error: Failed to allocate new volume: No space",
        "command terminated with exit code 255"
    ],

Inventory File:
[OSEv3:children]
masters
nodes
etcd
lb
glusterfs
glusterfs_registry

[OSEv3:vars]
ansible_ssh_user=balanna
ansible_become=true
openshift_release='v3.9'
openshift_deployment_type=origin

os_firewall_use_firewalld=false
openshift_use_openshift_sdn=False
os_sdn_network_plugin_name='cni'
openshift_use_calico=True

openshift_master_cluster_method=native
openshift_clock_enabled=true
openshift_use_dnsmasq=true
openshift_enable_service_catalog=false
openshift_disable_check=memory_availability,disk_availability

openshift_master_default_subdomain=nssopenshift.com
openshift_master_cluster_hostname=nssopenshift.com
openshift_master_cluster_public_hostname=nssopenshift.com
openshift_public_hostname=nssopenshift.com

osm_use_cockpit=true
osm_cockpit_plugins=['cockpit-kubernetes']

openshift_master_identity_providers=[{'name': 'htpasswd_auth', 'login': 'true', 'challenge': 'true', 'kind': 'HTPasswdPasswordIdentityProvider', 'filename': '/etc/origin/master/htpasswd'}]
openshift_master_htpasswd_users={'admin': '$apr1$zgSjCrLt$1KSuj66CggeWSv.D.BXOA1', 'user': '$apr1$.gw8w9i1$ln9bfTRiD6OwuNTG5LvW50'}

openshift_repos_enable_testing=True
openshift_disable_check=memory_availability,disk_availability,docker_storage

openshift_router_selector='region=infra'

#registry
openshift_registry_selector="region=infra"
openshift_hosted_registry_storage_kind=glusterfs

openshift_metrics_install_metrics=true
openshift_metrics_hawkular_nodeselector={"region":"infra"}
openshift_metrics_cassandra_nodeselector={"region":"infra"}
openshift_metrics_heapster_nodeselector={"region":"infra"}

openshift_logging_es_nodeselector={"region":"infra"}
openshift_logging_kibana_nodeselector={"region":"infra"}
openshift_logging_curator_nodeselector={"region":"infra"}

openshift_storage_glusterfs_registry_block_deploy=true
openshift_storage_glusterfs_registry_block_host_vol_size=50
openshift_storage_glusterfs_registry_block_storageclass=true
openshift_storage_glusterfs_registry_block_storageclass_default=true

openshift_storage_glusterfs_wipe=True
openshift_storageclass_default=false

# host group for masters
[masters]
njbbapida13z     openshift_public_hostname=njbbapida13z
njbbapida14z     openshift_public_hostname=njbbapida14z
njbbapida20z    openshift_public_hostname=njbbapida20z

[etcd]
njbbapida13z     openshift_public_hostname=njbbapida13z
njbbapida14z     openshift_public_hostname=njbbapida14z
njbbapida20z     openshift_public_hostname=njbbapida20z

[lb]
njbbapida19z     openshift_public_hostname=njbbapida19z
[nodes]
njbbapida13z     openshift_public_hostname=njbbapida13z   openshift_schedulable=True      openshift_node_labels="{'region': 'infra','zone': 'default'}"
njbbapida14z     openshift_public_hostname=njbbapida14z   openshift_schedulable=True      openshift_node_labels="{'region': 'primary','zone': 'default'}"
njbbapida20z     openshift_public_hostname=njbbapida20z   openshift_schedulable=True      openshift_node_labels="{'region': 'primary','zone': 'default'}"
njbbapida17z     openshift_public_hostname=njbbapida17z   openshift_schedulable=True      openshift_node_labels="{'region': 'primary','zone': 'default'}"
njbbapida18z     openshift_public_hostname=njbbapida18z   openshift_schedulable=True      openshift_node_labels="{'region': 'infra','zone': 'default'}"
njbbapida3z     openshift_public_hostname=njbbapida3z   openshift_schedulable=True      openshift_node_labels="{'region': 'infra','zone': 'default'}"

[glusterfs]
njbbapida17z     glusterfs_devices='[ "/dev/vdb" ]'
njbbapida14z     glusterfs_devices='[ "/dev/vdb" ]'
njbbapida20z     glusterfs_devices='[ "/dev/vdb" ]'

[glusterfs_registry]
njbbapida13z     glusterfs_devices='[ "/dev/vdb" ]'
njbbapida18z     glusterfs_devices='[ "/dev/vdb" ]'
njbbapida20z     glusterfs_devices='[ "/dev/vdb3" ]'

Thank you,
Naveen

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]