Commit graph

1356 commits

Author SHA1 Message Date
Anders Ingemann
2d6a026160 Fix a slew of indentation & spacing issues 2016-06-04 11:38:16 +02:00
Anders Ingemann
fd214915e3 Merge remote-tracking branch 'thepwagner/ec2_publish-plugin' 2016-06-04 09:44:27 +02:00
Anders Ingemann
4cff2f3e70 Merge pull request #326 from zmarano/master
Overhaul GCE image build.
2016-06-04 09:39:52 +02:00
Anders Ingemann
cec7423aa8 Merge pull request #325 from thepwagner/update-ec2-regions
ec2: sync regions in schema
2016-06-04 09:36:38 +02:00
Zach Marano
40ec27ad16 Overhaul GCE image build. 2016-06-02 18:16:57 -07:00
Peter Wagner
d240d13084 ec2_publish plugin
Fixes #271, #91
2016-06-02 16:16:00 -07:00
Peter Wagner
bc895292cd file_copy: Fix documentation typo
Slipping into open PR as both should be trivial.
2016-06-02 16:12:57 -07:00
Peter Wagner
4ec9200b17 Update regions in schema 2016-06-02 11:14:57 -07:00
Anders Ingemann
3c1999f809 Merge pull request #316 from justinsb/fix/gce_upload
Fixes for uploading a GCE image
2016-05-23 21:57:47 +02:00
Anders Ingemann
2291361a1c Fix code block example in commands plugin documentation 2016-05-22 09:14:31 +02:00
Anders Ingemann
a6acc82465 Implement PR #286 by @booi 2016-05-22 09:00:24 +02:00
Anders Ingemann
16a680bb6b Fix order for AddManifestPackages
This ensures that the task also works with manually
added sources.
2016-05-22 08:59:46 +02:00
Anders Ingemann
65ad0a43fa Merge pull request #315 from thepwagner/cloud-init-groups
cloud-init: modify groups
2016-05-22 08:55:18 +02:00
Tiago Ilieve
d0ae5f138d Merge pull request #321 from andrewbogott/defaulttys0
Set a default of GRUB_CMDLINE_LINUX_DEFAULT="console=ttyS0"
2016-05-10 13:08:40 -03:00
andrewbogott
b9aad2d881 Set a default of GRUB_CMDLINE_LINUX_DEFAULT="console=ttyS0"
This needed changing to hvc0 for ec2, and was accidentally changed
for all other providers.  Since the ec2 provider overrides to hvc0
anyway, we can just change this default to the setting that works
for everyone else.

Fixes: #318
2016-05-10 01:56:27 -05:00
Tiago Ilieve
bc1d5464f4 Add jessie-virtio.yml KVM example manifest 2016-05-09 22:07:32 -03:00
Justin Santa Barbara
3036eb41c1 GCE: Name the image as specified in the manifest
We were hard coding an image name format for GCE, but that doesn't match
what other providers (e.g. AWS) do.

Given that image upload did not work at all previously, no reason to
preserve the existing unusual behaviour.
2016-04-19 11:35:11 -04:00
Justin Santa Barbara
be595efd99 GCE: Rename image in tar file to disk.raw
To register with GCE, the image must be named disk.raw, or else the
gcloud create images command fails.
2016-04-19 11:34:53 -04:00
Justin Santa Barbara
4b34cb2615 GCE: Documentation improvements
Small tweaks
* Add note that gce_project only works with gcs_destination
* Google's storage is called "Google Cloud Storage"
* Minor grammar tweaks
2016-04-19 11:34:53 -04:00
Justin Santa Barbara
34ee0c1e8d GCE: Allow templating of image description
Expand the description template before passing it to gcloud
2016-04-19 11:34:53 -04:00
Justin Santa Barbara
3e3d59ddf1 GCE: Fix upload of image to gcloud
Two small fixes

* syntax is `gcloud compute images`, not `gcloud compute image`
* --source-uri=<uri> should be a single argument
2016-04-19 11:34:46 -04:00
Anders Ingemann
6b7fa65fcf Merge pull request #317 from zmarano/upstream
Disable SSH root login on GCE images.
2016-04-19 00:35:37 +02:00
Zach Marano
f1d6cd9d9e Disable SSH root login on GCE images. 2016-04-18 13:31:37 -07:00
Tiago Ilieve
9e332b2f86 Move Pyro4 dependency from 'tox.ini' to 'setup.py'
It is a runtime dependency of the server component, needed not only for
testing.
2016-04-16 17:45:46 -03:00
Tiago Ilieve
12e6467f6d Bump version to '0.9.10' 2016-04-16 17:45:46 -03:00
Peter Wagner
c8ab73472f cloud-init: modify groups 2016-04-16 08:49:49 -04:00
Anders Ingemann
7a4903f9e0 Merge pull request #314 from thepwagner/fix-adjust-growpart-workaround
cloud_init disable AdjustGrowpartWorkaround
2016-04-15 08:20:21 +02:00
Anders Ingemann
5e89e631d5 Merge pull request #313 from thepwagner/fix-iam-role
AWS: support IAM role
2016-04-15 08:19:28 +02:00
Peter Wagner
15a7eb0c85 cloud_init disable AdjustGrowpartWorkaround
AdjustGrowpartWorkaround modifies /etc/init.d/expand-root, which doesn't
exist if AddExpandRoot doesn't run.
2016-04-14 20:50:40 -04:00
Peter Wagner
dad66e15c0 AWS: support IAM role
Fixes #259
2016-04-14 19:42:11 -04:00
Tiago Ilieve
5d4036d938 Remove GCE's 'jessie-backports.yml'
This file was duplicated, as there was never a GCE Jessie image with
backports.

