minishift: metrics and logging does not work with minishift community and oc enterprise

When using:

  • openshift oc enterprise version (v3.6.173.0.5)
  • minishift community (1.4.1) - to be able to use the service-catalog flag on enterprise

centos or rhel image (from cdk),

There is an error from ansible-container deployer about package prerequisites:

Log from metrics:

ok: [192.168.99.106] => {
    "ansible_facts": {
        "l_is_atomic": false
    }, 
    "changed": false
}
TASK [openshift_facts : set_fact] **********************************************
ok: [192.168.99.106] => {
    "ansible_facts": {
        "l_is_containerized": false, 
        "l_is_etcd_system_container": false, 
        "l_is_master_system_container": false, 
        "l_is_node_system_container": false, 
        "l_is_openvswitch_system_container": false
    }, 
    "changed": false
}
TASK [openshift_facts : set_fact] **********************************************
ok: [192.168.99.106] => {
    "ansible_facts": {
        "l_any_system_container": false
    }, 
    "changed": false
}
TASK [openshift_facts : set_fact] **********************************************
ok: [192.168.99.106] => {
    "ansible_facts": {
        "l_etcd_runtime": "host"
    }, 
    "changed": false
}
TASK [openshift_facts : Validate python version] *******************************
skipping: [192.168.99.106] => {
    "changed": false, 
    "skip_reason": "Conditional check failed", 
    "skipped": true
}
TASK [openshift_facts : Validate python version] *******************************
skipping: [192.168.99.106] => {
    "changed": false, 
    "skip_reason": "Conditional check failed", 
    "skipped": true
}
TASK [openshift_facts : Determine Atomic Host Docker Version] ******************
skipping: [192.168.99.106] => {
    "changed": false, 
    "skip_reason": "Conditional check failed", 
    "skipped": true
}
TASK [openshift_facts : assert] ************************************************
skipping: [192.168.99.106] => {
    "changed": false, 
    "skip_reason": "Conditional check failed", 
    "skipped": true
}
TASK [openshift_facts : Load variables] ****************************************
ok: [192.168.99.106] => (item=/usr/share/ansible/openshift-ansible/roles/openshift_facts/vars/default.yml) => {
    "ansible_facts": {
        "required_packages": [
            "iproute", 
            "python-dbus", 
            "PyYAML", 
            "yum-utils"
        ]
    }, 
    "item": "/usr/share/ansible/openshift-ansible/roles/openshift_facts/vars/default.yml"
}
TASK [openshift_facts : Ensure various deps are installed] *********************
failed: [192.168.99.106] (item=[u'iproute', u'python-dbus', u'PyYAML', u'yum-utils']) => {
    "changed": false, 
    "failed": true, 
    "item": [
        "iproute", 
        "python-dbus", 
        "PyYAML", 
        "yum-utils"
    ], 
    "rc": 126, 
    "results": [
        "No package matching 'iproute' found available, installed or updated"
    ]
}
MSG:
No package matching 'iproute' found available, installed or updated
PLAY RECAP *********************************************************************
192.168.99.106             : ok=8    changed=0    unreachable=0    failed=1   
localhost                  : ok=8    changed=0    unreachable=0    failed=0

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 30 (16 by maintainers)

Most upvoted comments

Still having the same issue with CDK 3.1.1

@gbraad, the issue comes with OCP, not with origin. @hferentschik to reproduce the issue:

  • Install CDK 3.1.
  • Set up cdk: minishift setup-cdk
  • Install minishift community.
  • change .minishift/cache/oc/v3.6.0 with the enterprise release (3.6.173.0.5)

Start it using MINISHIFT_ENABLE_EXPERIMENTAL=y ./minishift start --skip-registration --service-catalog --metrics --show-libmachine-logs -v 5