This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
★ pmorie:~/go/src/github.com/openshift/origin (docker-build-support) | |
$ hack/build-docker.sh -lw | |
Making origin-build image... | |
Building openshift/origin-build | |
Sending build context to Docker daemon 6.656 kB | |
Sending build context to Docker daemon | |
Step 0 : FROM fedora:20 | |
---> 58394af37342 | |
Step 1 : RUN yum install -y deltarpm | |
---> Using cache |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[vagrant@openshiftdev vagrant]$ ip a | |
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default | |
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 | |
inet 127.0.0.1/8 scope host lo | |
valid_lft forever preferred_lft forever | |
inet6 ::1/128 scope host | |
valid_lft forever preferred_lft forever | |
2: p2p1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000 | |
link/ether 08:00:27:96:96:e1 brd ff:ff:ff:ff:ff:ff | |
inet 10.0.2.15/24 brd 10.0.2.255 scope global dynamic p2p1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"kind": "Build", | |
"apiVersion": "v1beta1", | |
"input": { | |
"type": "sti", | |
"sourceUri": "git://github.com/ncdc/sti-ruby-app", | |
"imageTag": "andy/test", | |
"builderImage": "ncdc/sti-busybox" | |
} | |
"labels": { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// DeploymentTriggerPolicy describes a policy for a single trigger triggers that result in a new Deployment. | |
type DeploymentTriggerPolicy struct { | |
Type DeploymentTriggerType | |
ImageParams *ImageChangeTriggerParams | |
} | |
type ImageChangeTriggerParams struct { | |
RepositoryName string | |
ImageName string |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
type DeploymentConfig struct { | |
api.JSONBase `json:",inline" yaml:",inline"` | |
Labels map[string]string `json:"labels,omitempty" yaml:"labels,omitempty"` | |
TriggerPolicies []DeploymentTriggerPolicy `json:"triggerPolicy,omitempty" yaml:"triggerPolicy,omitempty"` | |
Template DeploymentTemplate `json:"template,omitempty" yaml:"template,omitempty"` | |
Number int | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"id":"frontend-config3", | |
"kind":"DeploymentConfig", | |
"apiVersion":"v1beta1", | |
"triggers":[ | |
{ | |
"type": "manual" | |
} | |
], | |
"template":{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
E1001 03:41:02.435119 11413 config_controller.go:73] Error determining whether to redeploy deploymentConfig frontend-config3: request [&http.Request{Method:"GET", URL:(*url.URL | |
)(0xc21035b5b0), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{}, Body:io.ReadCloser(nil), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host | |
:"172.28.128.4:8080", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.Co | |
nnectionState)(nil)}] failed (404) 404 Not Found: {"kind":"Status","creationTimestamp":null,"apiVersion":"v1beta1","status":"failure","message":"deployment \"frontend-config3-0 | |
\" not found","reason":"not_found","details":{"id":"frontend-config3-0","kind":"deployment"},"code":404} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
++ openshift kube -h 172.28.128.4:8080 --json get genDeploymentConfigs/hello-deployment-config | |
F1001 22:31:07.957680 24140 kubecfg.go:392] Got request error: request [&http.Request{Method:"GET", URL:(*url.URL)(0xc210064c40), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{}, Body:io.ReadCloser(nil), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"172.28.128.4:8080", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil)}] failed (404) 404 Not Found: {"kind":"Status","creationTimestamp":null,"apiVersion":"v1beta1","status":"failure","message":"deployment \"hello-deployment-config-0\" not found","reason":"not_found","details":{"id":"hello-deployment-config-0","kind":"deployment"},"code":404} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
+ http 172.28.128.4:8080/osapi/v1beta1/genDeploymentConfigs/hello-deployment-config | |
HTTP/1.1 404 Not Found | |
Content-Length: 244 | |
Content-Type: application/json | |
Date: Thu, 02 Oct 2014 01:21:08 GMT | |
{ | |
"apiVersion": "v1beta1", | |
"code": 404, | |
"creationTimestamp": null, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I1002 20:21:21.069649 27510 config_controller.go:159] Received deploymentConfig watch for ID hello-deployment-config | |
I1002 20:21:21.072743 27510 trigger_controller.go:353] Received deploymentConfig watch for ID hello-deployment-config | |
I1002 20:21:21.072799 27510 trigger_controller.go:382] Refreshing image repo triggers for deploymentConfig hello-deployment-config | |
panic: runtime error: invalid memory address or nil pointer dereference | |
[signal 0xb code=0x1 addr=0x0 pc=0x522568] | |
goroutine 173 [running]: | |
runtime.panic(0x9dfd80, 0x14c1d68) | |
/usr/lib/golang/src/pkg/runtime/panic.c:266 +0xb6 | |
github.com/openshift/origin/pkg/client.(*Client).UpdateDeploymentConfig(0xc21015ae10, 0x0, 0xc21047a600, 0x0, 0x0) |