This closes #310.
2016-04-13 13:56:29 -03:00
Tiago Ilieve
c6226f89ae Fix a few typos 2016-04-13 04:38:42 -03:00
Anders Ingemann
83b783976c Merge pull request #308 from pmarks-net/master
Do not remove ::1 from the loopback interface.
2016-04-04 23:00:27 +02:00
Anders Ingemann
cc5435237c Merge pull request #309 from zmarano/master
Add busybox as a required package for GCE.
2016-03-29 19:02:49 +02:00
Zach Marano
070f678807 Add busybox as a required package for GCE. 2016-03-28 21:53:52 -07:00
Paul Marks
15c7d1ccb3 Do not remove ::1 from the loopback interface.
An environment with AF_INET6 sockets but no loopback interface creates
nothing but pain.

If an IPv4 server binds to 0.0.0.0:8080, clients may connect to
0.0.0.0:8080, which automatically picks 127.0.0.1 as a source address.
However, when a server binds to [::]:8080, the absence of ::1 causes
clients to fail with ENETUNREACH.

For a demonstration, run the following in a python shell:

import socket
s = socket.socket(socket.AF_INET6, socket.SOCK_STREAM, 0)
s.bind(("", 0))
print s.getsockname()  # Example: ('::', 39079, 0, 0)
s.listen(10)
c = socket.socket(socket.AF_INET6, socket.SOCK_STREAM, 0)
c.connect(s.getsockname())
print c.getsockname(), c.getpeername()

This yields the following error:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python2.7/socket.py", line 224, in meth
    return getattr(self._sock,name)(*args)
socket.error: [Errno 101] Network is unreachable
2016-03-24 17:14:17 -07:00
Anders Ingemann
05e8d0c5bb Merge pull request #307 from yuvipanda/lower-request
Require requests >= 2.4.3
2016-03-25 00:29:37 +01:00
YuviPanda
d2c7c86150 Require requests >= 2.4.3
- Is available on debian jessie onwards, makes packaging
  easier
- No particular features that were introduced in newer
  version of requests seems to be used
2016-03-24 13:48:16 -07:00
Tiago Ilieve
042b881a14 Merge pull request #305 from KellerFuchs/apt.conf
Enable setting `apt.conf(5)` options
2016-03-15 20:23:31 -03:00
The Fox in the Shell
aecb89aab5 Indent with 4 spaces 2016-03-15 18:01:41 +01:00
The Fox in the Shell
4cc9ec0d1b Add the 'apt.conf.d' manifest subsection 2016-03-15 18:01:41 +01:00
The Fox in the Shell
2b6dc47b90 manifest-schema.yml: Fixup uses of minItems in objects 2016-03-15 17:52:12 +01:00
The Fox in the Shell
5dba70cf36 manifests: Fix documentation
The documentation for packages.sources didn't mention
  that the key “main” is special.
2016-03-15 17:52:12 +01:00
Tiago Ilieve
1b8749bd7f Merge pull request #306 from hitsumabushi/fix/doc-tree
fix document toctree
2016-03-14 23:37:56 -03:00
hitsumabushi
ac7595bdfb fix document toctree 2016-03-15 11:13:05 +09:00
Anders Ingemann
218275a3b5 Also serialize metaschema in Manifest class
The remote bootstrapping process was broken, since
the metaschema was not loaded on the remote side.
2016-03-13 17:46:30 +01:00
Anders Ingemann
d8fa9b90dd *ahem, scratch that. I mean integration tests 2016-03-04 01:33:30 +01:00
Anders Ingemann
dbb687a2ff Also run system tests in the default tox env 2016-03-04 01:32:07 +01:00
Anders Ingemann
d62e20c763 Merge pull request #303 from zmarano/master
Again fix the expand-root script for GCE.
2016-03-04 01:26:07 +01:00
Anders Ingemann
a446e8eecc Fix oracle provider dependency
The requests module is required
2016-03-04 01:21:52 +01:00