[etcd] Add missing debug info to binaries (patch from Jan Kratochvil) - resolves: #1184257

2015-02-09 Thread Jan Chaloupka
commit 8779d2a5689a74192c933c42897364646b863eb6
Author: Jan Chaloupka jchal...@redhat.com
Date:   Mon Feb 9 10:12:35 2015 +0100

Add missing debug info to binaries (patch from Jan Kratochvil)
- resolves: #1184257

 etcd.spec |   18 +-
 1 files changed, 13 insertions(+), 5 deletions(-)
---
diff --git a/etcd.spec b/etcd.spec
index ae2ef6f..e8858f8 100644
--- a/etcd.spec
+++ b/etcd.spec
@@ -1,4 +1,5 @@
-%global debug_package   %{nil}
+# https://bugzilla.redhat.com/show_bug.cgi?id=995136#c12
+%global _dwz_low_mem_die_limit 0
 %global providergithub
 %global provider_tldcom
 %global project coreos
@@ -8,13 +9,14 @@
 
 Name:  %{repo}
 Version:   2.0.0
-Release:   0.4%{?dist}
+Release:   0.5%{?dist}
 Summary:   A highly-available key value store for shared configuration
 License:   ASL 2.0
 URL:   https://%{import_path}
 Source0:   https://%{import_path}/archive/v%{version}.tar.gz
 Source1:   %{name}.service
 Source2:   %{name}.conf
+ExclusiveArch:  %{ix86} x86_64 %{arm}
 BuildRequires: golang = 1.3.3
 BuildRequires: golang(code.google.com/p/gogoprotobuf)
 BuildRequires: golang(github.com/codegangsta/cli)
@@ -94,9 +96,11 @@ mkdir -p src/github.com/coreos
 ln -s ../../../ src/github.com/coreos/etcd
 
 export GOPATH=$(pwd):%{gopath}:$GOPATH
-go build -v -x -o bin/etcd %{import_path}
-go build -a -ldflags '-s' -o bin/etcdctl %{import_path}/etcdctl
-go build -v -x -o bin/etcd-migrate %{import_path}/tools/%{name}-migrate
+# *** ERROR: No build ID note found in 
/.../BUILDROOT/etcd-2.0.0-1.rc1.fc22.x86_64/usr/bin/etcd
+function gobuild { go build -a -ldflags -B 0x$(head -c20 /dev/urandom|od -An 
-tx1|tr -d ' \n') -v -x $@; }
+gobuild -o bin/etcd %{import_path}
+gobuild -o bin/etcdctl %{import_path}/etcdctl
+gobuild -o bin/etcd-migrate %{import_path}/tools/%{name}-migrate
 
 
 %install
@@ -174,6 +178,10 @@ getent passwd %{name} /dev/null || useradd -r -g %{name} 
-d %{_sharedstatedir}/
 %{gopath}/src/%{import_path}
 
 %changelog
+* Mon Feb 09 2015 jchaloup jchal...@redhat.com - 2.0.0-0.5
+- Add missing debug info to binaries (patch from Jan Kratochvil)
+  resolves: #1184257
+
 * Fri Jan 30 2015 jchaloup jchal...@redhat.com - 2.0.0-0.4
 - Update to etcd-2.0.0
 - use gopath as the last directory to search for source code
___
golang mailing list
golang@lists.fedoraproject.org
https://lists.fedoraproject.org/mailman/listinfo/golang


[Bug 1184257] missing debug info

2015-02-09 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1184257

Jan Chaloupka jchal...@redhat.com changed:

   What|Removed |Added

 Status|ASSIGNED|MODIFIED
   Fixed In Version||etcd-2.0.0-0.5.fc22



--- Comment #4 from Jan Chaloupka jchal...@redhat.com ---
https://lists.fedoraproject.org/pipermail/scm-commits/Week-of-Mon-20150209/1506464.html

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
golang mailing list
golang@lists.fedoraproject.org
https://lists.fedoraproject.org/mailman/listinfo/golang


[Bug 1184257] missing debug info

2015-02-09 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1184257

Jan Chaloupka jchal...@redhat.com changed:

   What|Removed |Added

 Status|MODIFIED|CLOSED
 Resolution|--- |RAWHIDE
