Bug 1319439 - When no --cloud-provider flag node providerID is "aws:///" on openstack env
Summary: When no --cloud-provider flag node providerID is "aws:///" on openstack env
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Node
Version: 3.2.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: Andy Goldstein
QA Contact: DeShuai Ma
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-03-20 04:50 UTC by DeShuai Ma
Modified: 2016-05-12 16:33 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-05-12 16:33:36 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2016:1064 0 normal SHIPPED_LIVE Important: Red Hat OpenShift Enterprise 3.2 security, bug fix, and enhancement update 2016-05-12 20:19:17 UTC

Description DeShuai Ma 2016-03-20 04:50:36 UTC
Description of problem:
When no --cloud-provider flag is given, The node providerID is "aws:///xxx" on openstack env. On gce/aws env get providerID correctly
  
Version-Release number of selected component (if applicable):
openshift v3.2.0.5
kubernetes v1.2.0-36-g4a3f9c5
etcd 2.2.5
atomic-openshift-3.2.0.5-1.git.0.f1bac72.el7.x86_64

How reproducible:
Always

Steps to Reproduce:
1.Setup a multi node env on openstack

2.Check node info
[root@openshift-116 ~]# oc get node
NAME                               STATUS    AGE
openshift-110.lab.sjc.redhat.com   Ready     3h
openshift-116.lab.sjc.redhat.com   Ready     37m
[root@openshift-116 ~]# oc get node openshift-110.lab.sjc.redhat.com -o json|grep providerID
        "providerID": "aws:////i-00001167"
[root@openshift-116 ~]# oc get node openshift-116.lab.sjc.redhat.com -o json|grep providerID
        "providerID": "aws:////i-00001166"

Actual results:
2.Node info should be "openstack:////xxxx"

Expected results:


Additional info:
related pr: https://github.com/openshift/origin/pull/8062

Comment 1 DeShuai Ma 2016-03-21 01:22:02 UTC
Cadvisor PR : https://github.com/google/cadvisor/pull/1171

Comment 2 Andy Goldstein 2016-03-23 13:14:10 UTC
The fix has merged to origin: https://github.com/openshift/origin/pull/8197. This backs out a previous upstream PR that resulted in this bug.

Comment 3 Troy Dawson 2016-03-23 21:24:12 UTC
This should be in OSE v3.2.0.7 that was build and pushed to qe today.

Comment 4 DeShuai Ma 2016-03-24 03:08:06 UTC
Test on openshift v3.2.0.7
the feature is revert, there is no "providerID" when there is no cloud-prover.
verify this bug.

Comment 6 errata-xmlrpc 2016-05-12 16:33:36 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2016:1064


Note You need to log in before you can comment on or make changes to this bug.