Comments (6)
I can provide logs if that help... but I have a feeling that a similar fix to the other will be needed...
and
from govmomi.
Here is the log:
[maltaib1@localhost kubernetes]$ cluster/kube-up.sh
Starting cluster using provider: vsphere
Using password: admin:bla (edited)
Starting master VM (this can take a minute)...
panic: not implemented for type mo.DistributedVirtualPortgroup
goroutine 1 [running]:
runtime.panic(0x8ef460, 0xc210111370)
/usr/lib64/golang/src/pkg/runtime/panic.c:266 +0xb6
github.com/vmware/govmomi/govc/flags/list.ToElement(0x7fe42d2a71c8, 0xc2100399c0, 0xc210144540, 0x14, 0xc2100399c0, ...)
/home/maltaib1/src/go/src/github.com/vmware/govmomi/govc/flags/list/lister.go:57 +0x395
github.com/vmware/govmomi/govc/flags/list.Lister.ListFolder(0xc21007eb80, 0xc210140158, 0x6, 0xc210198d60, 0x9, ...)
/home/maltaib1/src/go/src/github.com/vmware/govmomi/govc/flags/list/lister.go:169 +0x764
github.com/vmware/govmomi/govc/flags/list.Lister.List(0xc21007eb80, 0xc210140158, 0x6, 0xc210198d60, 0x9, ...)
/home/maltaib1/src/go/src/github.com/vmware/govmomi/govc/flags/list/lister.go:92 +0x309
github.com/vmware/govmomi/govc/flags/list.Recurser.Recurse(0xc21007eb80, 0x0, 0xc210144540, 0x14, 0x7fe42d2a61c8, ...)
/home/maltaib1/src/go/src/github.com/vmware/govmomi/govc/flags/list/recurser.go:63 +0x199
github.com/vmware/govmomi/govc/flags.(_ListFlag).List(0xc2100439c0, 0x7fff5fd616fd, 0x8, 0xd13e00, 0x7fe42d10f288, ...)
/home/maltaib1/src/go/src/github.com/vmware/govmomi/govc/flags/list.go:101 +0x4b4
github.com/vmware/govmomi/govc/flags.(_NetworkFlag).findNetwork(0xc2100467e0, 0x7fff5fd616fd, 0x8, 0xc21001e2a0, 0xffffffff, ...)
/home/maltaib1/src/go/src/github.com/vmware/govmomi/govc/flags/network.go:76 +0x92
github.com/vmware/govmomi/govc/flags.(_NetworkFlag).findSpecifiedNetwork(0xc2100467e0, 0x7fff5fd616fd, 0x8, 0xa5c8a0, 0x2, ...)
/home/maltaib1/src/go/src/github.com/vmware/govmomi/govc/flags/network.go:98 +0x3e
github.com/vmware/govmomi/govc/flags.(_NetworkFlag).Network(0xc2100467e0, 0x2, 0x41b6ec, 0xc210085fa0)
/home/maltaib1/src/go/src/github.com/vmware/govmomi/govc/flags/network.go:142 +0x9c
github.com/vmware/govmomi/govc/flags.(_NetworkFlag).Device(0xc2100467e0, 0xc210171950, 0x1, 0x1, 0x1)
/home/maltaib1/src/go/src/github.com/vmware/govmomi/govc/flags/network.go:146 +0x32
github.com/vmware/govmomi/govc/vm.(_create).CreateVM(0xc210064090, 0x7fff5fd61647, 0x11, 0x0, 0xc2100f93f0, ...)
/home/maltaib1/src/go/src/github.com/vmware/govmomi/govc/vm/create.go:192 +0x9f2
github.com/vmware/govmomi/govc/vm.(*create).Run(0xc210064090, 0xc2100f59a0, 0x0, 0x0)
/home/maltaib1/src/go/src/github.com/vmware/govmomi/govc/vm/create.go:108 +0x295
github.com/vmware/govmomi/govc/cli.Run(0xc21000a010, 0xc, 0xc, 0xc210000260)
/home/maltaib1/src/go/src/github.com/vmware/govmomi/govc/cli/command.go:151 +0x680
main.main()
/home/maltaib1/src/go/src/github.com/vmware/govmomi/govc/main.go:40 +0x64
goroutine 82 [runnable]:
net/http.(_persistConn).readLoop(0xc210099500)
/usr/lib64/golang/src/pkg/net/http/transport.go:778 +0x68f
created by net/http.(_Transport).dialConn
/usr/lib64/golang/src/pkg/net/http/transport.go:528 +0x607
goroutine 83 [select]:
net/http.(_persistConn).writeLoop(0xc210099500)
/usr/lib64/golang/src/pkg/net/http/transport.go:791 +0x271
created by net/http.(_Transport).dialConn
/usr/lib64/golang/src/pkg/net/http/transport.go:529 +0x61e
from govmomi.
@bmaltais thanks for providing the info - we had just been developing against standard vSwitch till now. This should fix, if not then we can take a closer look at your config.
from govmomi.
Hello Doug,
The fix for the dvswitch appear to have worked.
I am now running into another problem but it might now have anything to do with govmomi:
[maltaib1@localhost kubernetes]$ cluster/kube-up.sh
Starting cluster using provider: vsphere
Using password: admin:
Starting master VM (this can take a minute)...
Found kubernetes-master at 192.168.24.65
Starting minion VMs (this can take a minute)...
Enter passphrase for key '/home/maltaib1/.ssh/id_rsa': Enter passphrase for key '/home/maltaib1/.ssh/id_rsa': Enter passphrase for key '/home/maltaib1/.ssh/id_rsa': Enter passphrase for key '/home/maltaib1/.ssh/id_rsa':
3 commands failed. Exiting.
from govmomi.
Trying to issue:
[maltaib1@localhost kubernetes]$ cluster/kubecfg.sh -p 8080:80 run dockerfile/nginx 2 myNginx
return the following:
F0912 08:08:59.751679 30243 kubecfg.go:405] Error: Post https://192.168.24.65/api/v1beta1/replicationControllers: dial tcp 192.168.24.65:443: connection refused
so something might be totally wrong... unless the command is different with the vsphere cluster.
from govmomi.
We can discuss this further on the kubernetes list. This is not a govmomi issue.
from govmomi.
Related Issues (20)
- Add support for "High with Hyperthreading" option for latency_sensitivity HOT 2
- [BUG] PropertyCollector not populating ScsiLun.AlternateName data correctly/fully HOT 5
- [BUG] govc 0.37.3 datastore.create cannot add nfs41 storage HOT 2
- Add vSAN data migration support for host.maintenance.enter HOT 2
- [BUG] govc fails with 'No host is compatible with the virtual machine' HOT 4
- govc import ova template failing with version v0.38.0 HOT 9
- VCSim should support DRS automation levels
- vcsim: support alarm definitions and trigger on datacenter, cluster and host
- [BUG] Didn't find way to expand datastore capacity HOT 5
- Can't set ftcpt.ftEncryptionMode or migrate.encryptionMode in extra config HOT 4
- Unexported unit Field in performance.MetricSeries Struct HOT 3
- govc support for dual-stack vmk with host.vnic.info HOT 1
- [BUG] host.portgroup.remove always returns NotFound HOT 1
- Example of how to attach a disk from one vm to another. HOT 4
- [BUG] simulation CancelTask error with info.canceled field HOT 2
- Implement SessionManager.ImpersonateUser(). HOT 2
- [BUG] You can't see all of the content in a specific library HOT 3
- [BUG] How to provide a size when creating a datastore HOT 4
- Update eam api to include authenticationSchema in agentConfigInfo to accessing ovf urls. HOT 1
- [BUG] DatacentersFolders.VmFolder is not a complete path when datacenter is in a datacenter folder. HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from govmomi.