Last Closed||2015-02-09 04:25:01



-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
golang mailing list
golang@lists.fedoraproject.org
https://lists.fedoraproject.org/mailman/listinfo/golang


[docker-io/f21] reference core dump creation bz

2015-02-09 Thread Lokesh Mandvekar
commit 6f2c5617159d402b7ea69c5c80defcdf93835726
Author: Lokesh Mandvekar l...@fedoraproject.org
Date:   Mon Feb 9 15:31:31 2015 +

reference core dump creation bz

Signed-off-by: Lokesh Mandvekar l...@fedoraproject.org

 docker-io.spec |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/docker-io.spec b/docker-io.spec
index 1919749..13fda71 100644
--- a/docker-io.spec
+++ b/docker-io.spec
@@ -390,7 +390,7 @@ exit 0
 %changelog
 * Tue Feb 03 2015 Lokesh Mandvekar l...@fedoraproject.org - 1.4.1-9
 - Resolves: rhbz#1184266 - enable debugging
-- enable creation of core dumps
+- Resolves: rhbz#1190748 - enable creation of core dumps
 - set no limit on core dump size
 
 * Fri Jan 23 2015 Lokesh Mandvekar l...@fedoraproject.org - 1.4.1-8
___
golang mailing list
golang@lists.fedoraproject.org
https://lists.fedoraproject.org/mailman/listinfo/golang


[Bug 1190748] docker daemon is unable to create a core dump

2015-02-09 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1190748

Lokesh Mandvekar l...@redhat.com changed:

   What|Removed |Added

 Status|NEW |ASSIGNED



--- Comment #1 from Lokesh Mandvekar l...@redhat.com ---
the current docker rpm (at least until 1.4.1-8) doesn't create a core dump.

Set GOTRACEBACK=crash in /etc/sysconfig/docker and LimitCORE=infinity in docker
unitfile.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
golang mailing list
golang@lists.fedoraproject.org
https://lists.fedoraproject.org/mailman/listinfo/golang


[Bug 1190748] docker daemon is unable to create a core dump

2015-02-09 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1190748

Lokesh Mandvekar l...@redhat.com changed:

   What|Removed |Added

 CC||adima...@gmail.com,
   ||admil...@redhat.com,
   ||golang@lists.fedoraproject.
   ||org, hushan@gmail.com,
   ||jchal...@redhat.com,
   ||jper...@centos.org,
   ||mgold...@redhat.com,
   ||mimi...@redhat.com,
   ||s...@shk.io,
   ||thr...@redhat.com,
   ||vba...@redhat.com
  Component|docker  |docker-io
   Assignee|andreas.bierfert@lowlatency |l...@redhat.com
   |.de |



-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
golang mailing list
golang@lists.fedoraproject.org
https://lists.fedoraproject.org/mailman/listinfo/golang


[Bug 1190192] Kubelet service fails to start on Project Atomic host

2015-02-09 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1190192



--- Comment #7 from wkq5...@gmail.com ---
I have solved it, it need reboot system. or else. it would not work.

Seems fedora bug. I am not sure the root cause.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
golang mailing list
golang@lists.fedoraproject.org
https://lists.fedoraproject.org/mailman/listinfo/golang


[docker-io] add core dump bz id

2015-02-09 Thread Lokesh Mandvekar
commit d3030c5d7c32e9a38e8344c6cf0fc1c289aabb18
Author: Lokesh Mandvekar l...@fedoraproject.org
Date:   Mon Feb 9 17:44:04 2015 +

add core dump bz id

Signed-off-by: Lokesh Mandvekar l...@fedoraproject.org

 docker-io.spec |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/docker-io.spec b/docker-io.spec
index 5e8dc5c..098e99c 100644
--- a/docker-io.spec
+++ b/docker-io.spec
@@ -385,7 +385,7 @@ exit 0
 
 * Tue Feb 03 2015 Lokesh Mandvekar l...@fedoraproject.org - 
1.4.1-20.git662dffe
 - Resolves: rhbz#1184266 - enable debugging
-- enable creation of core dumps
+- Resolves: rhbz#1190748 - enable core dumps with no size limit
 
 * Tue Feb 03 2015 Lokesh Mandvekar l...@fedoraproject.org - 
