Commit Graph

3105 Commits (28672dec786c49417879e3159e3100018db2a5fd)

Author SHA1 Message Date
Sharif Elgamal 28672dec78 remove ClusterNameFromMachine 2020-03-24 14:43:11 -07:00
Medya Ghazizadeh f00f5ff600
remove extra if 2020-03-24 10:21:32 -07:00
Medya Gh 940baa09ea fix comment 2020-03-24 07:31:22 -07:00
Medya Gh 41b16b1568 fail if container is not running 2020-03-24 07:27:07 -07:00
Medya Gh 83cc28e082 add logging for when container status is running 2020-03-24 07:11:22 -07:00
Medya Ghazizadeh 587154196e
Merge pull request #7173 from medyagh/stop_kic
stop kubernetes containers on stopping docker/podman driver
2020-03-24 05:42:49 -07:00
Medya Ghazizadeh 20991ac336
Merge pull request #7183 from sharifelgamal/conntrack-msg
add friendly error message for missing conntrack
2020-03-23 23:03:09 -07:00
Medya Gh 67bd258465 remove extra line 2020-03-23 23:02:27 -07:00
Medya Ghazizadeh afa09ad5d4
Merge pull request #7182 from priyawadhwa/issue-7172
Upgrade podman and add libglib2.0-0 to kicbase image v0.0.8
2020-03-23 23:01:53 -07:00
Medya Gh aec6fdc25a initialize kic runner in stop 2020-03-23 21:01:12 -07:00
Medya Gh 7619a5075a fix logging 2020-03-23 21:01:12 -07:00
Medya Gh 36f3f657af force stop if cant stop for none 2020-03-23 21:01:12 -07:00
Medya Gh 545348341a for none let it stop all containers 2020-03-23 21:01:12 -07:00
Medya Gh 47c8e9c87b dont return on error kic sto 2020-03-23 21:01:12 -07:00
Medya Gh 5f90a319bd stop k8s in kic and none 2020-03-23 21:01:12 -07:00
Medya Gh fae3e34319 add stop force stop 2020-03-23 20:59:21 -07:00
Medya Gh 298be78e5f remove duplicate code 2020-03-23 20:59:21 -07:00
Medya Gh beec3b1ce1 stop kubelet on docker stop 2020-03-23 20:59:21 -07:00
Sharif Elgamal 8b58738491 check for conntrack at start time, remove useless solution message 2020-03-24 02:54:47 +00:00
Sharif Elgamal 9e81e06e61 fix regex 2020-03-23 18:04:29 -07:00
Priya Wadhwa 091059b886 Add timeout on needsTransfer function
needsTransfer requires a network connection as it tries to get the digest of the image it is verifying. When running `TestOffline/group/crio`, LoadImages takes 6m30s to complete because it's waiting for i/o timeout. With this timeout, LoadImages takes ~45 seconds when running that integratin test.
2020-03-23 17:57:00 -07:00
Sharif Elgamal 4f3c4dee06 add nice error message for missing conntrack 2020-03-23 17:48:26 -07:00
Priya Wadhwa abf35cfbc1 Upgrade podman and add libglib2.0-0 to kicbase image
The `TestOffline/group/crio` integration test was failing with the error:

```
crio load image: sudo podman load -i /var/lib/minikube/images/storage-provisioner_v1.8.1: exit status 125
```

I tried SSH'ing into minikube and running the command myself, and got the error:

```
Error: could not get runtime: please update to v2.0.1 or later: outdated conmon version
```

I then tried updating conmon, but got the error:

```
conmon: error while loading shared libraries: libglib-2.0.so.0: cannot open shared object file: No such file or directory
```

