Commit Graph

46 Commits

Author SHA1 Message Date
Andreas Jaeger 96a651dd10 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: I9227181bae1ac7c39f1dd714d31e9d23e8dbc969
2019-12-18 09:51:59 +01:00
Vasiliy Pleshakov 904eec20f8 Add ssh public key to Fuel master node
This commit adds an ability to use ssh public key authentication for
the Fuel master node by uploading your ssh public key to it. The path
to the public key file can be provided in the 'config.sh' file.

Closes-Bug: #1579123
Change-Id: I93560126940457518fc4385c0518ab00c0cac01a
2016-05-12 13:18:01 +03:00
Maksim Malchuk 5ed0107ff3 Enable 'skipfuelmenu' because 'showmenu=yes' is used
Because 'showmenu' now enabled by default in ISO we should use
'skipfuelmenu=yes' during automated installation using the scripts.

Change-Id: Ic7528bb6a473bceaa8b99945f45f1e862c5e3f70
Partial-Bug: #1557245
2016-03-22 19:04:46 +03:00
Maksim Malchuk 8e1be25492 SELinux support in 9.0 Fuel
This commit removes boot with disabled SELinux because since 9.0 Fuel
is perfect works in permissive mode. Also, it contains some cleanups
after separate project from the Fuel-main repo.

Change-Id: Ieb9cffa2ea2ba5507b86e298b471e43419ca0e4f
Closes-Bug: #1521154
2016-02-23 02:23:05 +03:00
Maksim Malchuk b48c7f5293 VirtualBox network fixes and the dockerless mode support
This commit include changes:

 * using the VirtualBox scripts the Fuel master node now always
   booted with kernel option 'wait_for_external_config=yes' to
   provide the same deployment functionality as in the 'fuel-qa'.

 * settings for the kernel command line moved to the top config
   file, because the settings wich could be edited should be placed
   there.

 * because of configuration task moved to the correct place there
   is no need to parse 'bootstrap_admin_node.log' and always follow
   the changes in the 'fuel-library', so all parsing logic removed
   from the scripts. This also simplifies networking changes and
   there is no need to patch the files on the fly and restart
   docker containers if they used.

 * variable 'vm_master_nat_gateway' removed from the 'config.sh'
   and from the 'enable_outbound_network_for_product_vm' because
   gateway should be set from the DHCP lease.

 * the sysconfig configuration files on the fuel master node now
   configured the right way. the backup files for configuration
   files are created. also added some comments for changes in the
   scripts.

 * now the default routing on the fuel master node correctly
   configured without creating the second default route. also
   ZeroConf route creation and NetworkManager now switched off
   to correct work of the network service.

 * the 'resolv.conf', 'dnsmasq.upstream' and 'astute.yaml' now
   correctly modified and could contain up to three DNS nameservers.

 * added support for the new dockerless 9.0 Fuel.

Implements blueprint: get-rid-docker-containers

Change-Id: I8f32fb8105d0781938757fa13d5dcbbacbf9c845
Closes-Bug: #1544241
Partial-Bug: #1323365
2016-02-15 00:13:47 +03:00
Maksim Malchuk 5cdbcc30d1 Fix PATH issue for VirtualBox on Windows
The support to deploy on a remote machine is broke the
default behaviour on the Windows OS, so now it always
needs to set the $PATH manually before using the scripts.

Also, the new functionality didn't work on the remote
Windows machine because the scripts change the $PATH on
the local system only.

This commit adds some more checks and fixes the local
$PATH setup. It didn't check remote system requirements
so deploy on a remote machine still have some problems.
Added several messages in the scripts.

Also this commit contain increased timeouts to fix
failures during network interfaces add/change operations
on some Windows systems.

Change-Id: If5dadc1ece3931f42eac423aae4d7016d45c2040
Closes-Bug: #1534129
Partial-Bug: #1491925
2016-01-22 08:22:10 +03:00
Maksim Malchuk 85e5cf4817 Proper Windows 7/8/10 support
This commit adds enchantments and proper support for Windows 7/8/10:
 * more verbose messages.
 * by default all network interfaces will be removed.
 * some code cleanup and regexp fixes.
 * added sleeps for some network operations.
 * proper support for windows full filenames.

