Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Overview page does not reflect correct Build # that is deployed #7264

Closed
kurktchiev opened this issue Feb 12, 2016 · 11 comments
Closed

Overview page does not reflect correct Build # that is deployed #7264

kurktchiev opened this issue Feb 12, 2016 · 11 comments

Comments

@kurktchiev
Copy link

I just noticed this, but the build # is not correct on the overview page vs what the actual latest build that should be running/is running, is. This is in OSE 3.1.1
overview
builds
builds2

@spadgett
Copy link
Member

Does this command show the right build?

$ oc describe istag/lab1:latest | grep OPENSHIFT_BUILD

@spadgett
Copy link
Member

And does the oc describe istag/lab1:latest name have sha256:89d171a...?

@liggitt
Copy link
Contributor

liggitt commented Feb 12, 2016

is this the imagestreamtag API issue that got fixed?

@kurktchiev
Copy link
Author

----> oc describe istag/lab1:latest | grep OPENSHIFT_BUILD
Environment: OPENSHIFT_BUILD_NAME=lab1-6
Name: sha256:a61ca1ed952....

@spadgett
Copy link
Member

The web console believes you have a different image deployed. oc describe rc lab1-9 should show a hash other than sha256:a61ca1e

What triggers are set with oc describe dc lab1?

@kurktchiev
Copy link
Author

----> oc describe dc lab1
Name: lab1
Created: 2 days ago
Labels: app=lab1
Annotations: openshift.io/generated-by=OpenShiftWebConsole
Latest Version: 9
Triggers: Image(lab1@latest, auto=true), Config
Strategy: Rolling
Template:
Selector: deploymentconfig=lab1
Replicas: 1
Containers:
NAME IMAGE ENV
lab1 172.30.17.65:5000/sbr/lab1@sha256:a61ca1ed952df11d79a65b4d4170c8a0af09b08a0890dcd558d10b2bb2d08c51 MYSQL_DATABASE=sampledb,MYSQL_PASSWORD=u24vbTBjsscMB6fb,MYSQL_USER=user1ED
Deployment #9 (latest):
Name: lab1-9
Created: 2 days ago
Status: Complete
Replicas: 1 current / 1 desired
Selector: deployment=lab1-9,deploymentconfig=lab1
Labels: app=lab1,openshift.io/deployment-config.name=lab1
Pods Status: 1 Running / 0 Waiting / 0 Succeeded / 0 Failed
Deployment #4:
Created: 2 days ago
Status: Complete
Replicas: 0 current / 0 desired
No events.

@kurktchiev
Copy link
Author

It is for sure running the latest build because the code changes I am making are getting pushed out

@spadgett
Copy link
Member

Sorry to ask for all these commands. Still tracking this down...

One more:

oc get rc lab1-9 -o jsonpath="{.spec.template.spec.containers[0].image}"

This is how the web console finds the image hash shown in the dotted-line pod template. If that doesn't match 89d171a, it would explain the problem.

@kurktchiev
Copy link
Author

----> oc get rc lab1-9 -o jsonpath="{.spec.template.spec.containers[0].image}"
172.30.17.65:5000/sbr/lab1@sha256:a61ca1ed952df11d79a65b4d4170c8a0af09b08a0890dcd558d10b2bb2d08c51

@jwforres
Copy link
Member

This was fixed in #6945 it was an API issue. Believe this was added as a hotfix for the 3.1.1.x branch but you can confirm with @smarterclayton

@smarterclayton
Copy link
Contributor

Yes

On Tue, Feb 16, 2016 at 11:37 AM, Jessica Forrester <
[email protected]> wrote:

Closed #7264 #7264.


Reply to this email directly or view it on GitHub
#7264 (comment).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants