Commit Graph

113 Commits (5d16b30514ab68de1da8844e3a6c5a5869fe0eab)

Author SHA1 Message Date
Sharif Elgamal 930427f847 revert kvm domain def for bios iso 2022-05-03 21:39:12 -07:00
Sharif Elgamal 1c31b6cb81 typo 2022-04-21 19:13:22 -07:00
Sharif Elgamal 28083d9235 keep nvram on minikube delete 2022-04-18 12:37:32 -07:00
Sharif Elgamal c82be99d3b fix nvram location for aarch64 kvm driver 2022-04-15 12:32:47 -07:00
Sharif Elgamal 684c2b4ac4 fix undefining kvm domain 2022-04-07 13:33:01 -07:00
Sharif Elgamal dc0b193b74 fix kvm stuff 2022-04-05 10:30:40 -07:00
klaases 1be70185bd Update KVM2 configuration for UEFI 2022-02-16 21:03:30 +00:00
Medya Ghazizadeh 969b5cddf1
Merge pull request #13520 from minikube-bot/auto_bump_golint_version
bump golint version to v1.44.0
2022-02-02 15:57:24 -08:00
Medya Gh 8c6f9f64c7 lint 2022-01-31 15:18:04 -08:00
Anoop C S 061fd88d2e drivers/kvm: Use ARP for retrieving interface ip addresses
On platforms where dhcp lease status is not updated immediately after
domain creation it fails to list ip addresses until next refresh
happens resulting in the following error:

8<----------8<----------8<----------8<----------8<----------8<----------

Creating kvm2 VM (CPUs=2, Memory=4096MB, Disk=20480MB) ...
Failed to start kvm2 VM. Running "minikube delete" may fix it: creating
  host: create: Error creating machine: Error in driver during machine
  creation: IP not available after waiting: machine minikube didn't
  return IP after 1 minute

Exiting due to GUEST_PROVISION: Failed to start host: creating host:
  create: Error creating machine: Error in driver during machine
  creation: IP not available after waiting: machine minikube didn't
  return IP after 1 minute

8<----------8<----------8<----------8<----------8<----------8<----------

Using ARP instead of LEASE for ip address query is justifiable as
listing is done following the domain creation. In case of failure we
fallback to listing via LEASE source.

Signed-off-by: Anoop C S <anoopcs@cryptolab.net>
2022-01-29 09:57:56 +05:30
Predrag Rogic a23f8381f7
upgrade-libvirt to 8th gen 2022-01-23 02:58:49 +00:00
KallyDev 70022d9b2e
Move from deprecated ioutil to os and io packages 2021-10-08 08:57:19 +08:00
Steven Powell 145f9fc9ab run `go fmt` 2021-09-13 11:58:43 -07:00
Raghavendra Talur dceb676527 Add extra disks capability to kvm2 driver
Having additional disks on the nodes is a requirement for developers
working on the storage components in Kubernetes. This commit adds the
extra-disks feature to the kvm2 driver.