Change-Id: Ic56f8d114bdaf83dd12b76dd6cc46eaa8d74da52
Closes-Bug: #1524558
Closes-Bug: #1496042
2016-01-13 17:02:22 +03:00
Maksim Malchuk a1bf0cf649 ROM firmware is optional now
ROM firmware is optional now and should be used only by user choice.
It should be named as 'FirmwareName.isarom' placed under 'drivers/' directory.
In the same directory placed an example firmware and some information.

Change-Id: I5841deacacacf39c9c654828c44a869ef996044b
Depends-On: Id1f0d9e32487bcd902940311ed8d8bef4129fdaf
Doc-Impact: ops-guide
Closes-Bug: 1528186
Closes-Bug: 1527474
2015-12-22 11:50:35 +03:00
Maksim Malchuk 8436205d92 iPXE - open source boot firmware for VirtualBox
This is the new open source boot firmware for VirtualBox default
Ethernet controller (Intel Corporation 82540EM Gigabit Ethernet
Controller [8086:100e]) set by virtualbox scripts.

This is the leading open source network boot firmware, which
provides a full PXE implementation enhanced with additional features
such as boot from a web server via HTTP which now used by the
Fuel 8.0.

Change-Id: I0b9a3f6f80ba88eb5e7f7db75834f65916af6f66
Depends-On: I26b62414e1cc0193c75f954ed7ed76570a4bf2f6
Doc-Impact: ops-guide
Closes-Bug: 1527474
2015-12-18 09:36:52 +03:00
Vasiliy Pleshakov 7dc713ff28 Enable VRDE option for VMs in vbox scripts
VRDE option makes VMs accessible via RDP.
Fix vboxmanage to run via execute decorator.

Closes-Bug: #1498889
Change-Id: I93560126940457518fc4385c0518ab00d4b3d800
2015-09-24 15:03:52 +03:00
bgaifullin ca5a2adfcf Added support to deploy product on remote machine via ssh
It is useful in case if there is 2 machines:
the main that has limited resources and used only for development and
the second, that has enough resources to use it for deployment.
enable feature VRDP for virtual machine

Change-Id: Ib34a188311cc04250d29e685bf5b9f12ac2aeb05
Closes-Bug: #1491925
2015-09-23 12:54:42 +03:00
Serhiy Ovsianikov 7dc55cc8f1 Fix for VBox "No Internet connection on compute nodes"
The scripts work without any firewall tuning on the user's computers.
The Fuel master node is forwarding the public network through
the existing NAT interface.

Change-Id: I2962bccb39828da4ff011889f990a67d89322ca3
Closes-Bug: #1288135
2015-05-14 20:20:57 +03:00
Serhiy Ovsianikov 15fd4fd115 Enable Internet for slave nodes
Adds NAT features to the slaves in the VirtualBox scripts, now
for Linux and OS X (Yosemite) systems:
* It requires the sudo password (giving explantions on the reasons)
* For OS X, it backups the original pf.conf before setting the NAT
  using pfctl, and does some cleanups
* For Linux, inserts the masquerade rule in the nat chain

Change-Id: Id37cb55241682f530a7e5378cadd556cccc1db90
Closes-Bug: #1442988
2015-05-06 16:25:08 +00:00
Serhiy Ovsianikov 9737a945a6 Delete only the demo hostonly networks
Change-Id: I81b1c73d782e75e89ce76c51e0b6e9246409d80e
Closes-Bug: #1384976
2015-04-07 15:27:55 +03:00
Serhiy Ovsianikov c38f788897 Added the number of processor cores to fuel master node
Adding the number of processor cores increases the productivity of
fuel master node

Change-Id: Idd7933579b5309fc038488d1a808024d3132e829
Closes-Bug: #1401851
2015-02-05 12:21:08 +02:00
Matthew Mosesohn 1679c27f65 Default showmenu=yes, add workaround for VirtualBox
Change-Id: I763a76cf44a8ba69be4621375c782431eccaaf55
Closes-Bug: #1402519
2014-12-17 18:48:32 +03:00
Serhiy Ovsianikov fef969d7a8 Fixed search Fuel ISO in vbox scripts
Fixed relative paths when are invoked other vbox scripts.
If we have another config.sh which is located on a different path
in the variable PATH, we have an error.

