kubernetes-sigs / kubespray

Deploy a Production Ready Kubernetes Cluster
Apache License 2.0
15.88k stars 6.41k forks source link

Hi .. I am facing issue while installing cluster on RHEL 7 servers #2790

Closed manunmathew closed 6 years ago

manunmathew commented 6 years ago

Is this a BUG REPORT or FEATURE REQUEST? (choose one):

Environment:

Kubespray version (commit) (git rev-parse --short HEAD):

Network plugin used:

Copy of your inventory file:

Command used to invoke ansible:

Output of ansible run:

Anything else do we need to know:

manunmathew commented 6 years ago

FAILED - RETRYING: Kubernetes Apps | Wait for kube-apiserver (2 retries left). FAILED - RETRYING: Kubernetes Apps | Wait for kube-apiserver (1 retries left). fatal: [node1]: FAILED! => {"attempts": 10, "changed": false, "connection": "close", "content": "{\"kind\":\"Status\",\"apiVersion\":\"v1\",\"metadata\":{},\"status\":\"Failure\",\"message\":\"forbidden: User \\"kube-apiserver\\" cannot get path \\"/healthz\\"\",\"reason\":\"Forbidden\",\"details\":{},\"code\":403}\n", "content_length": "190", "content_type": "application/json", "date": "Wed, 16 May 2018 15:27:42 GMT", "json": {"apiVersion": "v1", "code": 403, "details": {}, "kind": "Status", "message": "forbidden: User \"kube-apiserver\" cannot get path \"/healthz\"", "metadata": {}, "reason": "Forbidden", "status": "Failure"}, "msg": "Status code was not [200]: HTTP Error 403: Forbidden", "redirected": false, "status": 403, "url": "https://127.0.0.1:6443/healthz", "x_content_type_options": "nosniff"}

NO MORE HOSTS LEFT **** to retry, use: --limit @/etc/ansible/roles/kubespray/cluster.retry

PLAY RECAP **** localhost : ok=2 changed=0 unreachable=0 failed=0
node1 : ok=250 changed=13 unreachable=0 failed=1
node2 : ok=241 changed=4 unreachable=0 failed=0
node3 : ok=241 changed=4 unreachable=0 failed=0
node4 : ok=221 changed=11 unreachable=0 failed=0
node5 : ok=199 changed=9 unreachable=0 failed=0
node6 : ok=199 changed=9 unreachable=0 failed=0
node7 : ok=199 changed=9 unreachable=0 failed=0
node8 : ok=199 changed=9 unreachable=0 failed=0
node9 : ok=199 changed=9 unreachable=0 failed=0

manunmathew commented 6 years ago

