Skip to content

apb push fail with Exception occurred! 'module' object has no attribute 'get_config_header' #223

Open
@menardorama

Description

@menardorama

I am trying to push a sample apb template (https://github.com/ansibleplaybookbundle/rocketchat-apb) and I am facing this error.

I have installed apb using pip on an openshift master.

I've first of all issue an oc login as a user who have clusteradmin role

root@os-master1 dockerhub]# apb push
/usr/lib/python2.7/site-packages/urllib3/connectionpool.py:858: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  InsecureRequestWarning)
Didn't find OpenShift Ansible Broker route in namespace: ansible-service-broker.                    Trying openshift-ansible-service-broker
/usr/lib/python2.7/site-packages/urllib3/connectionpool.py:858: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  InsecureRequestWarning)
version: 1.0
name: rocketchat-apb
description: This APB deploys RocketChat backed by MongoDB
bindable: False
async: optional
metadata:
  documentationUrl: https://rocket.chat
  imageUrl: https://github.com/RocketChat/Rocket.Chat.Artwork/blob/master/Logos/rocketcat.png?raw=true
  dependencies: ['rocket.chat:latest', 'mongo:3.2']
  displayName: RocketChat (APB)
  longDescription: An APB that deploys RocketChat to OpenShift backed by MongoDB
  providerDisplayName: "Red Hat, Inc."
plans:
  - name: default
    description: This plan deploys a single RocketChat application backed by MongoDB
    free: True
    metadata:
      displayName: Default
      longDescription: This plan provides a RocketChat application backed by MongoDB
      cost: $0.00
    parameters:
      - name: mongodb_user
        default: rocketchat
        type: string
        title: MongoDB Username
        required: True
      - name: mongodb_pass
        default: changeme
        type: string
        title: MongoDB Password
        required: True
      - name: mongodb_name
        default: rocketchat
        type: string
        title: MongoDB Database Name
        required: True
      - name: mongodb_admin_pass
        default: changeme
        type: string
        title: MongoDB Admin Password
        required: True
      - name: mongodb_version
        default: "3.2"
        enum: ['3.2', '3.4', '3.5']
        type: enum
        title: MongoDB Version
        required: True
      - name: rocketchat_version
        default: latest
        enum: ['latest', '0.56.0']
        type: enum
        title: RocketChat Version
        required: True

/usr/lib/python2.7/site-packages/urllib3/connectionpool.py:858: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  InsecureRequestWarning)
Found registry IP at: 172.30.197.66:5000
Finished writing dockerfile.
Building APB using tag: [172.30.197.66:5000/openshift/rocketchat-apb]
Successfully built APB image: 172.30.197.66:5000/openshift/rocketchat-apb
Pushing the image, this could take a minute...
Exception occurred! 'module' object has no attribute 'get_config_header'
[root@os-master1 dockerhub]#

Any idea ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions