Skip to content

Instantly share code, notes, and snippets.

@aweiteka
Last active September 7, 2017 20:10
Show Gist options
  • Save aweiteka/651d94ae0ca9156320fca9abbdd1da68 to your computer and use it in GitHub Desktop.
Save aweiteka/651d94ae0ca9156320fca9abbdd1da68 to your computer and use it in GitHub Desktop.
MIQ+OpenShift laptop demo

Running ManageIQ and OpenShift on Laptop

Prereq

Assumes oc cluster up or similar workflow.

Deploy MIQ

Run via docker

sudo docker run --name miq --privileged -d -p 9443:443 manageiq/manageiq:fine-3

Configure

  1. Add priv to miq orchestrator serviceaccount. You may need to create this account.

     oc adm policy add-cluster-role-to-user cluster-admin system:serviceaccount:openshift-infra:miq-orchestrator
    
  2. Get token and configure OpenShift Provider in MIQ UI

     oc sa get-token miq-orchestrator
    
  3. Use the returned token to create a new OpenShift provider in MIQ.

    • Security Protocol: SSL without verification
    • hostname: 172.17.0.1
    • API port: 8443
    • token: FROM_STEP_2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment