Commit Graph

87 Commits

Author SHA1 Message Date
Andreas Jaeger 32ca1f64ab Retire repository
Fuel (from openstack namespace) and fuel-ccp (in x namespace)
repositories are unused and ready to retire.

This change removes all content from the repository and adds the usual
README file to point out that the repository is retired following the
process from
https://docs.openstack.org/infra/manual/drivers.html#retiring-a-project

See also
http://lists.openstack.org/pipermail/openstack-discuss/2019-December/011647.html

Depends-On: https://review.opendev.org/699362
Change-Id: I274ce8f03b58ad770221219c197336055e263d38
2019-12-18 09:42:48 +01:00
Jenkins 542f98cfeb Merge "bootstrap_admin_node: Fix connectivity check." 2016-08-31 12:31:58 +00:00
Georgy Kibardin 6bad843b48 Add Timmy to the master node
Change-Id: If6dd02eff29368b7fca3d204d2dddf1a079a9198
Implements: blueprint shotgun-retirement
2016-08-25 17:36:29 +03:00
Maksim Malchuk ead4998107 Setup stringify_facts for the puppet
This change will setup stringify_facts to false for the puppet.
Also, we need the tools to manage configuration files from the
bash scripts, as we widely use augeas bindings in the puppet, lets
use the same tools in the bash scripts.

DocImpact
Change-Id: I6c447f4a006825dd2dcdd8597f63f84eb2670556
Closes-Bug: #1602774
Closes-Bug: #1593207
Signed-off-by: Maksim Malchuk <mmalchuk@mirantis.com>
2016-07-13 17:57:23 +00:00
Alexandru Avadanii ab98c79af0 bootstrap_admin_node: Fix connectivity check.
After Fuel Master builds the bootstrap image at first boot,
internet connectivity is tested using the URL for the CentOS
updates repository.

bootstrap_admin_node.sh script parses the output of `yum repolist`,
looking for entries like 'Repo-baseurl: http://...'.

However, in Fuel 9.0, <updates> points to a mirrorlist file (a text
file containing a list of possible mirror URLs) instead of being
a single, direct link to the repository.

For now, we only test that we can access the mirrorlist file,
while the check should be performed against the mirror(s).

Old (Fuel 8) repo entry format:
Repo-baseurl: http://mirror.fuel-infra.org/.../updates/x86_64/

New (Fuel 9) mirrorlist format:
Repo-mirrors: http://mirror.fuel-infra.org/.../mos-mirrors-updates.txt

Closes-Bug: #1596981

Change-Id: I21268dd8aa8cd633f09f921b4a9e1c057a4b8ed3
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2016-06-28 17:34:06 +02:00
Vladimir Kozhukalov 629ca1f785 Remove fuel-mirror package
Since now Packetary is a recommended tool to build/clone
rpm/deb repositories and Fuel client is to be used
to modify default repository settings.

Change-Id: Ifd4ee718e70ff7dc8b4724c2a00f2aaeb3813b7f
2016-06-27 16:23:28 +03:00
Vladimir Kozhukalov e6b165748a Modify default repos for fuel and fuelmenu
In fuel (nailgun) and fuelmenu we have hardcoded
default repos which we should be able to change
mostly for test purposes.

Default ISO build flow uses fuel packages rebuild
approach, which modifies ubuntu suit as well, eg:
   sync(mos-master) --> (iso)mos10.0 --> deploy(mos10.0)

To use this feature one must use BUILD_PACKAGES=0,
this flag turns off:
  * fuel packages building and
  * ubuntu suit update.
so We consume the same suit as we use during
debmirroring, eg:
   sync(mos-master) --> iso(mos-master) --> deploy(mos-master)

DocImpact
Change-Id: Ia3cefa7c87e35ecd9244a4026b86e772bf569ca9
Closes-bug: #1556125
2016-05-31 15:10:01 +03:00
Vitaly Parakhin 7db860b9e6 Create Ubuntu symlink for backward compatibility
In case of ISO deployment there is a folders structure
created from kickstart. On a pre-provisioned server we
need to replocate some parts of this structure to
maintain backward compatibility.

Change-Id: Ie297aab0e088be3f752edca1e27e3a851bdb2073
Closes-Bug: #1572861
2016-04-21 17:09:53 +03:00
Jenkins 7c04102f8e Merge "Remove debian-installer placeholders" 2016-04-21 13:45:48 +00:00
Jenkins 9ab29a11a6 Merge "Switch main bootstrap source repository to online one" 2016-04-19 13:34:50 +00:00
Sergey Kulanov 5407a693d3 Remove CentOS bootstrap code
CentOS bootstrap was removed, so we need to align
bootstrap_admin_node script as well

Change-Id: I23de9ef8763194cb6f644c49a5a8a171b34ff874
Related-bug: #1534178
2016-04-18 07:35:28 +00:00
Vitaly Parakhin 831ec8267e Switch main bootstrap source repository to online one
In case of deploying Fuel Master node on a pre-provisioned
server, we should use online repositories instead of local
ones, to build the Ubuntu bootstrap.

Change-Id: If4a5d8d715740289e85f8004a5655b35c25c9c6b
Closes-Bug: #1570747
2016-04-15 18:01:10 +03:00
Jenkins 47515a0d27 Merge "Fix links to documentation" 2016-04-15 10:33:57 +00:00
Maksim Malchuk 603cff3dfa Abort the Fuel installation if the fuelmenu fails
Deployment of Fuel Master should halt immediately if fuelmenu fails
to make it simpler to understand the reason of failure.

Change-Id: I4a9b712c8fdf9cccb87a02500cdbf43793a63bf8
Closes-Bug: #1569014
Signed-off-by: Maksim Malchuk <mmalchuk@mirantis.com>
2016-04-14 13:19:30 +03:00
Sergey Kulanov 6eb407fa9e Fix links to documentation
Change-Id: I102b6583917c2996b8c85f5b181f11ecc6ea2997
Closes-bug: #1569288
2016-04-14 10:09:09 +00:00
Vitaly Parakhin 3839703dc5 Remove debian-installer placeholders
In Fuel 7.0 we dropped classical provisioning mode,
fully switching to IBP. Since then, placeholders
created for Ubuntu cobbler profile, are no longer
needed. Also, remove 'fuel' package dependency for
the 'fuel-provisioning-scripts' which contains
debian-installer download script.

Related-Bug: #1549346
Change-Id: I36ff56c1e4a0437b33fc8e31da3df6f311607307
2016-04-11 14:07:10 +03:00
Sergey Kulanov 65eac31012 Fix installation packages order
We need to align package order installation during
master node deployment:
 * Online repos should be disabled ASAP during ISO
   installation
 * Security and Updates repos should be enabled
   after network configuration is done

Change-Id: I194aedf894dd2fb36da5ee209e07709f2bb0a6cc
Closes-bug: #1564350
2016-04-04 14:23:01 +00:00
Jenkins 4b08ee90f9 Merge "Fix IP address in /etc/issue" 2016-04-04 14:22:19 +00:00
Maciej Relewicz 1ad1dd16a2 Fix IP address in /etc/issue
We should create banner after user configures network via fuelmenu

Change-Id: I7d3e14863251e848c04fbeb47fc79e558751b7ad
Closes-Bug: #1564366
2016-04-04 12:09:59 +02:00
Jenkins aee5ad0cbf Merge "Delete link to reference architecture in motd on master node" 2016-04-04 09:00:12 +00:00
Jenkins 02cda68361 Merge "Fail bootstrap_admin_node if admin password is wrong" 2016-03-31 12:22:55 +00:00
Jenkins 60713a3341 Merge "Set console loglevel to a lower value to avoid tty spam" 2016-03-31 09:16:38 +00:00
Maciej Relewicz 3bd396a82d Delete link to reference architecture in motd on master node
Removal after consultation with docs team.

Change-Id: I73bf9f2af71b5d71fe8ee66742103a11e6e3ee8f
Closes-Bug: #1561531
2016-03-31 10:00:51 +02:00
Jenkins 73bd5d9a64 Merge "Fix typos in Fuel files" 2016-03-29 13:41:34 +00:00
Jenkins 2621cd4357 Merge "Bootstrap Warning Message Clarification" 2016-03-29 13:40:43 +00:00
ErikNeeley e78ad486d6 Bootstrap Warning Message Clarification
* Change the wording in the bootstrap warning message from
* 'Please reboot failed to discover nodes after bootstrap image
* become available' to 'After bootstrap image becomes available,
* reboot nodes that failed to be discovered'
* to clarify meaning and be more clear.

Closes-Bug: #1560985

Change-Id: Ic25c99f461b4e58bac33211da7aabb30076b3ff5
2016-03-28 08:45:31 -05:00
Nguyen Hung Phuong 735eef25ec Fix typos in Fuel files
TrivialFix

Change-Id: Ie3196a4b09ab46c67ea9316e6c048bbc69a10232
2016-03-28 10:34:59 +07:00
Sergey Kulanov 03b01bfe1a Ensure error message written in log on master node bootstrap
Log message from fail() function [1] doesn't appear in logs,
because of output stream buffering issue [2], so we need to
flush data explicitly using sed.

