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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: miqbox-0.4.tar.gz
  • Upload date:
  • Size: 10.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.4.tar.gz
Algorithm Hash digest
SHA256 41776dc7790257b1b3e87c02d221d8e063101075507f8eb5edac039db54aff80
MD5 afb5c022815a9c5d4d3d522404935e71
BLAKE2b-256 c7ffc8d4f2fa21e18a0abe53d1ca84fe276462d1f884c91ac4c3002fad299da3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: miqbox-0.4-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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 d6b12f5392d512ece7e9a689ef82ade62db19af7dccffcfebcd24f6ed0beea58
MD5 5228480aec15b9f31b491b74fdaab1ac
BLAKE2b-256 9bae029a6623b541b9d39d33fd98718233e4b894616e7509e39d3a748d03f65d

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