Skip to main content

Spin ManageIQ/CFME Appliance locally.

Project description

alt text alt text

miqbox

Spin ManageIQ/CFME Appliance locally with Virtualization.

Under progress...

Prerequisite:

  1. Virtualization:

    • Fedora
      sudo dnf install @virtualization
      systemctl start libvirtd
      systemctl enable libvirtd
      
      If you want optional packages
      dnf group install --with-optional virtualization
      
    • Ubuntu
      sudo apt-get install qemu-kvm
      
  2. Devel Packages:

    sudo dnf install libvirt-devel python-devel python3-devel
    

Install:

  • pip

    pip install miqbox --user
    
  • source

    python setup.py install --user
    

Note: For Development install in editable mode.

Troubleshooting:

  • libvirt: Polkit error
  • To prevent libvirt from asking root password:
    • Add libvirt group (It may be present by default)
      sudo groupadd libvirt
      
    • Add not root user as member
      sudo usermod -a -G libvirt <username>
      
    • Add Polkit rule for libvirt:
      vim /etc/polkit-1/rules.d/80-libvirt.rules
      
      polkit.addRule(function(action, subject) {
      if (action.id == "org.libvirt.unix.manage"
          && subject.local
          && subject.active
          && subject.isInGroup("libvirt")) {
      return polkit.Result.YES;
      }
      });
      

Usage:

 Usage: miqbox [OPTIONS] COMMAND [ARGS]...

   Command line application entry point

 Options:
   --help  Show this message and exit.

 Commands:
   config     Configure miqbox
   create     Create Appliance
   evmserver  Restart Miq/CFME Server
   images     Get local or remote available image Args: local: default, will...
   kill       Kill Appliance
   pull       Download Image
   rmi        Remove local Image
   start      Start Appliance
   status     Appliance Status
   stop       Stop Appliance

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

miqbox-0.5.tar.gz (10.7 kB view details)

Uploaded Source

Built Distribution

miqbox-0.5-py3-none-any.whl (10.9 kB view details)

Uploaded Python 3

File details

Details for the file miqbox-0.5.tar.gz.

File metadata

  • Download URL: miqbox-0.5.tar.gz
  • Upload date:
  • Size: 10.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.7.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.6.8

File hashes

Hashes for miqbox-0.5.tar.gz
Algorithm Hash digest
SHA256 a5fc9c7e35c5e517d150ff1e7d4a00d0be0e66a2b49f89b8128306557305df7a
MD5 6865e02a46f7fe24ae696ef9c1fd1eef
BLAKE2b-256 2f8220dcdd7f02004eaedbc1772e1379a770bb48d7417b60b2e15ebb0301c4da

See more details on using hashes here.

File details

Details for the file miqbox-0.5-py3-none-any.whl.

File metadata

  • Download URL: miqbox-0.5-py3-none-any.whl
  • Upload date:
  • Size: 10.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.7.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.6.8

File hashes

Hashes for miqbox-0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 c9c2dd4c27da7c26a8a19180aeac945678673d86ce64264e01cde17c3e815bb7
MD5 2086e58031e0f497bfc2a956991d8f3d
BLAKE2b-256 5fb3a10f90b78f9866a203500b3285dabfe0f7619ebc4c0d02ebf2a965023da4

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page