1.4.1-19.git662dffe
 - daily rebuild - Tue Feb  3 04:56:36 UTC 2015
___
golang mailing list
golang@lists.fedoraproject.org
https://lists.fedoraproject.org/mailman/listinfo/golang


[Bug 1190192] Kubelet service fails to start on Project Atomic host

2015-02-09 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1190192

wkq5...@gmail.com changed:

   What|Removed |Added

 CC||wkq5...@gmail.com



--- Comment #6 from wkq5...@gmail.com ---
Hi everyone, I still hit that when change from docker.socket to docker.service
( I used fedora 20)

as below:

[fedora@test-k8s-minion ~]$ cat /usr/lib/systemd/system/kubelet.service
[Unit]
Description=Kubernetes Kubelet Server
Documentation=https://github.com/GoogleCloudPlatform/kubernetes
After=docker.service cadvisor.service
Requires=docker.service

[Service]
EnvironmentFile=-/etc/kubernetes/config
EnvironmentFile=-/etc/kubernetes/kubelet
ExecStart=/usr/bin/kubelet \
${KUBE_LOGTOSTDERR} \
${KUBE_LOG_LEVEL} \
${KUBE_ETCD_SERVERS} \
${KUBELET_ADDRESS} \
${KUBELET_PORT} \
${KUBELET_HOSTNAME} \
${KUBE_ALLOW_PRIV} \
${KUBELET_ARGS}
Restart=on-failure

[Install]
WantedBy=multi-user.target


[fedora@test-k8s-minion ~]$ sudo systemctl start kubelet
Failed to issue method call: Unit docker.socket failed to load: No such file or
directory.


I really can not figure out why it complain again and again.

Could you help that ? Thanks

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
golang mailing list
golang@lists.fedoraproject.org
https://lists.fedoraproject.org/mailman/listinfo/golang


File docker-76baa35.tar.gz uploaded to lookaside cache by lsm5

2015-02-09 Thread Lokesh Mandvekar
A file has been added to the lookaside cache for docker-io:

bdd56c6ce5dff1da34b9b26c9f3ecdf3  docker-76baa35.tar.gz
___
golang mailing list
golang@lists.fedoraproject.org
https://lists.fedoraproject.org/mailman/listinfo/golang


[docker-io] rebuild - Tue Feb 10 01:20:27 CET 2015

2015-02-09 Thread Lokesh Mandvekar
commit b26063a59492feb1ed5a69f7962683bf7e145ed1
Author: Lokesh Mandvekar l...@fedoraproject.org
Date:   Tue Feb 10 01:20:27 2015 +0100

rebuild - Tue Feb 10 01:20:27 CET 2015

Signed-off-by: Lokesh Mandvekar l...@fedoraproject.org

 docker-io.spec   |   10 --
 docker.service   |6 +-
 docker.sysconfig |4 
 sources  |2 +-
 4 files changed, 18 insertions(+), 4 deletions(-)
---
diff --git a/docker-io.spec b/docker-io.spec
index 098e99c..8e9e365 100644
--- a/docker-io.spec
+++ b/docker-io.spec
@@ -11,14 +11,14 @@
 
 %global import_path %{provider}.%{provider_tld}/%{project}/%{repo}
 
-%global commit c03d6f57b6956f305a9afcbdc530a15bbe729fce
+%global commit 76baa351c07d7fe847d14fafbcb5a3ba97519a1a
 %global shortcommit %(c=%{commit}; echo ${c:0:7})
 
 %global tar_import_path code.google.com/p/go/src/pkg/archive/tar
 
 Name:   %{repo}-io
 Version:   1.4.1
-Release:25.git%{shortcommit}%{?dist}
+Release:27.git%{shortcommit}%{?dist}
 Summary:Automates deployment of containerized applications
 License:ASL 2.0
 URL:http://www.docker.com
@@ -368,6 +368,12 @@ exit 0
 %{_datadir}/zsh/site-functions/_docker
 
 %changelog
+* Tue Feb 10 2015 l...@riseup.net - 1.4.1-27.git76baa35
+- daily rebuild - Tue Feb 10 01:19:10 CET 2015
+
+* Mon Feb 09 2015 Lokesh Mandvekar l...@fedoraproject.org - 
1.4.1-26.gitc03d6f5
+- add config variable for insecure registry
+
 * Sat Feb 07 2015 Lokesh Mandvekar l...@fedoraproject.org - 
