1689 Commits

Author SHA1 Message Date
Zuul
6096e32e0b Merge "Disable RabbitMQ by default" 2019-04-08 15:52:51 +00:00
Zuul
9a086306e6 Merge "Remove oneview from document" 2019-04-03 08:35:01 +00:00
KaiFeng Wang
bfe8181235 Remove oneview from document
oneview driver is no longer supported upstream.

Change-Id: I0fffb51ccb5a2a61c70b322ec5f13f6aeb9dc64a
2019-04-03 09:38:02 +08:00
Mark Goddard
bbb5060deb Fix skipping start and bootstrap of RabbitMQ
When building a kolla image for bifrost we need to skip starting
services and bootstrapping tasks. This needs to apply also to the
RabbitMQ role.

Also removes rabbitmq packages that crept into the package list for
Ubuntu 18.04.

Change-Id: I5698ccf85f9b909cb23c611b8329b3f363430793
2019-04-02 13:10:39 +01:00
Zuul
c21c32d5cb Merge "Move RabbitMQ handling into a separate role and support disabling it" 2019-04-02 08:08:38 +00:00
Zuul
aa1a53150b Merge "Add defaults for Ubuntu 18.04" 2019-04-01 20:14:33 +00:00
Zuul
cfff02ed66 Merge "Add git_branch variable" 2019-04-01 15:52:32 +00:00
Mark Goddard
7d4214248b Add git_branch variable
This can be used to change the branch used for all projects in one
place.

It is still necessary to set ipa_upstream_release to change the release
of IPA images.

Change-Id: Ic28958e46783086e89b04e405518504a49725155
2019-03-26 10:14:13 +00:00
Ian Wienand
0c2c98a8f8 Replace openstack.org git:// URLs with https://
This is a mechanically generated change to replace openstack.org
git:// URLs with https:// equivalents.

