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.6.tar.gz (11.8 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: miqbox-0.6.tar.gz
  • Upload date:
  • Size: 11.8 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.6.tar.gz
Algorithm Hash digest
SHA256 997d18d8d32a203657a134374c3cfb3b1d9f1c9326654c049ba3d4a601353ccb
MD5 b6e64333ea7d2bef30fd5cc075021456
BLAKE2b-256 cd3a943cb69f8459fd15c9fa8eb0fd43be6e868f5f7f95ef89544f333f47d3e3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: miqbox-0.6-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.6-py3-none-any.whl
Algorithm Hash digest
SHA256 830ab183f13b86033b28e0cc9cdb2fcba18f68b85c0497a6418731495b996d27
MD5 642835c661f0f20821e1024d1871fb91
BLAKE2b-256 32e7611134b1eb5a7d5548481bb64a305eb5b8cf2e415caf936269e3ea5deadf

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