Zach Marano
40ec27ad16
Overhaul GCE image build.
2016-06-02 18:16: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
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
Zach Marano
f1d6cd9d9e
Disable SSH root login on GCE images.
2016-04-18 13:31:37 -07:00
Peter Wagner
dad66e15c0
AWS: support IAM role
...
Fixes #259
2016-04-14 19:42:11 -04: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
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
hitsumabushi
ac7595bdfb
fix document toctree
2016-03-15 11:13:05 +09: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
df356ffad2
Fix docker provider bug
...
4fc3b69
converte the locale_group into a function.
This wasn't changed in the docker provider
2016-03-04 01:21:52 +01:00
Anders Ingemann
6bb654b79f
Compat with new sphinx
...
Changed a lot of code:: to code-block::
Also added sphinx_rtd_theme to deps in tox
2016-03-04 01:21:52 +01:00
Zach Marano
d485ef681a
Fix typo
2016-03-03 14:29:42 -08:00
Zach Marano
b590a02a8c
Fix import.
2016-03-03 14:14:54 -08:00
Zach Marano
2b629d784c
Again fix the expand-root script for GCE. The volume is not /dev/loop0
...
but it should be /dev/sda.
2016-03-03 13:59:01 -08:00
Zach Marano
108fa9547e
Move the >=jessie workaround out of the common task.
2016-03-03 10:14:02 -08:00
Zach Marano
31a98badcb
Fix unused import.
2016-03-02 16:28:11 -08:00
Zach Marano
3f208b985f
Move hack for growpart to its own task.
2016-03-02 16:19:57 -08:00
Zach Marano
6c03860eac
Fix GCE expand-root since commit/2ece5a66e1e36f30bef3a675e8287ab8c1bcc04f
2016-03-02 12:54:06 -08:00
Zach Marano
c34d7d11c8
Only include bare essential packages in the GCE provider task. Move
...
extras to the manifest files.
2016-02-29 10:38:34 -08:00
Zach Marano
74a8aae6ac
Cleanup package list and add in packages that were being added outside
...
of bootstrap-vz. Remove i386 kernels that GCE does not support as well
as squeeze, and add in a stretch kernel.
2016-02-26 16:24:20 -08:00
Tiago Ilieve
9e6028799a
oracle: use 'Bytes' instead of custom calculation
2016-02-22 21:39:31 -03:00
Tiago Ilieve
5f9152bec3
oracle: connect to the API when instantiating
2016-02-22 21:17:36 -03:00
Tiago Ilieve
e1d296d5dc
oracle: clarify 'credentials' usage a little bit
2016-02-22 10:10:51 -03:00
Tiago Ilieve
a5a6dedfb3
oracle: remove unused assets initialization
2016-02-22 10:07:32 -03:00
Tiago Ilieve
0fa99e71c6
oracle: add documentation about image upload/check
2016-02-19 21:19:45 -02:00
Tiago Ilieve
bd431abd3a
oracle: fix API client messages' log level
2016-02-19 21:16:16 -02:00
Tiago Ilieve
54870ab396
oracle: add image tarball upload/check tasks
2016-02-19 21:16:16 -02:00
Tiago Ilieve
c07f56b796
oracle: update schema and validation
2016-02-19 21:16:16 -02:00
Tiago Ilieve
12dbc6a07e
oracle: add tasks to upload and verify images
2016-02-19 21:16:15 -02:00
Tiago Ilieve
94559e1d8e
oracle: add 'OracleStorageAPIClient'
...
This client will be used to upload images to Oracle Compute Cloud,
through the Oracle Storage Cloud API.
2016-02-19 21:16:15 -02:00
Tiago Ilieve
fffe69b855
oracle: add 'Compute' to 'Oracle Cloud'
2016-02-19 21:16:15 -02:00
Tiago Ilieve
6f6e65d28b
oracle: update README
...
- Convert from markdown to rst
- Remove step-by-step build tutorial, which was moved to the Debian Wiki
2016-02-06 19:47:13 -02:00
Tiago Ilieve
992100d00a
oracle: remove custom gzipped kernel
...
Since Xen HVM is supported on Oracle Cloud, the default kernels
compressed with XZ can be booted with no problem.
2016-02-06 19:13:55 -02:00
Tiago Ilieve
925986e4c6
oracle: remove unused import
2016-02-06 19:13:55 -02:00
Tiago Ilieve
c7a7b523cf
oracle: fix SSH tasks
...
Add common group "ssh_group" (which disables password authentication,
etc.) and disable root login.
2016-02-06 19:13:55 -02:00
Tiago Ilieve
2219e23ae4
oracle: remove unused imports from 'tasks.network'
2016-02-06 19:13:55 -02:00
Tiago Ilieve
c22247be81
oracle: remove cloud-init customization
...
It is working now out-of-the-box with "Ec2" metadata source.
2016-02-06 19:13:55 -02:00
Tiago Ilieve
7786b9362d
Add Oracle provider (Work-In-Progress)
2016-02-06 19:13:55 -02:00
Jesse Szwedko
7f9ee9d22c
Write Jessie growpart workaround script to something other than growpart
...
In case growpart is installed. Sed this workaround path into the init.d
script.
Signed-off-by: Andrew Garrett <andrew.garrett@getbraintree.com>
2016-01-12 19:12:57 +00:00
Jesse Szwedko
bbcb62c4f3
Making growpart workaround description more verbose
...
Signed-off-by: Andrew Garrett <andrew.garrett@getbraintree.com>
2016-01-12 19:09:09 +00:00
Jesse Szwedko
4e94880b2a
Only add growpart workaround on >= Jessie
...
Works on previous distributions
Signed-off-by: Andrew Garrett <andrew.garrett@getbraintree.com>
2016-01-12 18:46:26 +00:00
Jonh Wendell
c477c32e4a
EC2: Added growpart script
...
This is an attempt to fix issue #237
The script "growpart" was added as an asset, because
Debian's Jessie version (inside cloud-utils) package is
outdated and buggy.
Then "expand-root" init script was modified to call growpart
before calling resize2fs. In fact, calling resize2fs without
resizing the partition first is useless.
The task was named 'AddWorkaroundGrowpart' because it must
go away in the future in favor of using recent stuff in cloud-utils.
Currently even the official images suffer this issue, that makes
the system use only 8 GiB, even if the user chooses a bigger
storage size inside AWS.
2016-01-12 18:46:20 +00:00
gkranis
56e98bd102
Remove stale requirement
...
omission from c880a6849a
?
2016-01-12 09:13:03 +02:00
Clark Laughlin
46594b1ef0
enable support for creating kvm images for jessie on arm64
2016-01-08 13:06:57 -06:00