Signed-off-by: Raghavendra Talur <raghavendra.talur@gmail.com>
2021-08-25 00:15:02 -04:00
Ilya Zuyev e3b5c2f8cf fix linter error 2021-06-25 13:49:54 -07:00
Ilya Zuyev 58754c910c update domain definition 2021-06-24 23:06:56 -07:00
Ilya Zuyev e48c8d289f fix domain definition 2021-06-21 21:16:04 -07:00
Ilya Zuyev 952b28e3b7 log out xml domain definition 2021-06-21 21:15:47 -07:00
Ilya Zuyev 37faf73207 improve logs 2021-06-21 17:56:14 -07:00
Ilya Zuyev a59e6a7341 remove acpi config from amd64 libvirt domain 2021-06-21 16:26:37 -07:00
Ilya Zuyev 84feb87502 fix arm64 libvirt domain definition 2021-06-21 16:16:10 -07:00
Ilya Zuyev 6de16a406e Add libvirt domain definition for arm64 2021-06-21 15:26:35 -07:00
Predrag Rogic 387ad774bb
multinode: fix kindnet and dns issues 2021-04-05 16:18:37 +01:00
Predrag Rogic 06d4313f3f
kvm2 driver: add static ip 2021-03-27 23:33:24 +00:00
Predrag Rogic f4a375181a
create network: use locks and reservations to solve race condition 2021-03-18 18:38:06 +00:00
Predrag Rogic 474f6734b1
create network: use locks to solve race conditions 2021-03-17 22:56:22 +00:00
Predrag Rogic 223792b993
create network: use locks to solve race conditions 2021-03-17 14:32:39 +00:00
phantooom 529881e01c fix: fix kvm2 numa simulate ut&lint 2021-03-02 22:40:42 +08:00
phantooom badc5d4532 add more check for kvm2 support simulate numa node 2021-03-02 22:27:26 +08:00
phantooom e11f23a4c9 kvm2 driver support simulate numa node 2021-03-02 22:27:26 +08:00
Medya Ghazizadeh 6bf3c23699
Merge pull request #10479 from prezha/fix-kvm-network-cleanup
improve kvm network delete/cleanup
2021-02-19 16:31:26 -08:00
Predrag Rogic 6d61795352
simplify free subnet query for oci net create 2021-02-17 03:04:47 +00:00
Predrag Rogic 4018ee3682
move to separate network package and fix naming 2021-02-17 03:04:47 +00:00
Predrag Rogic d48b0a58e8
add ip conflict auto-resolution also to kvm and consolidate 2021-02-17 03:04:47 +00:00
Predrag Rogic a5f75b4a29
fix wording 2021-02-17 02:45:22 +00:00
Predrag Rogic fc07cfd395
fix wording 2021-02-17 02:45:22 +00:00
Predrag Rogic 1f50c63adb
fix wording 2021-02-17 02:45:22 +00:00
Predrag Rogic 5c8ea8dc5b
improve kvm network delete/cleanup 2021-02-17 02:45:03 +00:00
Predrag Rogic 9e114139dc
retry instead of sleep; gc cleanup 2020-11-10 16:28:14 +00:00
Predrag Rogic 8ebc828eb1
Fix minikube-net network failures for KVM driver 2020-11-10 16:27:51 +00:00
Michael Ryan Dempsey 9ff030942d
use MiB with kvm driver 2020-09-01 21:20:02 -07:00
Medya Gh 70c9304724 code review comments 2020-03-13 10:37:29 -07:00
cueo 6533d9f2e8 Rename methods to match the convention 2019-10-20 19:11:31 +05:30
Guangming Wang 84242bf2c1
cleanup: fix words in logging message
Signed-off-by: Guangming Wang <guangming.wang@daocloud.io>
2019-08-15 20:53:28 +08:00
Thomas Strömberg e8824b76b2
Merge pull request #5052 from tstromberg/doc-redirect
Update code references to new documentation URL's
2019-08-12 18:26:01 -07:00
Thomas Stromberg f2acb4a33e Update code references to new documentation URL's 2019-08-12 14:51:41 -07:00
Sharif Elgamal a817bffab1
Remove all minikube dependencies from drivers (#4933)
* Remove all minikube dependencies in driver code

* removing all default config

* okay we need some defaults

* code comments

* hyperkit builds now

* sleep for an appropriate amount of time

* remove constant in favor of string

* try goproxy for travis

* try goproxy for travis

* try goproxy for travis

* let's not try goproxy for now

* let's try goproxy once again

* maybe use the correct url for the proxy

* fix go mod
2019-08-12 14:42:11 -07:00
Kyle Bai c5f695e8a0 Better comment syntax 2019-07-05 11:17:10 +08:00
Medya Ghazizadeh 449c8781e1
Merge pull request #4595 from blueelvis/memory-size-sanity-check
Added validation for start memory size
2019-06-30 15:17:28 -07:00
Medya Ghazizadeh 037e9a5d56
Merge pull request #4641 from josedonizetti/improve-kvm-connection-error-message
Improve kvm connection error message
2019-06-30 12:08:44 -07:00