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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: miqbox-0.3.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.3.tar.gz
Algorithm Hash digest
SHA256 1abf4f4eb38ecebaa800b4322ce8414ade6f4b0b6afdad575d5b6eafec6bc0e7
MD5 15729567dd1cd8dbdf44bd1f5a52cc39
BLAKE2b-256 225a6d40f7fae123640b3c9d2643b5e584e67084c1c2181b7b0d21e2836e0190

See more details on using hashes here.

File details

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

File metadata

  • Download URL: miqbox-0.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 817678feb26227e5ecf931c94abc0e523693804f6d553b8306846ea0ec1e27cd
MD5 99c7940c1f54c2574a048e1a7b8e9390
BLAKE2b-256 595523445202382b3408c5cd03483a6b0f9a82ed77d5617139e6c315e2c43824

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