Coder Social home page Coder Social logo

pulumiverse / pulumi-esxi-native Goto Github PK

View Code? Open in Web Editor NEW
5.0 1.0 3.0 25.09 MB

VMWare ESXi provider to provision VMs directly on an ESXi hypervisor without a need for vCenter or vSphere.

License: Apache License 2.0

Makefile 1.10% Go 36.86% C# 16.35% TypeScript 12.45% JavaScript 0.27% Python 32.98%
pulumi pulumi-provider

pulumi-esxi-native's Introduction

pulumi-esxi-native's People

Contributors

dependabot[bot] avatar edmondshtogu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

pulumi-esxi-native's Issues

Python example 01_simple_virtual_machine is not working (anymore)

Summary

I've tried to deploy a vm with you 01_simple_virtual_machine_python example. A few weeks a go it worked. When I want to try it again today it doesn't. I've tried it on MacOS and Debian (in WSL).

Diagnostics

1.0.0

    error: Program failed with an unhandled exception:
    Traceback (most recent call last):
      File "/opt/homebrew/bin/pulumi-language-python-exec", line 197, in <module>
        loop.run_until_complete(coro)
      File "/opt/homebrew/Cellar/[email protected]/3.11.5/Frameworks/Python.framework/Versions/3.11/lib/python3.11/asyncio/base_events.py", line 653, in run_until_complete
        return future.result()
               ^^^^^^^^^^^^^^^
      File "/Users/gerrit/Code/les-05/pulumi-esxi/venv/lib/python3.11/site-packages/pulumi/runtime/stack.py", line 137, in run_in_stack
        await run_pulumi_func(lambda: Stack(func))
      File "/Users/gerrit/Code/les-05/pulumi-esxi/venv/lib/python3.11/site-packages/pulumi/runtime/stack.py", line 51, in run_pulumi_func
        await wait_for_rpcs()
      File "/Users/gerrit/Code/les-05/pulumi-esxi/venv/lib/python3.11/site-packages/pulumi/runtime/stack.py", line 121, in wait_for_rpcs
        raise exception
      File "/Users/gerrit/Code/les-05/pulumi-esxi/venv/lib/python3.11/site-packages/pulumi/output.py", line 172, in run
        is_known = await self._is_known
                   ^^^^^^^^^^^^^^^^^^^^
      File "/Users/gerrit/Code/les-05/pulumi-esxi/venv/lib/python3.11/site-packages/pulumi/output.py", line 103, in is_value_known
        return await is_known and not contains_unknowns(await future)
               ^^^^^^^^^^^^^^
      File "/Users/gerrit/Code/les-05/pulumi-esxi/venv/lib/python3.11/site-packages/pulumi/runtime/resource.py", line 872, in do_register
        resolver = await prepare_resource(res, ty, custom, remote, props, opts, typ)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/Users/gerrit/Code/les-05/pulumi-esxi/venv/lib/python3.11/site-packages/pulumi/runtime/resource.py", line 176, in prepare_resource
        serialized_props = await rpc.serialize_properties(
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/Users/gerrit/Code/les-05/pulumi-esxi/venv/lib/python3.11/site-packages/pulumi/runtime/rpc.py", line 209, in serialize_properties
        result = await serialize_property(
                 ^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/Users/gerrit/Code/les-05/pulumi-esxi/venv/lib/python3.11/site-packages/pulumi/runtime/rpc.py", line 562, in serialize_property
        raise ValueError(f"unexpected input of type {type(value).__name__}")
    ValueError: unexpected input of type _GenericAlias

As far as I can debug it is in the part:

network_interfaces=Sequence[NetworkInterfaceArgs(
                        virtual_network="default"
                    )])

Message from the maintainers:

Impacted by this bug? Give it a ๐Ÿ‘. We prioritise the issues with the most ๐Ÿ‘.

Error failed to connect to esxi host: client connection error

Summary

My configuration worked with terraform but didn't work with pulumi.

failed to connect to esxi host: client connection error
image

Diagnostics

The only version 1.0.0

Previewing update (esxi):
     Type                                Name          Plan       Info
 +   pulumi:pulumi:Stack                 esxi-esxi     create     1 warning; 6 debugs
     โ””โ”€ esxi-native:index:VirtualSwitch  InternetOnly             1 error

Diagnostics:
  esxi-native:index:VirtualSwitch (InternetOnly):
    error: failed to connect to esxi host: client connection error

  pulumi:pulumi:Stack (esxi-esxi):
    debug: Registering resource: t=pulumi:pulumi:Stack, name=esxi-esxi, custom=false, remote=false
    debug: RegisterResource RPC prepared: t=pulumi:pulumi:Stack, name=esxi-esxi
    debug: RegisterResource RPC finished: resource:esxi-esxi[pulumi:pulumi:Stack]; err: null, resp: urn:pulumi:esxi::esxi::pulumi:pulumi:Stack::esxi-esxi,,,,
    debug: Running program '/Users/namphan/code/upbase/infra/esxi' in pwd '/Users/namphan/code/upbase/infra/esxi' w/ args: 
    debug: Registering resource: t=esxi-native:index:VirtualSwitch, name=InternetOnly, custom=true, remote=false
    debug: RegisterResource RPC prepared: t=esxi-native:index:VirtualSwitch, name=InternetOnly
    warning: resource plugin esxi-native is expected to have version >=1.0.0, but has 0.0.1; the wrong version may be on your path, or this may be a bug in the plugin

Message from the maintainers:

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.