Bug 1243827
Summary: | kube-apiserver fails to start | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Marius Vollmer <mvollmer> |
Component: | kubernetes | Assignee: | Jan Chaloupka <jchaloup> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 22 | CC: | eparis, golang-updates, jchaloup, lsm5, nhorman, stefw, vbatts |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | kubernetes-1.1.0-0.1.git6129d3d.fc23 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2015-07-31 07:53:53 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Marius Vollmer
2015-07-16 12:27:35 UTC
It used to work with these versions: # rpmquery etcd kubernetes docker etcd-2.0.11-2.fc22.x86_64 kubernetes-0.19.0-0.7.gitb2e9fed.fc22.x86_64 docker-1.6.0-3.git9d26a07.fc22.x86_64 Unable to perform initial IP allocation check: unable to refresh the service IP block: 501: All the given peers are not reachable (failed to propose on members [http://127.0.0.1:4001] twice [last error: Get http://127.0.0.1:4001/v2/keys/registry/ranges/serviceips?quorum=false&recursive=false&sorted=false: dial tcp 127.0.0.1:4001: connection refused]) [0] That's your problem, and that indicates etcd isn't actually running like it should on port 4001.... Is etcd started? What's the config file? Is it listening on 4001? (netstat -nap | grep LISTEN | grep etcd) > That's your problem I think this is a pretty clean installation from scratch. All config files should be as they were in the rpms: laptop# virt-builder fedora-22 ... laptop# ssh root@vm vm# dnf install etc kubernetes vm# systemctl start etcd kubernetes Would you say that the above should work? Is there a mistake somewhere? (Can I not start etcd and kubernetes in parallel, for example? That would also be a bug, I'd say.) > Is etcd started? Yes. # systemctl status etcd ● etcd.service - Etcd Server Loaded: loaded (/usr/lib/systemd/system/etcd.service; disabled; vendor preset: disabled) Active: active (running) since Thu 2015-07-16 14:44:37 EDT; 14min ago Main PID: 838 (etcd) CGroup: /system.slice/etcd.service └─838 /usr/bin/etcd > What's the config file? Straight from the rpm: # cat /etc/etcd/etcd.conf # [member] ETCD_NAME=default ETCD_DATA_DIR="/var/lib/etcd/default.etcd" #ETCD_SNAPSHOT_COUNTER="10000" #ETCD_HEARTBEAT_INTERVAL="100" #ETCD_ELECTION_TIMEOUT="1000" #ETCD_LISTEN_PEER_URLS="http://localhost:2380" ETCD_LISTEN_CLIENT_URLS="http://localhost:2379" #ETCD_MAX_SNAPSHOTS="5" #ETCD_MAX_WALS="5" #ETCD_CORS="" # #[cluster] #ETCD_INITIAL_ADVERTISE_PEER_URLS="http://localhost:2380" # if you use different ETCD_NAME (e.g. test), set ETCD_INITIAL_CLUSTER value for this name, i.e. "test=http://..." #ETCD_INITIAL_CLUSTER="default=http://localhost:2380" #ETCD_INITIAL_CLUSTER_STATE="new" #ETCD_INITIAL_CLUSTER_TOKEN="etcd-cluster" ETCD_ADVERTISE_CLIENT_URLS="http://localhost:2379" #ETCD_DISCOVERY="" #ETCD_DISCOVERY_SRV="" #ETCD_DISCOVERY_FALLBACK="proxy" #ETCD_DISCOVERY_PROXY="" # #[proxy] #ETCD_PROXY="off" # #[security] #ETCD_CERT_FILE="" #ETCD_KEY_FILE="" #ETCD_CLIENT_CERT_AUTH="false" #ETCD_TRUSTED_CA_FILE="" #ETCD_PEER_CERT_FILE="" #ETCD_PEER_KEY_FILE="" #ETCD_PEER_CLIENT_CERT_AUTH="false" #ETCD_PEER_TRUSTED_CA_FILE="" # #[logging] #ETCD_DEBUG="false" # examples for -log-package-levels etcdserver=WARNING,security=DEBUG #ETCD_LOG_PACKAGE_LEVELS="" > Is it listening on 4001? No. (Not my fault, I like to add. :-) # netstat -nap | grep LISTEN | grep etcd tcp 0 0 127.0.0.1:7001 0.0.0.0:* LISTEN 838/etcd tcp 0 0 127.0.0.1:2379 0.0.0.0:* LISTEN 838/etcd tcp 0 0 127.0.0.1:2380 0.0.0.0:* LISTEN 838/etcd I have changed /etc/kubernetes/apiserver like so: # cat /etc/kubernetes/apiserver ### # kubernetes system config # # The following values are used to configure the kube-apiserver # # The address on the local server to listen to. KUBE_API_ADDRESS="--address=127.0.0.1" # The port on the local server to listen on. # KUBE_API_PORT="--port=8080" # Port minions listen on # KUBELET_PORT="--kubelet_port=10250" # Comma separated list of nodes in the etcd cluster KUBE_ETCD_SERVERS="--etcd_servers=http://127.0.0.1:7001" # Address range to use for services KUBE_SERVICE_ADDRESSES="--service-cluster-ip-range=10.254.0.0/16" # default admission control policies KUBE_ADMISSION_CONTROL="--admission_control=NamespaceLifecycle,NamespaceExists,LimitRanger,SecurityContextDeny,ServiceAccount,ResourceQuota" # Add your own! KUBE_API_ARGS="" But it still wont start: # systemctl stop kube-apiserver # systemctl start kube-apiserver Job for kube-apiserver.service failed. See "systemctl status kube-apiserver.service" and "journalctl -xe" for details. Jul 16 15:02:42 m10 systemd[1]: Starting Kubernetes API Server... Jul 16 15:02:42 m10 kube-apiserver[1973]: I0716 15:02:42.917749 1973 plugins.go:69] No cloud provider specified. Jul 16 15:02:42 m10 kube-apiserver[1973]: I0716 15:02:42.918818 1973 master.go:255] Node port range unspecified. Defaulting to 30000-32767. Jul 16 15:02:42 m10 kube-apiserver[1973]: I0716 15:02:42.919527 1973 master.go:277] Will report 10.111.111.10 as public IP address. Jul 16 15:02:42 m10 kube-apiserver[1973]: E0716 15:02:42.944255 1973 reflector.go:136] Failed to list *api.ResourceQuota: Get http://127.0.0.1:8080/api/v1/resourcequotas: dial tcp 127.0.0.1:8080: connection refused Jul 16 15:02:42 m10 kube-apiserver[1973]: E0716 15:02:42.944753 1973 reflector.go:136] Failed to list *api.Secret: Get http://127.0.0.1:8080/api/v1/secrets?fieldSelector=type%3Dkubernetes.io%2Fservice-account-token: dial tcp 127.0.0.1:8080: connection refused Jul 16 15:02:42 m10 kube-apiserver[1973]: E0716 15:02:42.945096 1973 reflector.go:136] Failed to list *api.ServiceAccount: Get http://127.0.0.1:8080/api/v1/serviceaccounts: dial tcp 127.0.0.1:8080: connection refused Jul 16 15:02:42 m10 kube-apiserver[1973]: E0716 15:02:42.945432 1973 reflector.go:136] Failed to list *api.LimitRange: Get http://127.0.0.1:8080/api/v1/limitranges: dial tcp 127.0.0.1:8080: connection refused Jul 16 15:02:42 m10 kube-apiserver[1973]: E0716 15:02:42.945729 1973 reflector.go:136] Failed to list *api.Namespace: Get http://127.0.0.1:8080/api/v1/namespaces: dial tcp 127.0.0.1:8080: connection refused Jul 16 15:02:42 m10 kube-apiserver[1973]: E0716 15:02:42.946022 1973 reflector.go:136] Failed to list *api.Namespace: Get http://127.0.0.1:8080/api/v1/namespaces: dial tcp 127.0.0.1:8080: connection refused Jul 16 15:02:42 m10 kube-apiserver[1973]: [restful] 2015/07/16 15:02:42 log.go:30: [restful/swagger] listing is available at https://10.111.111.10:6443/swaggerapi/ Jul 16 15:02:42 m10 kube-apiserver[1973]: [restful] 2015/07/16 15:02:42 log.go:30: [restful/swagger] https://10.111.111.10:6443/swaggerui/ is mapped to folder /swagger-ui/ Jul 16 15:02:43 m10 kube-apiserver[1973]: E0716 15:02:43.947116 1973 reflector.go:136] Failed to list *api.LimitRange: Get http://127.0.0.1:8080/api/v1/limitranges: dial tcp 127.0.0.1:8080: connection refused Jul 16 15:02:43 m10 kube-apiserver[1973]: E0716 15:02:43.948160 1973 reflector.go:136] Failed to list *api.ServiceAccount: Get http://127.0.0.1:8080/api/v1/serviceaccounts: dial tcp 127.0.0.1:8080: connection refused Jul 16 15:02:43 m10 kube-apiserver[1973]: E0716 15:02:43.948239 1973 reflector.go:136] Failed to list *api.Secret: Get http://127.0.0.1:8080/api/v1/secrets?fieldSelector=type%3Dkubernetes.io%2Fservice-account-token: dial tcp 127.0.0.1:8080: connection refused Jul 16 15:02:43 m10 kube-apiserver[1973]: E0716 15:02:43.948309 1973 reflector.go:136] Failed to list *api.ResourceQuota: Get http://127.0.0.1:8080/api/v1/resourcequotas: dial tcp 127.0.0.1:8080: connection refused Jul 16 15:02:43 m10 kube-apiserver[1973]: E0716 15:02:43.948927 1973 reflector.go:136] Failed to list *api.Namespace: Get http://127.0.0.1:8080/api/v1/namespaces: dial tcp 127.0.0.1:8080: connection refused Jul 16 15:02:43 m10 kube-apiserver[1973]: E0716 15:02:43.951738 1973 reflector.go:136] Failed to list *api.Namespace: Get http://127.0.0.1:8080/api/v1/namespaces: dial tcp 127.0.0.1:8080: connection refused Jul 16 15:02:44 m10 kube-apiserver[1973]: E0716 15:02:44.950203 1973 reflector.go:136] Failed to list *api.Namespace: Get http://127.0.0.1:8080/api/v1/namespaces: dial tcp 127.0.0.1:8080: connection refused Jul 16 15:02:44 m10 kube-apiserver[1973]: E0716 15:02:44.950362 1973 reflector.go:136] Failed to list *api.ResourceQuota: Get http://127.0.0.1:8080/api/v1/resourcequotas: dial tcp 127.0.0.1:8080: connection refused Jul 16 15:02:44 m10 kube-apiserver[1973]: E0716 15:02:44.950420 1973 reflector.go:136] Failed to list *api.Secret: Get http://127.0.0.1:8080/api/v1/secrets?fieldSelector=type%3Dkubernetes.io%2Fservice-account-token: dial tcp 127.0.0.1:8080: connection refused Jul 16 15:02:44 m10 kube-apiserver[1973]: E0716 15:02:44.950463 1973 reflector.go:136] Failed to list *api.ServiceAccount: Get http://127.0.0.1:8080/api/v1/serviceaccounts: dial tcp 127.0.0.1:8080: connection refused Jul 16 15:02:44 m10 kube-apiserver[1973]: E0716 15:02:44.952653 1973 reflector.go:136] Failed to list *api.LimitRange: Get http://127.0.0.1:8080/api/v1/limitranges: dial tcp 127.0.0.1:8080: connection refused Jul 16 15:02:44 m10 kube-apiserver[1973]: E0716 15:02:44.953070 1973 reflector.go:136] Failed to list *api.Namespace: Get http://127.0.0.1:8080/api/v1/namespaces: dial tcp 127.0.0.1:8080: connection refused Jul 16 15:02:45 m10 kube-apiserver[1973]: E0716 15:02:45.952716 1973 reflector.go:136] Failed to list *api.Namespace: Get http://127.0.0.1:8080/api/v1/namespaces: dial tcp 127.0.0.1:8080: connection refused Jul 16 15:02:45 m10 kube-apiserver[1973]: E0716 15:02:45.952869 1973 reflector.go:136] Failed to list *api.ResourceQuota: Get http://127.0.0.1:8080/api/v1/resourcequotas: dial tcp 127.0.0.1:8080: connection refused Jul 16 15:02:45 m10 kube-apiserver[1973]: E0716 15:02:45.952961 1973 reflector.go:136] Failed to list *api.Secret: Get http://127.0.0.1:8080/api/v1/secrets?fieldSelector=type%3Dkubernetes.io%2Fservice-account-token: dial tcp 127.0.0.1:8080: connection refused Jul 16 15:02:45 m10 kube-apiserver[1973]: E0716 15:02:45.953052 1973 reflector.go:136] Failed to list *api.ServiceAccount: Get http://127.0.0.1:8080/api/v1/serviceaccounts: dial tcp 127.0.0.1:8080: connection refused Jul 16 15:02:45 m10 kube-apiserver[1973]: E0716 15:02:45.957695 1973 reflector.go:136] Failed to list *api.Namespace: Get http://127.0.0.1:8080/api/v1/namespaces: dial tcp 127.0.0.1:8080: connection refused Jul 16 15:02:45 m10 kube-apiserver[1973]: E0716 15:02:45.957950 1973 reflector.go:136] Failed to list *api.LimitRange: Get http://127.0.0.1:8080/api/v1/limitranges: dial tcp 127.0.0.1:8080: connection refused Jul 16 15:02:46 m10 kube-apiserver[1973]: E0716 15:02:46.954428 1973 reflector.go:136] Failed to list *api.Secret: Get http://127.0.0.1:8080/api/v1/secrets?fieldSelector=type%3Dkubernetes.io%2Fservice-account-token: dial tcp 127.0.0.1:8080: connection refused Jul 16 15:02:46 m10 kube-apiserver[1973]: E0716 15:02:46.954573 1973 reflector.go:136] Failed to list *api.ResourceQuota: Get http://127.0.0.1:8080/api/v1/resourcequotas: dial tcp 127.0.0.1:8080: connection refused Jul 16 15:02:46 m10 kube-apiserver[1973]: E0716 15:02:46.954628 1973 reflector.go:136] Failed to list *api.Namespace: Get http://127.0.0.1:8080/api/v1/namespaces: dial tcp 127.0.0.1:8080: connection refused Jul 16 15:02:46 m10 kube-apiserver[1973]: E0716 15:02:46.955242 1973 reflector.go:136] Failed to list *api.ServiceAccount: Get http://127.0.0.1:8080/api/v1/serviceaccounts: dial tcp 127.0.0.1:8080: connection refused Jul 16 15:02:46 m10 kube-apiserver[1973]: E0716 15:02:46.958425 1973 reflector.go:136] Failed to list *api.Namespace: Get http://127.0.0.1:8080/api/v1/namespaces: dial tcp 127.0.0.1:8080: connection refused Jul 16 15:02:46 m10 kube-apiserver[1973]: E0716 15:02:46.958874 1973 reflector.go:136] Failed to list *api.LimitRange: Get http://127.0.0.1:8080/api/v1/limitranges: dial tcp 127.0.0.1:8080: connection refused Jul 16 15:02:47 m10 kube-apiserver[1973]: E0716 15:02:47.956603 1973 reflector.go:136] Failed to list *api.Secret: Get http://127.0.0.1:8080/api/v1/secrets?fieldSelector=type%3Dkubernetes.io%2Fservice-account-token: dial tcp 127.0.0.1:8080: connection refused Jul 16 15:02:47 m10 kube-apiserver[1973]: E0716 15:02:47.956771 1973 reflector.go:136] Failed to list *api.ResourceQuota: Get http://127.0.0.1:8080/api/v1/resourcequotas: dial tcp 127.0.0.1:8080: connection refused Jul 16 15:02:47 m10 kube-apiserver[1973]: E0716 15:02:47.956899 1973 reflector.go:136] Failed to list *api.Namespace: Get http://127.0.0.1:8080/api/v1/namespaces: dial tcp 127.0.0.1:8080: connection refused Jul 16 15:02:47 m10 kube-apiserver[1973]: E0716 15:02:47.957304 1973 reflector.go:136] Failed to list *api.ServiceAccount: Get http://127.0.0.1:8080/api/v1/serviceaccounts: dial tcp 127.0.0.1:8080: connection refused Jul 16 15:02:47 m10 kube-apiserver[1973]: E0716 15:02:47.959400 1973 reflector.go:136] Failed to list *api.Namespace: Get http://127.0.0.1:8080/api/v1/namespaces: dial tcp 127.0.0.1:8080: connection refused Jul 16 15:02:48 m10 kube-apiserver[1973]: E0716 15:02:48.119700 1973 reflector.go:136] Failed to list *api.LimitRange: Get http://127.0.0.1:8080/api/v1/limitranges: dial tcp 127.0.0.1:8080: connection refused Jul 16 15:02:48 m10 kube-apiserver[1973]: E0716 15:02:48.958556 1973 reflector.go:136] Failed to list *api.Secret: Get http://127.0.0.1:8080/api/v1/secrets?fieldSelector=type%3Dkubernetes.io%2Fservice-account-token: dial tcp 127.0.0.1:8080: connection refused Jul 16 15:02:48 m10 kube-apiserver[1973]: E0716 15:02:48.958683 1973 reflector.go:136] Failed to list *api.ResourceQuota: Get http://127.0.0.1:8080/api/v1/resourcequotas: dial tcp 127.0.0.1:8080: connection refused Jul 16 15:02:48 m10 kube-apiserver[1973]: E0716 15:02:48.959340 1973 reflector.go:136] Failed to list *api.ServiceAccount: Get http://127.0.0.1:8080/api/v1/serviceaccounts: dial tcp 127.0.0.1:8080: connection refused Jul 16 15:02:48 m10 kube-apiserver[1973]: E0716 15:02:48.959425 1973 reflector.go:136] Failed to list *api.Namespace: Get http://127.0.0.1:8080/api/v1/namespaces: dial tcp 127.0.0.1:8080: connection refused Jul 16 15:02:49 m10 kube-apiserver[1973]: E0716 15:02:49.120059 1973 reflector.go:136] Failed to list *api.Namespace: Get http://127.0.0.1:8080/api/v1/namespaces: dial tcp 127.0.0.1:8080: connection refused Jul 16 15:02:49 m10 kube-apiserver[1973]: E0716 15:02:49.319649 1973 reflector.go:136] Failed to list *api.LimitRange: Get http://127.0.0.1:8080/api/v1/limitranges: dial tcp 127.0.0.1:8080: connection refused Jul 16 15:02:49 m10 kube-apiserver[1973]: E0716 15:02:49.959225 1973 reflector.go:136] Failed to list *api.ResourceQuota: Get http://127.0.0.1:8080/api/v1/resourcequotas: dial tcp 127.0.0.1:8080: connection refused Jul 16 15:02:49 m10 kube-apiserver[1973]: E0716 15:02:49.959316 1973 reflector.go:136] Failed to list *api.Secret: Get http://127.0.0.1:8080/api/v1/secrets?fieldSelector=type%3Dkubernetes.io%2Fservice-account-token: dial tcp 127.0.0.1:8080: connection refused Jul 16 15:02:49 m10 kube-apiserver[1973]: E0716 15:02:49.959610 1973 reflector.go:136] Failed to list *api.ServiceAccount: Get http://127.0.0.1:8080/api/v1/serviceaccounts: dial tcp 127.0.0.1:8080: connection refused Jul 16 15:02:50 m10 kube-apiserver[1973]: E0716 15:02:50.119119 1973 reflector.go:136] Failed to list *api.Namespace: Get http://127.0.0.1:8080/api/v1/namespaces: dial tcp 127.0.0.1:8080: connection refused Jul 16 15:02:50 m10 kube-apiserver[1973]: E0716 15:02:50.319533 1973 reflector.go:136] Failed to list *api.Namespace: Get http://127.0.0.1:8080/api/v1/namespaces: dial tcp 127.0.0.1:8080: connection refused Jul 16 15:02:50 m10 kube-apiserver[1973]: E0716 15:02:50.519949 1973 reflector.go:136] Failed to list *api.LimitRange: Get http://127.0.0.1:8080/api/v1/limitranges: dial tcp 127.0.0.1:8080: connection refused Jul 16 15:02:50 m10 kube-apiserver[1973]: E0716 15:02:50.960561 1973 reflector.go:136] Failed to list *api.Secret: Get http://127.0.0.1:8080/api/v1/secrets?fieldSelector=type%3Dkubernetes.io%2Fservice-account-token: dial tcp 127.0.0.1:8080: connection refused Jul 16 15:02:50 m10 kube-apiserver[1973]: E0716 15:02:50.960653 1973 reflector.go:136] Failed to list *api.ResourceQuota: Get http://127.0.0.1:8080/api/v1/resourcequotas: dial tcp 127.0.0.1:8080: connection refused Jul 16 15:02:51 m10 kube-apiserver[1973]: E0716 15:02:51.119699 1973 reflector.go:136] Failed to list *api.ServiceAccount: Get http://127.0.0.1:8080/api/v1/serviceaccounts: dial tcp 127.0.0.1:8080: connection refused Jul 16 15:02:51 m10 kube-apiserver[1973]: E0716 15:02:51.319603 1973 reflector.go:136] Failed to list *api.Namespace: Get http://127.0.0.1:8080/api/v1/namespaces: dial tcp 127.0.0.1:8080: connection refused Jul 16 15:02:51 m10 kube-apiserver[1973]: E0716 15:02:51.519547 1973 reflector.go:136] Failed to list *api.Namespace: Get http://127.0.0.1:8080/api/v1/namespaces: dial tcp 127.0.0.1:8080: connection refused Jul 16 15:02:51 m10 kube-apiserver[1973]: E0716 15:02:51.719747 1973 reflector.go:136] Failed to list *api.LimitRange: Get http://127.0.0.1:8080/api/v1/limitranges: dial tcp 127.0.0.1:8080: connection refused Jul 16 15:02:51 m10 kube-apiserver[1973]: E0716 15:02:51.961011 1973 reflector.go:136] Failed to list *api.Secret: Get http://127.0.0.1:8080/api/v1/secrets?fieldSelector=type%3Dkubernetes.io%2Fservice-account-token: dial tcp 127.0.0.1:8080: connection refused Jul 16 15:02:52 m10 kube-apiserver[1973]: E0716 15:02:52.119100 1973 reflector.go:136] Failed to list *api.ResourceQuota: Get http://127.0.0.1:8080/api/v1/resourcequotas: dial tcp 127.0.0.1:8080: connection refused Jul 16 15:02:52 m10 kube-apiserver[1973]: E0716 15:02:52.319688 1973 reflector.go:136] Failed to list *api.ServiceAccount: Get http://127.0.0.1:8080/api/v1/serviceaccounts: dial tcp 127.0.0.1:8080: connection refused Jul 16 15:02:52 m10 kube-apiserver[1973]: E0716 15:02:52.521075 1973 reflector.go:136] Failed to list *api.Namespace: Get http://127.0.0.1:8080/api/v1/namespaces: dial tcp 127.0.0.1:8080: connection refused Jul 16 15:02:52 m10 kube-apiserver[1973]: E0716 15:02:52.720212 1973 reflector.go:136] Failed to list *api.Namespace: Get http://127.0.0.1:8080/api/v1/namespaces: dial tcp 127.0.0.1:8080: connection refused Jul 16 15:02:52 m10 kube-apiserver[1973]: E0716 15:02:52.919382 1973 reflector.go:136] Failed to list *api.LimitRange: Get http://127.0.0.1:8080/api/v1/limitranges: dial tcp 127.0.0.1:8080: connection refused Jul 16 15:02:53 m10 systemd[1]: kube-apiserver.service: main process exited, code=exited, status=255/n/a Jul 16 15:02:53 m10 systemd[1]: Failed to start Kubernetes API Server. What about to change /etc/kubernetes/apiserver: # Comma separated list of nodes in the etcd cluster KUBE_ETCD_SERVERS="--etcd_servers=http://127.0.0.1:7001" to # Comma separated list of nodes in the etcd cluster KUBE_ETCD_SERVERS="--etcd_servers=http://127.0.0.1:2380" Or in /etc/etcd/etcd.conf change: ETCD_LISTEN_CLIENT_URLS="http://localhost:2379" to ETCD_LISTEN_CLIENT_URLS="http://localhost:4001" and ETCD_ADVERTISE_CLIENT_URLS="http://localhost:2379" to ETCD_ADVERTISE_CLIENT_URLS="http://localhost:2379,http://localhost:4001" (In reply to Jan Chaloupka from comment #4) > What about to change /etc/kubernetes/apiserver: I would prefer if you could first try to reproduce this on your end, before we get into a game of debug ping pong. (virt-builder plus clean install of kube.) I have reproduced it. Setting KUBE_ETCD_SERVERS="--etcd_servers=http://127.0.0.1:2379" works. Can you verify? (In reply to Jan Chaloupka from comment #6) > I have reproduced it. Thanks! > Setting KUBE_ETCD_SERVERS="--etcd_servers=http://127.0.0.1:2379" works. > > Can you verify? Yes, that change works. agreed with s/4001/2379/ change for the apiserver kubernetes-1.0.0-0.9.git2d88675.fc22 has been submitted as an update for Fedora 22. https://admin.fedoraproject.org/updates/kubernetes-1.0.0-0.9.git2d88675.fc22 kubernetes-1.0.0-0.9.git2d88675.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/kubernetes-1.0.0-0.9.git2d88675.fc21 Package kubernetes-1.0.0-0.9.git2d88675.fc22: * should fix your issue, * was pushed to the Fedora 22 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing kubernetes-1.0.0-0.9.git2d88675.fc22' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2015-11915/kubernetes-1.0.0-0.9.git2d88675.fc22 then log in and leave karma (feedback). kubernetes-1.0.0-0.9.git2d88675.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report. kubernetes-1.0.0-0.9.git2d88675.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report. kubernetes-1.1.0-0.1.git6129d3d.fc23 has been submitted as an update for Fedora 23. https://admin.fedoraproject.org/updates/kubernetes-1.1.0-0.1.git6129d3d.fc23 kubernetes-1.1.0-0.1.git6129d3d.fc22 has been submitted as an update for Fedora 22. https://admin.fedoraproject.org/updates/kubernetes-1.1.0-0.1.git6129d3d.fc22 kubernetes-1.1.0-0.1.git6129d3d.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/kubernetes-1.1.0-0.1.git6129d3d.fc21 Wrong bug id, sorry about that. kubernetes-1.1.0-0.1.git6129d3d.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report. kubernetes-1.1.0-0.1.git6129d3d.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report. kubernetes-1.1.0-0.1.git6129d3d.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report. |