fog.io driver for Proxmox

I'm starting to agree with a colleague who says that Proxmox is too obscure to be valuable for our needs. We need to provision new machines, we chose open source and free solutions over proprietary ones in pursuit of flexibility and lower costs but in this case Proxmox working out less flexible and likely more expensive than to just provision against Digital Ocean or the scores of alternatives that do implement fog.io : fog.io is the bridge into a lot of other tooling.

I can imagine that most Proxmox VE admins are not yet in DevOps, but at the same time the DevOps movement is undergoing fast paced growth. The Proxmox project could capture some of that with the right support.
 
So, it seems that fog.io already supports OpenVZ:

~/.chefdk/gem/ruby/2.1.0/gems/fog-1.27.0/lib/fog/openvz 15:09:08 543$ more README.md


Code:
## Get a specific server


    openvz = ::Fog::Compute.new( {:provider => 'openvz'})
    server = openvz.servers.get(104)


## Server lifecycle


    openvz = ::Fog::Compute.new( {:provider => 'openvz'})
    # Create a server
    server = openvz.servers.create(
      :ctid       => '104',
      :ostemplate => 'ubuntu-12.04-x86_64',
      :diskspace  => 1024*1024 #in kbyte
    )
    server.reload


    # Start a server
    unless server.status == 'running'
      server.start
    end

Why OpenVZ is not listed as a provider is completely beyond me!
 
https://github.com/fog/fog/issues/3405#
mrjcleaver commented 2 days ago

Is there a reason OpenVZ is not listed on http://fog.io/about/provider_documentation.html ? Thx, Martin.
#1842





Ownertokengeek commented 5 hours ago

There wasn't a PR adding it to the documentation site yet... https://github.com/fog/fog.github.com
Please feel free to add it as a PR.





Ownergeemus commented 36 minutes ago



Yeah, quite likely it was simple oversight. Definitely would welcome the fix/addition. Thanks!

So... https://twitter.com/mrjcleaver/status/557186771515998210
 
Is there a Fog driver project, It will be very usefull for VM deployment through a centralized tool like Foreman.
Thanks to proxmox team.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!