Change-Id: I1dfadebac4f76d18f85ca396a202d3550948042d
Closes-Bug: #1393557
2014-12-09 12:41:53 +02:00
Dmitry Borodaenko 2faf976236 Parametrize headless option for VirtualBox
If you need to start VirtualBox VMs without a GUI, for example, on a
remote computer, you can now set the 'headless' parameter in config.sh
to '1'.

DocImpact
Closes-Bug: #1304345

Change-Id: I868fa67335506a5e048d37411f5d5795b560a338
2014-10-31 12:50:36 -07:00
Dmitry Tyzhnenko 6cc70091ed Changes to improve work under windows
Added check for procps in prepare-environment
Available memory check moved to separate action
Added requirements section in README
Fixed top and free check in Cygwin

Change-Id: I2e700602fe7bb81464975521023f4693462b4379
Closes-Bug: #1373655
2014-10-09 17:08:51 +03:00
Dmitry Tyzhnenko b3f18704b3 Apply different configurations by separate launchers
Add 3 lauchers for 4, 8 and 16 GB RAM on host PC.

For Linux(Cygwin) and Darwin used different way of fetch total memory.

Change-Id: I70487bda3e7492f72b5d5051de2e697bcae03377
Closes-Bug: #1358345
2014-09-01 18:18:41 +03:00
tdubyk 9a3d59092b added authorization and vcenter ui test
Added method for authorization and vCenter ui test
which  verifies that vCenter is created successfully

blueprint: https://blueprints.launchpad.net/fuel/+spec/fuel-ui-tests
Change-Id: I39c3b9d06aaac0120b0d56772b132aca70c9aeba
2014-08-21 15:14:49 +03:00
Jenkins befd79f4e5 Merge "Add ability to specify count of CPU for each slave node" 2014-05-28 07:03:24 +00:00
Mike Scherbakov 3046c9e6d4 Increased RAM size for master node VM to 1.5Gb
With introduction of Docker, master node requirements
are increased and 1Gb of RAM doesn't seem to be enough:
Linux starts to use swap. To avoid this and speed up
master node boostrapping, increasing default RAM size.

Change-Id: Ib6ed191b49729f480388b0414c8407571242ce84
Related-Bug: 1319678
2014-05-16 16:33:52 +04:00
Denis Egorenko a08aa69359 Add ability to specify count of CPU for each slave node
For each slave node you can specify count of CPU,
but if you don't, then will be used default parameter

Change-Id: I8a580a1985e1bcb7b5e8f1806cd938afe4e0307e
2014-05-12 18:38:39 +00:00
Miroslav Anashkin 212cdfc51e Support for Windows in Virtualbox scripts
Small code simplification to config.sh per request from Dima Borodaenko

Change-Id: Ia897f2742ef70724e778c65468b2109bc56c52c6
Closes-Bug: #1252314
2014-01-09 22:15:12 +04:00
Dmitry Pyzhov aae664ccf9 Extend controller RAM to 2Gb in virtualbox scripts
Change-Id: Ide064ed27c6861aa5b0398337960be0c3ad0a476
2013-12-27 00:18:21 +04:00
Miroslav Anashkin ced7cd5dd5 Support for Windows in Virtualbox scripts
Added support for Cygwin.
Increased default disk and memory sizes for compatibility with Heat.
Added checks for non-installed Cygwin components.
Default NIC type changed to faster AMD PCnet FAST III.
Added check on network settings application.
Added trick to increase network configuration stability under Windows.
Changed hard-coded interface addition part to automatic loop.
Removed extra whitespaces.
Changed Fuel Web to Mirantis OpenStack
Rebased to latest commit.

