19 Commits

Author SHA1 Message Date
Arnaud Morin
ca632987ea Update requirements for ubuntu
My test to build octavia amphora on Ubuntu Xenial was missing kpartx
package.
So I propose to update README.rst to help users build the image
correctly.

Also refactor a little bit how it is presented.

Change-Id: I65cf2ce25e96b4f44e2ca76884ec79831eb1c7f4
Signed-off-by: Arnaud Morin <arnaud.morin@corp.ovh.com>
2019-02-20 22:32:00 +00:00
Zuul
22c5028533 Merge "Redirect disk-image-builder logs, make verbose" 2018-10-31 14:28:39 +00:00
Ian Wienand
5bec6f70c2 Redirect disk-image-builder logs, make verbose
Update the diskimage-create.sh to have a "-l" option to pass into
dib's "--logfile" option.  In the devstack job, use this to redirect
the dib output to a separate logfile.  Turn on verbose logging by
default for this log.

Copy this in the v1 jobs.  v2 jobs are covered by a similar change in
octavia-tempest-plugin: I5bc0d9a3b071733cbe31d618f7236a3c2285b3e5

Depends-On: https://review.openstack.org/612865
Change-Id: Ie639af4266152d4626f8312b1849deeba5048348
2018-10-30 11:39:12 +01:00
Michael Johnson
4b1c374bdc Fix diskimage-create README.rst
We missed updating the diskimage-create README.rst when we added
some new command line options. This patch corrects those omisions.

Change-Id: I28dbc5b83321a69e060ea7fef5a1889ec623a3be
2018-10-29 11:53:23 -07:00
Bernard Cafarelli
d43d3fce86 Rework amphora agent installation element
Merge source and RHEL elements, allowing both source and package based
installations.

Allow amphora agent install from distribution packages (not limited to
RHEL)

Add a new option to diskimage-create.sh script to do so (default is kept
to source installation from Octavia git tree)

For now, amphorae built with distribution packages will have SELinux
(when available) running in permissive mode.

Made the rebind-sshd element generic to streamline the script
Use POSIX syntax for logrotate kill command

Change-Id: I391b2a95d54c7b9fd8f31d3e2c136ff9cc3451f1
2018-01-22 18:04:41 -08:00
Adam Harwell
7bf8804177 Add flag to disable SSHD on the amphora image
Also deprecate the amp_ssh_access_allowed option.

Change-Id: Icb61a65fac57e74235fac904639c411b0fa2b495
2017-08-16 11:18:10 -07:00
Bernard Cafarelli
d17dcea645
DIB: drop custom mirror elements
diskimage-builder supports a generic DIB_DISTRIBUTION_MIRROR that can
replace all existing mirror elements

Change-Id: Ia91dabf10e591f953440459edad35ebfc20c5890
Closes-Bug: #1703624
2017-07-12 10:57:24 +02:00
Dong Jun
21e80ce23d Remove invalid url link
Change-Id: I1e626794c19f9a0db5d0f9bee31d2d76b8996f86
2017-05-11 13:19:05 +08:00
Bernard Cafarelli
d5f1ffd703
DIB: drop some dependencies
kpartx is not called anymore in amphora creation
'jq' package is not required anymore, so drop epel element dependency
For rpm-based distributions, qemu-img package is enough
Drop Centos 6 specific check, it is not supported with current releases
Merge some Fedora/CentOS checks

Change-Id: I469486b48231489e0c4ea8b9986cb0c2347eb14f
2017-03-24 11:33:52 +01:00
Adam Harwell
cf9a8c8f77 Look for diskimage-builder not dib-utils when building amps
Also ignore E402 and W503 pep8 issues

Change-Id: I7937d0a21c7a748cd682511bd429de8cf0ffe498
2017-03-09 02:30:39 +00:00
Ha Van Tu
6e2dcabce2 Fix typo
This patch fixes typo "privledges" by changing it to "privileges".

Change-Id: Id72016eb782b614ee6dcacf8ceb6a0b75b27c6b7
2016-12-20 14:47:50 +07:00
Gregory Haynes
3c5c13c69c Stop depending on tripleo-image-elements
There were only two elements we were using from this repo -
os-svc-install which we werent actually calling anywhere, we only
depended on it needelessly and sysctl. The sysctl element has been moved
in to dib as dib-sysctl so we can now stop depending on
tripleo-image-elements entirely.

Depends-On: If312d199388036d6f4103e94dca99249cb3bcbaf
Depends-On: Ia730850a48e2478fd5461710a9d2619408725cd8
Change-Id: Ie78c4f3ebe506214f0ce7c456fcbbee09d35ba2a
2016-12-15 13:17:18 -06:00
gecong1973
fc51b73e98 Fix a typo in README.rst
TrivialFix

Change-Id: Ibddd206f7ea905bcc777942cc9fda052ac5837e7
2016-09-27 17:07:02 +08:00
Jenkins
7f03bbeafe Merge "DIB image tests speedups" 2016-07-22 03:22:08 +00:00
Bernard Cafarelli
3a44e594ef DIB image tests speedups
Change default image size to 2GB (align with devstack value)
Store the virt-inspector output to reuse in virt-inspector calls
Relax the size check to allow for system size change after updates and
differences in base distribution

Change-Id: I9aaaabcbe8a1332e57fd8f9f0649dc8cfc5b9977
2016-07-21 17:33:25 +02:00
Bernard Cafarelli
6e97a37744 Support RHEL base image in DIB
This adds a rhel type and gives some pointers on needed environment
variables for base image, registration, needed subscriptions.

no-resolvconf is also updated to work on rhel-type systems

Depends-On: Icb0e20b01479fea345e01309fc4bf3f7f639900c
Change-Id: Ic452feaf32fe7699ebd072f21dd630a2ac93bb5f
2016-07-12 10:24:37 +02:00
venkatamahesh
206f5738fe Fix misspellings
Change-Id: I675452fcc43e778f74bdf4bf5615c100d72ce8bf
2016-02-04 14:33:44 +00:00
Michael Johnson
e6cb590fdd Updates for repo rename stackforge->openstack
Updated files to use openstack instead of stackforge
Updated devstack samples to not point to old references

Change-Id: I501d76173475bb1619006819d971493854fdd15c
2015-06-13 00:20:11 +00:00
Michael Johnson
9df9ff9137 Add Amphora base image creation scripts for Octavia
Implements: blueprint base-image

Change-Id: I3e72db6d2f19fe45138758eb0821e27aa1c2542a
2014-12-11 01:31:19 +00:00