This patch aligns testflow for master node wait_bootstrap
function [3], since we need to fail deployment ASAP rather then
wait for timeout

[1]. https://github.com/openstack/fuel-main/blob/master/iso/bootstrap_admin_node.sh#L113
[2]. http://www.pixelbeat.org/programming/stdio_buffering/
[3]. https://github.com/openstack/fuel-qa/blob/master/fuelweb_test/models/environment.py#L556

Closes-bug: #1551658
Related-bug #1549302

Change-Id: I3f0d48a8d5c3ce36dd01724f48d2a1180d2f5335
2016-03-24 15:21:08 +02:00
Matthew Mosesohn 6a29a71266 Fail bootstrap_admin_node if admin password is wrong
This covers the scenario where a user changes the admin password,
but fails to update /etc/fuel/astute.yaml and
/root/.config/fuel/fuel_client.yaml. These files need to be
updated to re-run bootstrap_admin_node for simple patching.

This fix is partial because it should include string updates
in fuel-ui, docs, and fuelclient.

Change-Id: I23f362524eab9649b58a8ba722e6fd6cb1d6b1ab
Partial-Bug: #1555262
2016-03-23 18:55:03 +03:00
Dmitry Bilunov 7456eb676a Set console loglevel to a lower value to avoid tty spam
Currently a mass of debug\error\etc messages from drivers errors\etc
spam to tty* - this totally blocks possibility to connect and debug with
tty*

We should set console_loglevel to a lower value, so the screen isn't
littered by kernel messages. Also these messages break the look of
fuelmenu (which, currently, has own printk setting code).

Change-Id: I765367e641f9b773701e9e0d1470b3a166a9e91a
Closes-Bug: #1535419
2016-03-23 14:51:00 +03:00
Sergey Kulanov 9f816d2a36 Fix sed -i flag usage
We don't need to create any backup with e SUFFIX so let's just
remove -e flag since:
        the first non-option argument is taken as the sed
        script to interpret

Change-Id: I69d658254ebe75b07c818e8aa6fb405ff33db549
Closes-bug: #1553154
2016-03-04 16:00:14 +02:00
Jenkins 1867de9d2f Merge "Install fuel-openstack-metadata before getting OPENSTACK_VERSION" 2016-03-02 14:48:26 +00:00
Sergey Kulanov b4a66463a7 Install fuel-openstack-metadata before getting OPENSTACK_VERSION
We need to install fuel-openstack-metadata which provides
definition for $OPENSTACK_VERSION in bootstrap_admin_node

Change-Id: I6f7a1e7bee74191f7a7b51ede8f04361f4d318d4
Closes-bug: #1551659
2016-03-02 12:11:32 +02:00
Sergey Kulanov ebab0180b3 Add fuel-ui repo to ISO build process
Though build packages during ISO build is going to depracate
we still need to align all fuel packages build flow

Change-Id: Ic4c3917a608dbdc955263dd13871012a8f498dee
Partial-Bug: #1471763
Implements: blueprint separate-fuel-ui-repo
2016-03-01 20:38:48 +03:00
Vladimir Kozhukalov acc46cd3d0 Install send2syslog package instead of copying file
Change-Id: Ia2e56584499260d01186526c5f452c6c9697ab90
Closes-Bug: #1549817
2016-02-25 17:22:00 +03:00
Vitaly Parakhin 6360a27842 Tweaks for deployment on a pre-provisioned systems
* switch selinux to permissive mode
* show fuelmenu by default
* remove unused /etc/sysconfig/bootstrap_admin_node
* move debian-installer stuff to deployment script

Change-Id: I5d8a9776adc7b04d2cca06f9619f0b2f93c90181
Blueprint: separate-fuel-node-provisioning
2016-02-24 13:27:18 +02:00
Jenkins afe82e5804 Merge "Change filename parsing to ip output" 2016-02-19 07:44:44 +00:00
Vitaly Parakhin 17b753df73 Add Yum configuration to the fuel-release package
This package installs the following Yum configuration
entries for Fuel Admin node:

* base, updates and security MOS repos (enabled by default)
* repos configuration includes online mirrorlists
* GPG key for MOS packages (verification is enabled)

Also remove Fuel packages that directly depend on
the 'fuel' package from the FUEL_PACKAGES var

