Commit Graph

1335 Commits

Author SHA1 Message Date
Jonathan Boulle d322dec94d Merge pull request #916 from sgotti/discovery_fallback_local
rkt: fallback to local store fetch if discovery fails.
2015-05-20 12:11:54 -07:00
Simone Gotti 7098059062 rkt: fallback to local store fetch if discovery fails.
If discovery fails for any reason (no domain, not meta tags but also
network errors) fallback to local store app fetch.

The fallback isn't done if discovery returns valid endpoints but the
the image fetching from the returned endpoints fails for any reason
(network errors, wrong signature, etc...).
2015-05-20 20:43:15 +02:00
Jonathan Boulle ced32ed212 Merge pull request #907 from jonboulle/gsg
docs: fix a few things in getting started guide
2015-05-20 10:58:05 -07:00
Alban Crequy 2e2be20477 Merge pull request #915 from endocode/alban/functests_semaphore_may19
functional tests: semaphore: update dependencies
2015-05-20 17:52:17 +02:00
Alban Crequy ec12c9fa37 functional tests: semaphore: update dependencies
Semaphore updated their platform on May 19th. The dependencies are
already installed.
2015-05-20 17:34:31 +02:00
Alban Crequy c66df8e174 Merge pull request #919 from endocode/alban/systemd-fix-master
Alban/systemd fix master
2015-05-20 15:42:02 +02:00
Alban Crequy 0a268c8850 stage1: rebase pid-file patch against systemd-git-master
Because of the last changes in systemd git master, our --pid-file patch
conflicts.
2015-05-20 15:17:01 +02:00
Alban Crequy f4b72c1c5b stage1: remove keep-fd patch when built against systemd git master
Because of the last changes in systemd git master, our --keep-fd patch
is not needed anymore.
2015-05-20 15:17:01 +02:00
Alban Crequy cb524d42e4 Merge pull request #860 from steveeJ/podenv-usernets-parse
networking: load only *.conf files
2015-05-20 10:19:11 +02:00
Jonathan Boulle 8963ba8c06 Merge pull request #917 from jesperfj/jesperfj-devel-doc-typo
Fix small typo
2015-05-19 10:39:21 -07:00
Jesper Joergensen cf64669078 Update pod-lifecycle.md 2015-05-19 08:48:14 -07:00
Iago López Galeiras 3361adfc4f Merge pull request #909 from endocode/iaguis/dlopen-libsystemd
stage1: dlopen libsystemd instead of libsystemd-login
2015-05-19 10:49:37 +02:00
Brandon Philips dd03a1de1c Merge pull request #914 from philips/insecure-skip-verify-flag
rkt: make warning map to `insecure-skip-verify` usage
2015-05-18 18:49:25 -07:00
Brandon Philips ec65c3a12d rkt: fix docs/warnings for insecure-skip-verify flag
- insecure-skip-verify is used in image fetch and trust for skipping
  verification, document this in the flags usage
- make the docs more explicit about what insecure-skip-verify does

We will split this sledgehammer flag into multiple flags via #912
2015-05-18 18:17:25 -07:00
Iago López Galeiras 230dc1bc8c stage1: dlopen libsystemd instead of libsystemd-login
In systemd-209 libsystemd-login was merged into libsystemd and a
compatibility libsystemd-login library was created. Unfortunately,
distributions like Fedora don't ship the compatibility libraries so
runningFromUnitFile will always return false.

Fix it by dlopening libsystemd.so instead of libsystemd-login.so.
2015-05-18 11:23:58 +02:00
Jonathan Boulle ec04de7156 Merge pull request #899 from robszumski/docs-links
docs: fix broken links
2015-05-15 17:46:24 -07:00
Jonathan Boulle d49d58c47c docs: fix a few things in getting started guide 2015-05-15 17:26:31 -07:00
Jonathan Boulle 95a2577979 Merge pull request #895 from gosharplite/patch-1
Image should be served at correct location.
2015-05-15 17:25:54 -07:00
Rob Szumski 516851409a docs: fix in-page link 2015-05-15 10:35:04 -07:00
Rob Szumski e607295d46 docs: fix broken link 2015-05-13 10:32:19 -07:00
Rob Szumski 4d4d3ee69f docs: fix link formatting 2015-05-13 10:31:31 -07:00
Tony Hsu 5405bc082c Image should be served at correct location. 2015-05-13 14:35:03 +08:00
Yifan Gu dbfc9c52b0 Merge pull request #886 from yifan-gu/img_cat
rkt/image: Add cat-manifest to print the image manifest to stdout.
2015-05-12 23:27:10 -07:00
Yifan Gu 8f661cba5d rkt/image: Add --pretty-print option for cat-manifest. 2015-05-12 17:22:46 -07:00
Jonathan Boulle af12077bbb Merge pull request #889 from xiang90/fetch
rkt: better logging around fetch
2015-05-12 12:13:07 -07:00
Xiang Li ab22fda826 rkt: better logging around fetch
More clearly distinguish case where image is retrieved from the cached copy in local store
2015-05-12 11:00:12 -07:00
Yifan Gu 84305a034f rkt/image: Add cat-manifest to print the image manifest to stdout.
Also add some facilities to print usage for sub-commands.
2015-05-12 10:58:16 -07:00
Alban Crequy ef77c21ecc Merge pull request #892 from endocode/alban/functests_failure
functional tests: update string from systemd
2015-05-12 11:48:19 +02:00
Alban Crequy efe92216f1 functional tests: update string from systemd
Since systemd commit f2341e ("core,network: major per-object logging rework"),
systemd does not log "main process exited" but "Main process exited" (notice
the uppercase).