This is in aid of a planned future move of the git hosting
infrastructure to a self-hosted instance of gitea (https://gitea.io),
which does not support the git wire protocol at this stage.

This update should result in no functional change.

For more information see the thread at

 http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003825.html

Change-Id: I195b07206cc85f090ce0597ae7248513a2835311
2019-03-24 20:32:42 +00:00
Antony Messerli
b7d9c2f7e6 Add defaults for Ubuntu 18.04
Adds defaults for Ubuntu 18.04 as required packages
are not currently installed.

Change-Id: Id94d56eb7192365208891c22123ec7c7514a1a94
2019-03-22 12:26:58 -05:00
Dmitry Tantsur
d8203a3d17 Disable RabbitMQ by default
Change-Id: I642b089732d2500a0674049587569931ef2a3711
2019-03-21 11:45:29 +01:00
Dmitry Tantsur
0d036d6a7c Move RabbitMQ handling into a separate role and support disabling it
Ironic can use JSON RPC and ironic-inspector is compatible with fake:// transport.
Keystone does not seem to need oslo.messaging at all. This change moves
RabbitMQ bits to a separate role, but keeps it enabled until the next patch.

Change-Id: I096a347e3bf6270167d35b7c1cf46834ae2d4ece
2019-03-21 11:45:20 +01:00
Dmitry Tantsur
339f6cb949 Add versions to release notes series
Change-Id: Icd9bb584327dbb734eb1f8cde482da3c38833bf2
2019-03-21 10:33:43 +01:00
ec68d4f142 Update master for stable/stein
Add file to the reno documentation build to show release notes for
stable/stein.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/stein.

Change-Id: Ib39e1866eddad91c9aacb6ba4d3e3f1e935dfc10
Sem-Ver: feature
2019-03-20 20:49:20 +00:00
Zuul
86ddca659a Merge "Add log file argument for ironic services" 6.0.0 2019-03-20 14:09:32 +00:00
Zuul
bd094260c5 Merge "Remove UCS configuration" 2019-03-20 10:13:17 +00:00
Zuul
2969aba192 Merge "Do not install distro packages with a VENV activated" 2019-03-19 14:13:25 +00:00
Julia Kreger
e3c3dd0320 Remove UCS configuration
We need to update the default configuration upon
merging a removal of UcsSdk as otherwise ironic will
not start.

Change-Id: Iec82c85519d03159253679d1fcdf953cbab39bd6
2019-03-19 06:54:55 -07:00
Marcin Juszkiewicz
8c7faf8922 bifrost-ironic-install: drop UcsSdk as it is Python 2 only
Change-Id: I4e1205b66d1f51afb8ba63ff6163f497dbae3c4a
2019-03-19 13:55:17 +01:00
Dmitry Tantsur
51dc6a9e27 Do not install distro packages with a VENV activated
It can yield weird mixes of distro and venv python during installation.

Change-Id: I651b72efb3159609e8a4ebb54f48e390c21e9ca7
2019-03-19 12:02:36 +01:00
John Haan
22a2c0dbcb Add log file argument for ironic services
The ironic services do not generate log file
in the log directory currently.
Morever, ironic installation role does not reference ironic_log_dir.
This patch fixes these problems and set default value of
ironic_log_dir.

Change-Id: Ib6fb7359d5d818db0b97a8c0d3fa5c2c8b9dff5b
2019-03-15 15:33:07 +09:00
John Haan
81d80496d4 Change uwsgi-plugin-python to uwsgi-plugin-python2
We need to change the package name of uwsgi-plugin-python to
uwsgi-plugin-python2 in Redhat Family OS, because they do not have
the name of the package.

Change-Id: I459ea1f300e1d203e77dfc739ff446ca985aacb1
2019-03-04 23:53:31 +09:00
Zuul
734f63cdbb Merge "Add dnsmasq_ntp_servers variable in the main" 2019-02-27 09:46:58 +00:00
Riccardo Pittau
2c5e6af70c Removing python3.5 tests in favor of 3.6
This patch changes the tox env from python 3.5 to python 3.6

Change-Id: I5cdda8d2af7f7a96a748a89113f4b6bb042f630b
2019-02-25 14:43:45 +01:00
John Haan
97e9657a16 Add dnsmasq_ntp_servers variable in the main
It is possible to populate the configuration of the NTP
servers because of the already implemented jinja template
for dnsmasq.
However, the variable did not defined in the main file yet.
This commit adds the variable in order to set the value.

Change-Id: I7528e218f206352e8bc27fb2b4637f82dc0d37af
2019-02-25 18:31:21 +09:00
Mark Goddard
6a0ef585a9 Update env-vars and openrc to use openstack CLI
The ironic CLI is deprecated, and use of OS_AUTH_TOKEN causes problems
when set during deploy-dynamic.yaml, so we should move to recommending
use of the openstack CLI instead.

Change-Id: I7aa969385962008505db3115fc7e86b2729f26ee
Story: 2005034
Task: 29523
2019-02-20 18:50:21 +00:00
Zuul
177ce1faef Merge "Allow Ironic URL to use env vars in bifrost_inventory.py" 2019-02-06 17:14:20 +00:00
Zuul
2f4c8b98fe Merge "Install dpkg on SuSE family" 2019-01-29 08:13:08 +00:00
Mark Goddard
2ac87b3ae5 Install dpkg on SuSE family
This is required for building Debian images. Previously, the
bifrost-integration-dibipa-debian-opensuse-423 job was failing.

Change-Id: I766f6472d5b497d00f0e0f265f25f962d55bcd11
2019-01-28 13:08:32 +00:00
Mark Goddard
853c252004 Allow Ironic URL to use env vars in bifrost_inventory.py
Currently the URL used in bifrost_inventory.py is hard-coded to
http://localhost:6385, which might not be valid if we are accessing a remote
API or the service is bound to a specific IP.

The URL can be specified using either OS_URL or IRONIC_URL, with the former
taking precedence.

This patch also adds support for using clouds.yaml with bifrost_inventory.py.

Change-Id: I8741feb05a0a1cdd55f2e1f8d4cea8fcfefed192
2019-01-28 13:06:53 +00:00
Mark Goddard
a0b4577b7d Use become when testing image presence
Become is used on the play that builds the image, so it's possible we might not
be able to access it without root privileges.

Change-Id: I62d45e937b69215890fc88f1cd59c97319558994
2019-01-28 10:48:00 +00:00
Mark Goddard
53fa0c9eaa Make explicit fact gathering timeout configurable
Implicit fact gathering performed at the beginning of a play uses the
DEFAULT_GATHER_TIMEOUT [1] config option. Invoking the setup module
directly does not use this option, instead takes a gather_timeout module
argument.

This change adds a fact_gather_timeout variable that is used when
invoking the setup module directly. The default value is given by the
DEFAULT_GATHER_TIMEOUT config option.

[1]
https://docs.ansible.com/ansible/2.4/config.html#default-gather-timeout

Change-Id: I50bcfc264b61686ffcb1341b737f4354067bd03c
2019-01-21 12:39:18 +00:00
Zuul
225198e050 Merge "Remove those copy words occured twice times in README.md" 2019-01-08 11:22:57 +00:00
zhouxinyong
847cef33cc Dumplicate words was deleted in README.md
Change-Id: Iae491e0dd3e2a8128490ceca3f8a0bfe17646d87
2019-01-07 14:15:40 +08:00
zhouxinyong
1fcd7d2475 Remove those copy words occured twice times in README.md
Change-Id: I3b044fb2b2eae01d424cf9b444031a76caa28333
2019-01-07 08:56:48 +08:00
Zuul
e93994402a Merge "Perform ironic online data migrations" 2019-01-05 01:21:32 +00:00
Zuul
d0696a7e2a Merge "Delete the duplicate words in CONTRIBUTING.rst" 2019-01-05 01:13:21 +00:00
zhouxinyong
0434f4ba00 Delete the duplicate words in CONTRIBUTING.rst
Change-Id: I1afd93c0159a4a3476ce7787acb99fb5a4c7afe4
2019-01-04 20:47:38 +08:00
Mark Goddard
705a58f6eb Perform ironic online data migrations
Online data migrations are necessary for performing an upgrade of
ironic. Without this change, an error such as the following may be seen
in task 'bifrost-ironic-install : Upgrade ironic DB Schema'.

The database is not compatible with this release of ironic (10.1.7).
Please run "ironic-dbsync online_data_migrations" using the previous
release.

Change-Id: I685efd14bf3567a126311b676a50b0abb0f043db
Story: 2004670
Task: 28658
2019-01-03 17:52:54 +00:00
Mark Goddard
ff7621c0d2 Use a virtualenv in openSUSE CI testing
Currently all of the opensuse 150 jobs are failing due to being unable
to install virtualbmc via pip. The failure signature is:

Cannot uninstall 'six'. It is a distutils installed project and thus we
cannot accurately determine which files belong to it which would lead to
only a partial uninstall.

The usual solution to this problem is to install Python packages in a
virtual environment. This change modifies the zuul CI jobs to use a
virtual environment for all openSUSE jobs.

Change-Id: I2840ec32cffcaf5d7f32a91907d51c1a500f19f1
2019-01-03 16:36:12 +00:00
melissaml
ec7d295d3c Update devel info: mailing list
The new openstack-discuss mailing list has replaced few
mailing lists, including openstack-dev.

Change-Id: I8aa88c2ab38823330dcdc3f1aaeecb0b3264aa74
2018-12-10 10:38:17 +08:00
melissaml
2829187675 Change openstack-dev to openstack-discuss
Mailinglists have been updated. Openstack-discuss replaces openstack-dev.

Change-Id: Ie7f3c6e451ad85ed37f3637066f51b41b495a3f5
2018-12-04 16:52:33 +08:00
Julia Kreger
2d286dd7da Remove pre-emptive boot.ipxe copy
Early on in bifrost, we used a static template for
a short time. As time evolved, so did the template,
and we were able to rely upon the conductor placing
the boot.ipxe file upon startup.

Ironic since performed the copy upon driver init
as opposed to once a deployment has been requested.

As it is no longer needed, we shouldn't put an invalid
ipxe boot configuration in place. Removing legacy copy.

Change-Id: I7f2fc2afca6c8ee0f18efe8aa461bf906794e049
2018-11-27 13:31:35 -08:00
Zuul
66af1ee2b2 Merge "omit the twice occured words in openstacksdk-addition-efec3878ef988295.yaml" 2018-11-26 14:02:14 +00:00
Lars Kellogg-Stedman
94c52df9c7 fix grammar issues in bifrost mission statement
*their

...and also correct a sentence that sort of started in the middle of
nowhere.

Change-Id: Idec5a66405128c22b1f2a6e8a2801e6c8bae55a7
2018-11-26 00:01:28 -05:00
Pierre Riteau
b8ede14a41 Install packages required to build EFI disk images
Building EFI disk images requires the sgdisk and mkfs.vfat utilities,
which are provided by the gdisk and dosfstools packages.

Change-Id: I28b1a7bfc9c580a7e098f2861de1c38360751c7c
Story: #1524845
Task: #8755
2018-11-20 21:18:30 +00:00
Julia Kreger
d446038141 Add initial support for EFI booting
In order to support EFI booting, we need to respond to the DHCP request
with the appropriate binary for booting the node.

At present, holding off on documentation until this has had an
opportunity to be fully tested and that we're sure that EFI booting
works without issues.

Change-Id: Ibdbeedb481796da03351daf56c91b8bd50480470
Co-Authored-By: Pierre Riteau <pierre@stackhpc.com>
Story: #1524845
Task: #8755
2018-11-20 17:58:42 +00:00
Dmitry Tantsur
72825c3788 Set transport_url for ironic-inspector
Inspector now uses AMQP, so we need the correct transport URL for it.

Change-Id: I075b0872f30ee31b6088b670c1647f4c5187246d
2018-11-19 11:38:36 +01:00
Zuul
1b089d9311 Merge "remove those copy words occured twice times in offline-install.rst" 2018-11-15 11:25:22 +00:00
Zuul
e4b3e804a9 Merge "Get ramdisk name from variable instead of hardcoding it" 2018-11-15 11:25:22 +00:00