1.4.1-25.gitc03d6f5
 - daily rebuild - Sat Feb  7 02:53:34 UTC 2015
 
diff --git a/docker.service b/docker.service
index c1bfbe1..65fd0df 100644
--- a/docker.service
+++ b/docker.service
@@ -8,7 +8,11 @@ Type=notify
 EnvironmentFile=-/etc/sysconfig/docker
 EnvironmentFile=-/etc/sysconfig/docker-storage
 EnvironmentFile=-/etc/sysconfig/docker-network
-ExecStart=/usr/bin/docker -d $OPTIONS $DOCKER_STORAGE_OPTIONS 
$DOCKER_NETWORK_OPTIONS
+ExecStart=/usr/bin/docker -d \
+  $OPTIONS \
+  $DOCKER_STORAGE_OPTIONS \
+  $DOCKER_NETWORK_OPTIONS \
+  $INSECURE_REGISTRY
 LimitNOFILE=1048576
 LimitNPROC=1048576
 LimitCORE=infinity
diff --git a/docker.sysconfig b/docker.sysconfig
index b66118e..64d45ee 100644
--- a/docker.sysconfig
+++ b/docker.sysconfig
@@ -4,6 +4,10 @@
 OPTIONS='--selinux-enabled'
 DOCKER_CERT_PATH=/etc/docker
 
+# Enable insecure registry communication by appending the registry URL
+# to the INSECURE_REGISTRY variable below and uncommenting it
+# INSECURE_REGISTRY='--insecure-registry '
+
 # On SELinux System, if you remove the --selinux-enabled option, you
 # also need to turn on the docker_transition_unconfined boolean.
 # setsebool -P docker_transition_unconfined
diff --git a/sources b/sources
index 25dd397..78487d3 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-336b729b0be53cbe8bf838b11f71a6e7  docker-c03d6f5.tar.gz
+bdd56c6ce5dff1da34b9b26c9f3ecdf3  docker-76baa35.tar.gz
___
golang mailing list
golang@lists.fedoraproject.org
https://lists.fedoraproject.org/mailman/listinfo/golang


[docker-io] add env variable for insecure registry communication

2015-02-09 Thread Lokesh Mandvekar
commit 3ff141b962de03cf14f744ea85c5ccefad034811
Author: Lokesh Mandvekar l...@fedoraproject.org
Date:   Tue Feb 10 01:14:56 2015 +0100

add env variable for insecure registry communication

NVR: docker-io-1.4.1-26.git (not built)

Signed-off-by: Lokesh Mandvekar l...@fedoraproject.org
___
golang mailing list
golang@lists.fedoraproject.org
https://lists.fedoraproject.org/mailman/listinfo/golang


[Bug 1184710] dnsmasq needs to be restarted after reboot for dns to work in a Docker container

2015-02-09 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1184710



--- Comment #3 from Jason Shepherd jsheph...@redhat.com ---
Hi Lokesh,

Thanks for looking into this. On further investigation I think the problem
could be related to use an LVM partition mounted at /var/lib/docker. However I
haven't been able to verify that, it's just been reported by others.


[jshepher@jshepher Documents]$ sudo lvdisplay /dev/vg_dhcp-1-52/lv_docker
  --- Logical volume ---
  LV Path/dev/vg_dhcp-1-52/lv_docker
  LV Namelv_docker
  VG Namevg_dhcp-1-52
  LV UUID4vFfQI-4Axe-cWza-tzAZ-QcuJ-e1cQ-UNVPV5
  LV Write Accessread/write
  LV Creation host, time jshepher.usersys.redhat.com, 2014-04-03 13:17:18 +1000
  LV Status  available
  # open 1
  LV Size125.00 GiB
  Current LE 4000
  Segments   2
  Allocation inherit
  Read ahead sectors auto
  - currently set to 256
  Block device   253:4

cat /etc/fstab:

/dev/mapper/vg_dhcp--1--52-lv_docker /var/lib/docker   ext4 defaults 1 2

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
golang mailing list
golang@lists.fedoraproject.org
https://lists.fedoraproject.org/mailman/listinfo/golang