[jbosstools-issues] [JBoss JIRA] (JBIDE-22915) Deploy Docker Image: Replication controller is not created for some images
Andre Dietisheim (JIRA)
issues at jboss.org
Thu Nov 10 08:58:00 EST 2016
[ https://issues.jboss.org/browse/JBIDE-22915?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13320335#comment-13320335 ]
Andre Dietisheim commented on JBIDE-22915:
------------------------------------------
Retested it with the steps above. A replication controller *hello-openshift-1* was created:
{code}
{
"kind": "ReplicationController",
"apiVersion": "v1",
"metadata": {
"name": "hello-openshift-1",
"namespace": "gargoyle",
"selfLink": "/api/v1/namespaces/gargoyle/replicationcontrollers/hello-openshift-1",
"uid": "30b23799-a74d-11e6-99f9-52540018276f",
"resourceVersion": "17432",
"generation": 2,
"creationTimestamp": "2016-11-10T13:54:25Z",
"labels": {
"deploymentconfig": "hello-openshift",
"openshift.io/deployment-config.name": "hello-openshift"
},
"annotations": {
"openshift.io/deployer-pod.name": "hello-openshift-1-deploy",
"openshift.io/deployment-config.latest-version": "1",
"openshift.io/deployment-config.name": "hello-openshift",
"openshift.io/deployment.phase": "Complete",
"openshift.io/deployment.replicas": "1",
"openshift.io/deployment.status-reason": "caused by an image change",
"openshift.io/encoded-deployment-config": "{\"kind\":\"DeploymentConfig\",\"apiVersion\":\"v1\",\"metadata\":{\"name\":\"hello-openshift\",\"namespace\":\"gargoyle\",\"selfLink\":\"/oapi/v1/namespaces/gargoyle/deploymentconfigs/hello-openshift\",\"uid\":\"2fdfab9f-a74d-11e6-99f9-52540018276f\",\"resourceVersion\":\"17394\",\"generation\":2,\"creationTimestamp\":\"2016-11-10T13:54:23Z\",\"labels\":{\"deploymentconfig\":\"hello-openshift\"},\"annotations\":{\"openshift.io/generated-by\":\"jbosstools-openshift\"}},\"spec\":{\"strategy\":{\"type\":\"Rolling\",\"rollingParams\":{\"updatePeriodSeconds\":1,\"intervalSeconds\":1,\"timeoutSeconds\":600,\"maxUnavailable\":\"25%\",\"maxSurge\":\"25%\"},\"resources\":{}},\"triggers\":[{\"type\":\"ConfigChange\"},{\"type\":\"ImageChange\",\"imageChangeParams\":{\"automatic\":true,\"containerNames\":[\"hello-openshift\"],\"from\":{\"kind\":\"ImageStreamTag\",\"namespace\":\"gargoyle\",\"name\":\"hello-openshift:v1.2.1\"},\"lastTriggeredImage\":\"openshift/hello-openshift at sha256:e44d78ac0b70255d8a84a7707c2001d115d4db9354591b4098a718c8ccb693f7\"}}],\"replicas\":1,\"test\":false,\"selector\":{\"deploymentconfig\":\"hello-openshift\"},\"template\":{\"metadata\":{\"creationTimestamp\":null,\"labels\":{\"deploymentconfig\":\"hello-openshift\"}},\"spec\":{\"containers\":[{\"name\":\"hello-openshift\",\"image\":\"openshift/hello-openshift at sha256:e44d78ac0b70255d8a84a7707c2001d115d4db9354591b4098a718c8ccb693f7\",\"ports\":[{\"name\":\"8080-tcp\",\"containerPort\":8080,\"protocol\":\"TCP\"},{\"name\":\"8888-tcp\",\"containerPort\":8888,\"protocol\":\"TCP\"}],\"resources\":{},\"terminationMessagePath\":\"/dev/termination-log\",\"imagePullPolicy\":\"IfNotPresent\"}],\"restartPolicy\":\"Always\",\"terminationGracePeriodSeconds\":30,\"dnsPolicy\":\"ClusterFirst\",\"securityContext\":{}}}},\"status\":{\"latestVersion\":1,\"observedGeneration\":1,\"details\":{\"message\":\"caused by an image change\",\"causes\":[{\"type\":\"ImageChange\",\"imageTrigger\":{\"from\":{\"kind\":\"ImageStreamTag\",\"namespace\":\"gargoyle\",\"name\":\"hello-openshift:v1.2.1\"}}}]}}}\n"
}
},
"spec": {
"replicas": 1,
"selector": {
"deployment": "hello-openshift-1",
"deploymentconfig": "hello-openshift"
},
"template": {
"metadata": {
"creationTimestamp": null,
"labels": {
"deployment": "hello-openshift-1",
"deploymentconfig": "hello-openshift"
},
"annotations": {
"openshift.io/deployment-config.latest-version": "1",
"openshift.io/deployment-config.name": "hello-openshift",
"openshift.io/deployment.name": "hello-openshift-1"
}
},
"spec": {
"containers": [
{
"name": "hello-openshift",
"image": "openshift/hello-openshift at sha256:e44d78ac0b70255d8a84a7707c2001d115d4db9354591b4098a718c8ccb693f7",
"ports": [
{
"name": "8080-tcp",
"containerPort": 8080,
"protocol": "TCP"
},
{
"name": "8888-tcp",
"containerPort": 8888,
"protocol": "TCP"
}
],
"resources": {},
"terminationMessagePath": "/dev/termination-log",
"imagePullPolicy": "IfNotPresent"
}
],
"restartPolicy": "Always",
"terminationGracePeriodSeconds": 30,
"dnsPolicy": "ClusterFirst",
"securityContext": {}
}
}
},
"status": {
"replicas": 1,
"fullyLabeledReplicas": 1,
"observedGeneration": 2
}
}
{code}
> Deploy Docker Image: Replication controller is not created for some images
> --------------------------------------------------------------------------
>
> Key: JBIDE-22915
> URL: https://issues.jboss.org/browse/JBIDE-22915
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.4.1.AM3
> Reporter: Marián Labuda
> Assignee: Jeff MAURY
> Labels: deploy_docker_wizard, openshift_v3
> Fix For: 4.4.2.Final
>
>
> When I am trying to deploy docker image docker.io/openshift/hello-openshift:v1.2.1 from context menu of the image in Docker Explorer it does not trigger a new replication controller and thus an application pod is not spinned up. When working from oc binary, replication controller is created successfully ("oc new-app docker.io/openshift/hello-openshift:v1.2.1")
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
More information about the jbosstools-issues
mailing list