Change-Id: I20c2c53d823372b44a6c9409f0ee46c1d1910782
Blueprint: separate-fuel-node-provisioning
2016-02-18 14:19:44 +02:00
Vitaly Parakhin 00fa839700 Separate Fuel master node deployment from base OS provisioning
Move configuration steps related to the Fuel master node
deployment from kickstart to deployment script.

Change-Id: Iaef1dd3fe9dce17d8030630b7fbcc5c8a225d69c
Blueprint: separate-fuel-node-provisioning
Partial-Bug: #1534586
2016-02-16 10:52:08 +00:00
Stanislaw Bogatkin 8e263e0425 Change filename parsing to ip output
As filename parsing is a fragile way, change it to use 'ip' utility
output for when finding interfaces with ip addresses equal to admin
interface ip address.

Change-Id: I4ad586b8964c600ad80f055707bca49b50506d1b
Closes-Bug: #1524686
2016-02-15 15:33:01 +00:00
Vladimir Kozhukalov c23c6c7a46 Remove Docker related code
We got rid of using docker containers
on the master node. Now we deploy all
Fuel service directly on the host.

Implements blueprint: get-rid-docker-containers

Change-Id: Ie636d33d091a95fb0ff8fbd71e49cbccf1cb34fa
2016-02-10 19:35:40 +03:00
Vladimir Kozhukalov 6a3ef4ad6c Minimal docker removal patch
This patch does not remove docker related files, but
instead it introduces alternative master node
deployment script which is used by default.

Depends-On: I0139cad1c2ebb0cc846c8bca560533b0ac6489cf
Implements blueprint: get-rid-docker-containers
Change-Id: I9c2a3b1f988ba9bb937546eab2a0dbe84d19b18b
2016-02-06 01:33:37 +03:00
slava 47d85af899 Check astute.yaml file was generated succesfully
Fuelmenu may not generate astute.yaml for some reason.
It may be crushing of fuelmenu or etc. To protect us of
this problem additional check has been introduced.

Change-Id: If661f27c5116e60fb7ded1fa5ed33bf396ef1a9f
Related-Bug: #1534517
2016-01-22 15:54:56 +03:00
Vladimir Kozhukalov 12107eb430 Remove version.yaml and other artifacts
Our old artifact concept does contradict to our
current delivery approach of wrapping every single
Fuel component into rpm/deb packages. So, all
artifacts (that we did not use anyway except version.yaml)
should be deprecated.

Change-Id: Id7c49097ab18f5df455b8af3785effc90b808f62
Closes-Bug: #1515517
Closes-Bug: #1525286
DocImpact
2016-01-20 18:17:14 +03:00
Jenkins ff8e7242e5 Merge "Replace yaml with fuelmenu module as yaml parser" 2016-01-19 14:01:32 +00:00
slava 6ef4d3940b Replace yaml with fuelmenu module as yaml parser
This patch's mission is to wipe out unnecessary import from fuelmenu
module, in other case, these lines may be failed due to changes in
fuelmenu module and it will take a lot of effort to fast identify it.

Change-Id: Ib696846892fa3661c25d7e779392688c1240c553
Related-Bug: #1502110
2016-01-17 18:28:01 +00:00
alexz 64f89160a3 Fix 'adminf' fetching logic
* Backup ifcfg-* files, not remove
 * Backup ifcfg-* file only if its really needed
 * Check for existing ID_NET_NAME_ONBOARD, ID_NET_NAME_SLOT, ID_NET_NAME_PATH
   (in order) in sys net class, and chose first one.

In case of real hardware, anaconda can spawn dracut with ID_NET_NAME_ONBOARD
nic naming. Otherwise, our "Advanced install" logic fetch nic.name by another
key. Its totally brake "Advanced install" feature

Closes-bug: #1533652
Partial-bug: #1533239

Change-Id: I18d8a8350f134c73dc7a83202facf6ee7b4fc6f9
2016-01-15 15:21:02 +02:00
alexz 80084ce12a Send more user friendly notifies for bootstrap building process.
Change-Id: I5669a30943fb771b65747629b8abb6e2287f1d7d
Depends-on: I43b61b0961ec07ba7ede2a9bd01c1dc4ca23603f
Related-bug: #1524325
2015-12-18 13:36:29 +02:00
Ivan Suzdal b113c71bcb Set correct ADMIN_INTERFACE variable in bootstrap_admin_node.conf
Closes-Bug: #1526344

Change-Id: I9f19d08e783bad174e0b9a5df4551034fb68a9ef
2015-12-15 15:43:45 +00:00
Jenkins 8e214df931 Merge "bootstrap_admin_node.sh: fix repourl reveal" 2015-12-09 13:39:08 +00:00