Giter Site home page Giter Site logo

Comments (6)

bmaltais avatar bmaltais commented on August 20, 2024

I can provide logs if that help... but I have a feeling that a similar fix to the other will be needed...

kubernetes/kubernetes#1162

and

4a533b2

from govmomi.

bmaltais avatar bmaltais commented on August 20, 2024

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.

dougm avatar dougm commented on August 20, 2024

@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.

bmaltais avatar bmaltais commented on August 20, 2024

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.

bmaltais avatar bmaltais commented on August 20, 2024

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.

pietern avatar pietern commented on August 20, 2024

We can discuss this further on the kubernetes list. This is not a govmomi issue.

from govmomi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.