I then tried adding the libglib2.0-0 library to the kic base image and upgrading podman, which seems to have resolved the issue.
2020-03-23 17:41:06 -07:00
Thomas Stromberg fcb8736cf7 merge to master 2020-03-23 17:30:06 -07:00
Medya Ghazizadeh 93021fbfda
Merge pull request #7174 from afbjorklund/xdg-open
Centralize the handling of browser.OpenURL
2020-03-23 17:12:38 -07:00
Thomas Stromberg 16e18724e2 Dedup ExampleCmd, fix command flag ordering 2020-03-23 16:28:39 -07:00
Thomas Stromberg b99e943684 Improve minikubeCmd, promote to public function 2020-03-23 16:00:53 -07:00
Thomas Strömberg 679b0c6c72
Merge pull request #7160 from kubernetes/stop-retry
hyperv Delete: call StopHost before removing VM
2020-03-23 15:48:40 -07:00
Thomas Stromberg 29f5007f46 Use correct machine name for status check 2020-03-23 14:25:47 -07:00
Anders F Björklund 54bbdde812 Print the URL, instead of return an error
Let the terminal user open it themselves
2020-03-23 22:11:43 +01:00
Anders F Björklund 0ce81acbf4 Centralize the handling of browser.OpenURL
So we can catch when xdg-open not installed
2020-03-23 21:49:19 +01:00
Thomas Stromberg 77f97a58f4 Fix uninitalized variable 2020-03-23 13:16:37 -07:00
Thomas Stromberg 5bf84cc282 Merge branch 'master' into down-detect 2020-03-23 12:52:09 -07:00
Thomas Stromberg 8f9a2b9413 Consolidate cluster loading from cmd 2020-03-23 12:51:49 -07:00
Thomas Stromberg 14f8ee3984 hyperv Delete: call StopHost before removing VM 2020-03-23 09:41:00 -07:00
Zhongcheng Lao 43b5f7c86d
Move KubeNodeName out of driver package 2020-03-22 15:11:03 +08:00
Zhongcheng Lao 15b1647b42
Revert "Make node name registered in K8s part of Node type"
This reverts commit 6ff82c6246.
2020-03-22 15:06:38 +08:00
Zhongcheng Lao 6ff82c6246
Make node name registered in K8s part of Node type 2020-03-22 14:31:37 +08:00
Zhongcheng Lao 63aef4ab54
Merge remote-tracking branch 'origin/master' into fix-hostname 2020-03-22 11:08:37 +08:00
Thomas Stromberg f76cdea82a Run gofmt 2020-03-21 16:05:00 -07:00
Thomas Stromberg 7e3b8c6355 Merge branch 'master' into stale-fix 2020-03-21 15:52:31 -07:00
Thomas Stromberg a59750627e Improve stale endpoint detection and resolution in Kubernetes configs 2020-03-21 15:51:31 -07:00
Thomas Strömberg cf887e7a1a
Merge pull request #7105 from prasadkatti/add_desc_node_to_minikube_logs
Add kubectl desc nodes to minikube logs
2020-03-21 15:13:12 -07:00
Prasad Katti 376271afca Merge branch 'master' into add_desc_node_to_minikube_logs 2020-03-21 12:27:17 -07:00
Prasad Katti ba6dbc57c2 Update the call to logProblems in node/start.go 2020-03-21 12:18:50 -07:00
Zhongcheng Lao 151db5ffe6
Use hostname as node name for 'none' driver 2020-03-22 02:11:27 +08:00
Thomas Stromberg 001f7fde92 Merge to master 2020-03-21 10:56:52 -07:00
Thomas Strömberg 5a5f869cd5
Merge pull request #7124 from tstromberg/less-kubeadm
Skip kubeadm if cluster is running & properly configured
2020-03-21 10:39:34 -07:00
Thomas Strömberg 8c75d160b5
Merge pull request #7125 from tstromberg/less-certs2
Make certificates per-profile and consistent until IP or names change
2020-03-21 10:38:50 -07:00
Thomas Strömberg d78f0b1844
Merge pull request #7132 from laozc/nvidia-gpu
Update Nvidia GPU plugin
2020-03-21 10:36:35 -07:00