[integrationteam@IntegrationTeam-Ansible-Vm1 kubespray]$ cat /etc/redhat-release Red Hat Enterprise Linux Server release 7.2 (Maipo) [integrationteam@IntegrationTeam-Ansible-Vm1 kubespray]$ pip freeze adal==0.5.0 ansible==2.4.2.0 ansible-modules-hashivault==3.9.4 applicationinsights==0.11.3 argcomplete==1.9.4 asn1crypto==0.24.0 azure==3.0.0 azure-batch==4.1.3 azure-cli-core==2.0.32 azure-cli-nspkg==3.0.2 azure-common==1.1.11 azure-cosmosdb-nspkg==2.0.2 azure-cosmosdb-table==1.0.2 azure-datalake-store==0.0.19 azure-eventgrid==0.1.0 azure-graphrbac==0.40.0 azure-keyvault==0.3.7 azure-mgmt==2.0.0 azure-mgmt-advisor==1.0.1 azure-mgmt-applicationinsights==0.1.1 azure-mgmt-authorization==0.30.0 azure-mgmt-batch==4.1.0 azure-mgmt-batchai==0.2.0 azure-mgmt-billing==0.1.0 azure-mgmt-cdn==2.0.0 azure-mgmt-cognitiveservices==2.0.0 azure-mgmt-commerce==1.0.1 azure-mgmt-compute==2.1.0 azure-mgmt-consumption==2.0.0 azure-mgmt-containerinstance==0.3.1 azure-mgmt-containerregistry==1.0.1 azure-mgmt-containerservice==1.0.0 azure-mgmt-cosmosdb==0.3.1 azure-mgmt-datafactory==0.4.0 azure-mgmt-datalake-analytics==0.3.0 azure-mgmt-datalake-nspkg==2.0.0 azure-mgmt-datalake-store==0.3.0 azure-mgmt-devtestlabs==2.2.0 azure-mgmt-dns==1.2.0 azure-mgmt-documentdb==0.1.3 azure-mgmt-eventgrid==0.4.0 azure-mgmt-eventhub==1.2.0 azure-mgmt-hanaonazure==0.1.0 azure-mgmt-iothub==0.4.0 azure-mgmt-iothubprovisioningservices==0.1.0 azure-mgmt-keyvault==0.40.0 azure-mgmt-loganalytics==0.1.0 azure-mgmt-logic==2.1.0 azure-mgmt-machinelearningcompute==0.4.0 azure-mgmt-managementpartner==0.1.0 azure-mgmt-marketplaceordering==0.1.0 azure-mgmt-media==0.2.0 azure-mgmt-monitor==0.4.0 azure-mgmt-msi==0.1.0 azure-mgmt-network==1.7.1 azure-mgmt-notificationhubs==1.0.0 azure-mgmt-nspkg==2.0.0 azure-mgmt-powerbiembedded==1.0.0 azure-mgmt-rdbms==0.1.0 azure-mgmt-recoveryservices==0.2.0 azure-mgmt-recoveryservicesbackup==0.1.1 azure-mgmt-redis==5.0.0 azure-mgmt-relay==0.1.0 azure-mgmt-reservations==0.1.0 azure-mgmt-resource==1.2.2 azure-mgmt-scheduler==1.1.3 azure-mgmt-search==1.0.0 azure-mgmt-servermanager==1.2.0 azure-mgmt-servicebus==0.4.0 azure-mgmt-servicefabric==0.1.0 azure-mgmt-sql==0.7.1 azure-mgmt-storage==1.5.0 azure-mgmt-subscription==0.1.0 azure-mgmt-trafficmanager==0.40.0 azure-mgmt-web==0.32.0 azure-nspkg==2.0.0 azure-servicebus==0.21.1 azure-servicefabric==6.1.2.9 azure-servicemanagement-legacy==0.20.6 azure-storage==0.35.1 azure-storage-blob==1.1.0 azure-storage-common==1.1.0 azure-storage-file==1.1.0 azure-storage-nspkg==3.0.0 azure-storage-queue==1.1.0 Babel==0.9.6 backports.ssl-match-hostname==3.4.0.2 certifi==2018.4.16 cffi==1.11.5 chardet==3.0.4 colorama==0.3.9 configobj==4.7.2 configparser==3.5.0 cryptography==2.1.4 decorator==3.4.0 entrypoints==0.2.3 enum34==1.0.4 ethtool==0.8 futures==3.2.0 httplib2==0.9.2 humanfriendly==4.12.1 hvac==0.5.0 idna==2.6 iniparse==0.4 ipaddress==1.0.16 isodate==0.6.0 Jinja2==2.10 jmespath==0.9.0 keyring==12.2.1 kitchen==1.1.1 knack==0.3.2 langtable==0.0.31 lxml==3.2.1 M2Crypto==0.21.1 Magic-file-extensions==0.2 MarkupSafe==1.0 monotonic==1.5 msrest==0.4.29 msrestazure==0.4.29 netaddr==0.7.5 oauthlib==2.0.7 packaging==17.1 paramiko==2.1.1 passlib==1.6.5 pathlib2==2.3.2 pbr==4.0.3 pciutils==1.7.3 perf==0.1 ply==3.4 pyasn1==0.1.9 pycparser==2.14 pycurl==7.19.0 Pygments==2.2.0 pygobject==3.14.0 pygpgme==0.3 PyJWT==1.6.1 pyliblzma==0.5.3 pyOpenSSL==17.5.0 pyparsing==2.2.0 python-augeas==0.5.0 python-dateutil==2.1 python-dmidecode==3.10.13 pyudev==0.15 pyxattr==0.5.1 PyYAML==3.10 redhat-access-insights==1.0.6 requests==2.18.4 requests-oauthlib==0.8.0 rhnlib==2.5.65 rhsm==1.15.4 scandir==1.7 SecretStorage==2.3.1 six==1.9.0 slip==0.4.0 slip.dbus==0.4.0 tabulate==0.8.2 urlgrabber==3.10 urllib3==1.22 WALinuxAgent==2.2.14 wheel==0.30.0 yum-langpacks==0.4.2 yum-metadata-parser==1.1.4

Nodraak commented 6 years ago

Hi

What are your Ansible (ansible --version), Kubespray (git rev-parse --short HEAD) and Kubernetes (kubectl version) versions ?

manunmathew commented 6 years ago

Azure NSG issue