Closes-Bug: #1252314
Change-Id: I466ebec87506eade5164de7d27d73f10dbbea0d9
2013-12-24 00:25:46 +04:00
Jenkins a909d747d4 Merge "Replace Fuel Web with Mirantis OpenStack in scripts and README" 2013-12-20 14:36:43 +00:00
Aleksey Kasatkin 673978cacb VirtualBox vboxnet1 and vboxnet2 got exchanged
Public network must be on eth1 now.
So public addresses must be at vboxnet1.

Change-Id: Ia7f359371db14b1bf7fc01fd274eac0cdbf0e999
Closes-Bug: #1261718
2013-12-18 10:05:25 +02:00
Nikolay Korshenin 6fc2b33ffa Replace Fuel Web with Mirantis OpenStack in scripts and README
Change-Id: I159ad96be9e55858e7a7e33a0b677153414edb6b
Closes-Bug: #1258659
2013-12-17 19:02:26 +04:00
Mike Scherbakov 39432f90bb [vbox] Increasing memory/disk size in vbox scripts.
Closes-Bug: #1253097
Closes-Bug: #1260244

When controller is deployed with Ceph,
768Mb of RAM is not enough. So we have
to increase the default amount of memory
required to run demo environment.
Also, as we now give more space on
controllers for root partition, increased
default disk size as well.

Change-Id: I791f26c94c54ce6be48116fc2eaa9e6464da5738
2013-12-12 17:31:05 +04:00
Ryan Moe 10f2da4cf1 Increase size of first disk for slave nodes in VirtualBox
When the Ceph role is selected 16GB isn't enough to satisfy
the minimum space requirements for all volume groups.

Change-Id: I24d51c64b183455dceffbf8cb8813395aaf46142
Related-Bug: #1248662
2013-11-13 19:34:26 +04:00
Mike Scherbakov fd7ac9974e [vbox] Updated disks variables explanation
Change-Id: I9e0e57238c5a2484eb855b31ea53ed89d004fab8
2013-10-30 04:11:12 +04:00
Dmitry Pyzhov c10dc5b6f3 25Gb for master node in virtualbox scripts
Change-Id: Ib0149af6322a356a016b95eeecc025cac9a047fb
2013-09-30 17:00:29 +04:00
Dmitry Borodaenko c644ef2804 Select most recent ISO in VirtualBox scripts
Instead of sorting ISO images under virtualbox/iso/ alphabetically,
select the one with the most recent modification timestamp.
2013-08-08 14:34:00 -07:00
Roman Alekseenkov 056c8a2c13 license headers for virtualbox scripts 2013-07-27 23:09:47 -07:00
Roman Alekseenkov ebe68cc32c added NAT adapter for the master node. added code (dhclient & setting default gateway) for the master node, added checks for internet connectivity 2013-07-27 18:32:24 -07:00
Roman Alekseenkov 97c3971710 reduced disk sizes in VirtualBox scripts down to 16, 32, and 64GB. previously the largest dist was 2TB, and it was taking 5+ minutes to format it to ext4. this is unacceptable for the end users of VirtualBox scripts 2013-07-26 18:33:54 -07:00
Dmitry Pyzhov 0746ced872 Fuelweb => Fuel, first iteration 2013-07-24 18:27:16 +04:00
Nikolay Markov 8738c4c99c super duper test for get_default_nic_networkgroups 2013-07-22 13:27:50 +00:00
Mike Scherbakov d46c1fc32b [vbox] Added notice to config.sh 2013-06-03 17:10:10 +04:00
Mike Scherbakov 5de8b4b952 [vbox] Renamed variable names for slaves disk sizes 2013-05-29 06:27:49 +00:00
Mike Scherbakov 763460e317 [vbox] Some minor fixes after review 2013-05-29 06:27:49 +00:00
Mike Scherbakov 1e6e3ab947 [vbox] Enabled additional disks for VMs 2013-05-29 06:27:49 +00:00
Mike Scherbakov 385a37e165 [vbox] 3 NICs and 3 VMs for VirtualBox demo env 2013-05-29 06:27:49 +00:00
Mirantis 7af48f6d80 added initial version of scripts for running Fuel Web under VirtualBox 2013-02-08 21:14:36 +00:00