Improve the test to accept both strings.
2015-05-12 10:25:13 +02:00
Alban Crequy 6c9ee952cb Merge pull request #884 from endocode/alban/systemd_flags
stage1: systemd: update build option
2015-05-12 10:24:37 +02:00
Alban Crequy 82ff5e453e Merge pull request #890 from yifan-gu/test_error
rkt/tests: Print out the error info on failures.
2015-05-12 10:18:52 +02:00
Alban Crequy 0ed3d37677 stage1: systemd: update build option
- remove --disable-readahead
- remove --disable-multi-seat-x
- add --disable-selinux

Also, write one option per line for better readability.

I kept the configure --help output order.
2015-05-12 10:03:39 +02:00
Jonathan Boulle fdfe1debb2 Merge pull request #821 from jonboulle/buildstage1
documentation: make RKT_STAGE1_IMAGE more obvious
2015-05-11 17:45:45 -07:00
Jonathan Boulle d574299387 Merge pull request #828 from jonboulle/building
docs: intro building ACIs in README
2015-05-11 17:43:43 -07:00
Jonathan Boulle 7cbb9657b8 Merge pull request #888 from jzelinskie/vagrant
vagrantfile: fix slow VM DNS
2015-05-11 17:36:53 -07:00
Yifan Gu 320c25e036 rkt/tests: Print out the error info on failures.
This can help us to reason about the failures more easily.
2015-05-11 16:21:28 -07:00
Jonathan Boulle 03b8ec8856 Merge pull request #887 from xiang90/fix_v
script/vagrant: cp the build target to usr bin
2015-05-11 15:50:38 -07:00
Jimmy Zelinskie b3bf6013f0 vagrantfile: fix slow VM DNS 2015-05-11 16:13:24 -04:00
Xiang Li 548a8432e2 script/vagrant: cp the build target to usr bin
Before this change, when I run `sudo rkt trust` it fails. I hope
we can also install rkt under usr/local/bin by default. So our
users can have a better experience when following our rkt basic
tutorial.
This issue was introduced by a recent script rewrote (#652)
2015-05-11 12:47:26 -07:00
Jonathan Boulle baad520a59 Merge pull request #846 from coreos/docs-adv-systemd
docs: expand systemd examples
2015-05-11 12:08:06 -07:00
Rob Szumski 10c8668cb6 docs: remove unused image tag 2015-05-11 09:46:16 -07:00
Yifan Gu 724e49e270 Merge pull request #882 from yifan-gu/fix_typo
rkt/images: Fix error message.
2015-05-08 18:22:18 -07:00
Yifan Gu 85d33f8d08 rkt/images: Fix error message. 2015-05-08 16:46:35 -07:00
Jonathan Boulle 8f70b28d05 Merge pull request #877 from jonboulle/doc
docs: fix host volume example
2015-05-08 13:00:33 -07:00
Jonathan Boulle d61a4c52d7 Merge pull request #878 from endocode/iaguis/keep-unit
stage1: use systemd-nspawn's --keep-unit
2015-05-07 17:33:41 -07:00
Iago López Galeiras 3cbfa313f9 stage1: use systemd-nspawn's --keep-unit
If we're running from a unit file, we pass --keep-unit to systemd-nspawn
to avoid being moved to a different cgroup.
2015-05-07 15:24:00 -07:00
Jonathan Boulle 4c64fa6e93 Merge pull request #861 from jonboulle/copyright
*: adjust copyright header + remove NOTICE
2015-05-07 14:38:45 -07:00
Jonathan Boulle 1268ff8dae docs: fix host volume example 2015-05-07 13:25:39 -07:00
Jonathan Boulle 398b5725ed Merge pull request #868 from techtonik/patch-1
commands.md  Fix link to pod lifecycle docs
2015-05-06 12:31:58 -07:00
anatoly techtonik 4dee114cf5 pods.go Fix another reference to devel docs 2015-05-06 11:58:35 +03:00