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)
- [BUG] Missing Tags attribute on tag association unmarshall HOT 2
- [BUG] vcsim: -method-delay does not work
- ResourcePool create: ServerFaultCode: A specified parameter was not correct: ResourceConfigSpec HOT 1
- Update eam api to include new parameter vmResourceConfiguration for configuring resource HOT 1
- Would it be possible to implement a "extract VM info to VMX" feature? HOT 1
- [BUG] Attempt to attach a tag via AttachTagToVStorageObject HOT 1
- [BUG] vcsim: vim.VirtualMachine.snapshot property causes runtime error when not set HOT 3
- Set value for a vApp Option HOT 3
- Provide applicaiton self identification in the default user-agent value
- [BUG] vm.network.add vmxnet3 HOT 2
- [BUG] govc: ServerFaultCode: Length of HTTP request body exceeds configured maximum; 107013 > 100000 HOT 3
- [BUG] Panic when updating vcsim map with partial updates to a field
- [BUG] vmdk file is incomplete when downloaded from SDDC vsphere content library via govc libary.export HOT 3
- Right way to replace/swap attached disk with another existing disk HOT 6
- Ability to reference a publisher content library from another vCenter HOT 3
- New metric about snapshots HOT 1
- [BUG] Help Page https://via.vmw.com/GJ98hk is not availbe / Govc 0.35.0 HOT 3
- [BUG] Govc metrics.ls datastore/myds requires an "Interval" -> -i=real is not working ( VSAN ESA Metrics / Telegraf needed ] HOT 4
- How to get VmDiskFileInfo.CapacityKb from .vmdk file? HOT 3
- Start HOT 1
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.