Age | Commit message (Collapse) | Author | Files | Lines |
|
Project: fuel e49332ee58cb465c7aa95f967361c20c509b7619
Change source of ODL Boron tarball
For SFC scenario we need to use ODL Boron. Since it is not yet released
there is no persistent location for a tarball. Use opnfv artifacts to
store Boron build which include required changes.
Change-Id: I43e35dbdf5ca0160d48a1adc817db071fd5db85d
Signed-off-by: Michal Skalski <mskalski@mirantis.com>
(cherry picked from commit 9d871421fbc631f875f7a8bdca590b42eb1bd3bf)
|
|
Project: fuel 491c567c31839c0ea06b0b9e57d7bc553f92a494
[OVS-DPDK] Allocate dpdk socket memory
Change-Id: Ic84094e9842295df936d9f87d0777009e0020013
Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
|
|
Project: fuel 72a123c3f938fd033601b2d113dcd9f524056b8e
transplant: Generate extra interfaces config file
Original work by Josep, only signed by Alex for upstreaming.
The DEA override may contain a IFCGF_<interface> section in its 'fuel:'
section, containing the necessary keys to produce a ifcfg-<interface>
file, like in this example:
fuel:
IFCFG_ETH1:
device: eth1
ipaddress: 10.0.1.10
netmask: 255.255.255.0
gateway: 10.0.1.254
FIXME: In order for Network Manager to use the newly added interfaces
for outgoing traffic and honor their GATEWAY setting (e.g. if we just
added one public interface), the default route on admin iface (most of
the time called eth0) should be disabled. For now, we assume the admin
interface is always "eth0".
Change-Id: I96e3ac5046dd59ed10c43099dd76a6418806a1f3
Signed-off-by: Josep Puigdemont <josep.puigdemont@enea.com>
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
(cherry picked from commit 56d816920bfefe7d41d9c35cb8fb52e36295ee07)
|
|
Project: fuel d6f49d16237333c1793d4296c43ad83892534db2
deploy/reap.py: Dump extra interfaces information.
Since on AArch64, Ubuntu local mirror lacks arm64 packages (see [1]),
Fuel master requires internet connectivity during deploy, and hence
a way to setup such a public (extra) interface automatically.
Previous commit "transplant: Generate extra interfaces config file"
introduced support for passing this information via DEA (override),
which may define a IFCGF_<interface> section in its 'fuel:'
section, containing the necessary keys to produce a ifcfg-<interface>
file, like in this example:
fuel:
IFCFG_ETH1:
device: eth1
ipaddress: 10.0.1.10
netmask: 255.255.255.0
gateway: 10.0.1.254
In order for Network Manager to use the newly added interfaces
for outgoing traffic and honor their GATEWAY setting (e.g. if we just
added one public interface), the default route on admin iface (most of
the time called eth0) is disabled when extra interfaces are present.
FIXME: Only supports lowercase interface names, but so does Fuel,
see related bug report [2].
[1] https://jira.opnfv.org/browse/ARMBAND-35
[2] https://jira.opnfv.org/browse/FUEL-136
Change-Id: I14b023b2b9b4c7d9b9f390d4f86f693c176efde0
Signed-off-by: Josep Puigdemont <josep.puigdemont@enea.com>
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
(cherry picked from commit 888c45b1ab7f70f226e3dc2c81725f1c6397afff)
|
|
Project: fuel 00c404ef7066e31adfc409a15d9e0e118e0b491a
build: cache: Consider UBUNTU_ARCH in .cacheid
Usually UBUNTU_ARCH is not changed inside the same repository,
but we should consider this case anyway for future merging
Armband and Fuel@OPNFV repositories/build systems.
This applies to all Fuel plugins and the local repo.
Change-Id: I1fb86af4e4dc665e3b443ed8c6cfcb43f365ae6a
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
(cherry picked from commit 1fb86af4e4dc665e3b443ed8c6cfcb43f365ae6a)
|
|
Project: fuel e2cfdabd45281bf26a45803509f1c3555f3d93d0
repo mirror: Allow multi-arch local mirrors
Original patch from Stan, signed by me for upstreaming.
This patch allows specifying multiple architectures via UBUNTU_ARCH in
form of a list of space separated architectures. The first architecture
in the list is considered primary and will be used for building all the
deb packages by fuel-main. Additional architectures are added to allow
targets of other architectures to use the mirror.
NOTE: this imposes a requirement that all packages built are arch
independent (which is true so far).
[ Alexandru Avadanii ]
Reworked for applying on top of Fuel@OPNFV.
Pass UBUNTU_ARCH to Docker containers.
Change-Id: Ibc4ae03223545383813ac58ec34d44c1f97b4694
Signed-off-by: Stanislaw Kardach <stanislaw.kardach@cavium.com>
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
(cherry picked from commit 655e777a5adeb633e114d98ffb02f74b227ab437)
|
|
Project: fuel a18091f9f2a5b1ba34f38f7119eaf7f4cdfaff02
docs: build req: Remove p7zip-full
p7zip-full is not required for building, as stated in the current
version of the docs. I think this bogus requirement was introduced
by Armband (by me, more precisely) because our build process was
happening outside docker.
Sorry for the useless code churn.
Change-Id: Id0a3c5b9016706535ca159e1da261e83c8d36d31
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
(cherry picked from commit de6d5d4b6ba6848304d620e65ad97f3aeeadccd5)
|
|
Project: fuel 62f4e0866d916a12066800cdaabe516d2f8388d9
Final Updates of the build instructions
- Updated references
Change-Id: I2a6cfdec0de6afa41ea8af59f415439b7ab7056d
Signed-off-by: Jonas Bjurel <jonas.bjurel@ericsson.com>
(cherry picked from commit 9f00e08b54ac2be36e6315adc3bd29f7e3bd40d8)
|
|
Project: fuel 6f7290b7b1147b215a1891980ae20021bde49cd7
Final updates of the Installation instructions:
- Images updated
- Updated reference URIs
Change-Id: Ieeefbd8a3ef9bbd6c3a0e767f770097ab8a98f9d
Signed-off-by: Jonas Bjurel <jonas.bjurel@ericsson.com>
(cherry picked from commit 087c8de9c667b28506b7621d5147be4846c06397)
|
|
Project: fuel dff4ff6fa7306a2556b87a2685b1b7dce1fa7e10
deploy.sh: accept a timeout flag (-T)
Original work by Josep, signed by me (Alex) for upstreaming only.
Change-Id: I58a7b9bc639bb03b994ea34fc317f5679140d9fd
Signed-off-by: Josep Puigdemont <josep.puigdemont@enea.com>
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
(cherry picked from commit bb2a6188ff55e61390841694cac786d4e758d67b)
|
|
Project: fuel 9360af2ce5d4ccef3c58dc301384db5310a04300
[ODL] Fix odl deployment on separate node
JIRA: FUEL-185
Change-Id: Id14d30154b63abc915a0cd55835bb72cee862dde
Signed-off-by: Michal Skalski <mskalski@mirantis.com>
(cherry picked from commit ba1cb485398d811d2f473406ae085993bfd9f68a)
|
|
Project: fuel 63a7354191a77550f45a81ede6d6cc590ce75b3a
build: cache: Allow LOCAL_CACHE_ARCH_NAME override
Change-Id: Id6251356aac4fdb8fbcb2893d5072ea16500bd93
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
(cherry picked from commit d6251356aac4fdb8fbcb2893d5072ea16500bd93)
|
|
Project: fuel 1fc220613a677ea5c4f003bc5596a203a8d02391
build: Allow MIRROR_MOS_UBUNTU override
Change-Id: Idc647f941fc3923f5ed1f2888318b218c23f4362
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
(cherry picked from commit dc647f941fc3923f5ed1f2888318b218c23f4362)
|
|
Project: fuel a5796fbbca6e446aa9b40b15990542c2f2e9116f
build: Allow PLUGINS override
Instead of using BUILD_FUEL_PLUGINS, which was intended for manual
overrides of the Fule@OPNFV plugin list, allow PLUGINS to be
preset to a custom list, which we will provide via Armband
Makefile spec.
Change-Id: Ic4204aefeaf0d781998e54ab83831fcde7527b89
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
(cherry picked from commit c4204aefeaf0d781998e54ab83831fcde7527b89)
|
|
Project: fuel afd2b0ce63fdf67e99d8404d54d3138ffe608217
deploy: Delete old Fuel env if present
In order to clean up old partitioning and boot entries on target
nodes, before removing the Fuel Master, try ssh-ing into it and
removing all environments/nodes.
This is especially important for EFI systems, where old boot
entries are left behind without a proper env delete, leading to
target nodes failing to PXE boot on Fuel Master re-install.
This change assumes that:
- all Fuel Master information is unchanged between old and new
deploy (fuel IP, password etc.);
- Fuel Master is up and running, in a sane state (target nodes
are also online), when deploy starts;
Closes: ARMBAND-51
Change-Id: I7b61124ea9182ce2d599adcdedef03e0d8d67ed6
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
(cherry picked from commit f1e808677a29a157e009f33a1a5a024eaad2c021)
|
|
Project: fuel 6192d48956803419f1e77e05fbd3cc31ba888f12
Fix ovs scenario configuration
Due the incorrect indentation install_dpdk option was not set to true.
JIRA: OVSNFV-37
Change-Id: Ida3b0d1e72ce8322905ff399af89b43cac878299
Signed-off-by: Michal Skalski <mskalski@mirantis.com>
(cherry picked from commit ae8196be2c5863a5ca837828eead7188d608023d)
|
|
Colorado additions:
- switch Fuel@OPNFV to stable/colorado branch;
- switch vswitchperf to stable/colorado branch;
Change-Id: Id89153e39e9c163df77e275ed4526961d6800d3c
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
(cherry picked from commit 299676645b26ac5a2e1c5deef2ec3814b718dc1c)
|
|
Project: fuel c71b57140fdbadfb4c1f39bf0e2df99403820ddb
Claenup
Remove the workaround marked by "# fix me" mentioned in commit id:
e8928f93b50df3ecb11942ab754bae848c082c6a, since the issue (some files
generated during kvmfornfv building are owned by "root") already
resolved in fuel-plugin-kvm build process.
Change-Id: I5efb60173b9974f6fba25f04da1f4b1f53207b1a
Signed-off-by: davidjchou <david.j.chou@intel.com>
|
|
Project: fuel 8580caa96234cdda3f7c4cf4a5965a0fd411fce0
[KVM]Add support for Broadcom NetXtremeII 10Gb
This NIC is used on Ericsson CI POD2
JIRA: KVMFORNFV-45
JIRA: FUEL-171
Change-Id: I44576b399b6195ccc1e64dfc0b04e239ced8acc7
Signed-off-by: Michal Skalski <mskalski@mirantis.com>
|
|
Project: fuel e7f7abc89161441548545f79f0299610c6e5b203
Tune up virtual envs
* increase the memory/cpu of controller for noha case
* reduce the memory of computes
Change-Id: Iea9351bb846823fae64a662e92f894eca2f6cecb
Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
|
|
Project: fuel db1f756252f60e038fabb2290848651996569bd8
[ODL-plugin-update] Adding more memory to java vm
When running functes ODL crashes in the middel
and is not starting again. Investigtion
showed that it is due to insufficient memory
of the java vm.
Change-Id: I18cda9ed5bed91e72fd91aaf0efa02c5e1a3c8d1
Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
|
|
Project: fuel 34a852a394b4c8a7d1c9c2ed94b66027797b0905
update release-notes for colorado
1. take care of Alexandru's comments
2. update liberty to mitaka
3. update ODL Beryllium SR1 to SR3
Change-Id: I7ae590333e781730e462c797270282e8e51fff01
Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>
|
|
Project: fuel fd8597be90990e0f6b952e96922da1508225dbef
Update kvm plugin
Move kernel installation to main phase of deployment which may reduce
problems with mcollective agent after node reboot.
JIRA: KVMFORNFV-45
JIRA: FUEL-171
Change-Id: I48308471f9336b73cde238ff055433f030395e19
Signed-off-by: Michal Skalski <mskalski@mirantis.com>
|
|
Project: fuel 983a8377c55ad63133bf5be68a5b52928c592b11
REVISED DOCUMENT STRUCTURE
Documentation structure changed according to docs team directions:
- Configuration guide removed (only aplicable for features/scenarios)
- Installation instructions moved to a separate directory
- Build instructions moved to a separate directory
- Release notes moved to a separate directory
NOTE: Content not updated to the Colorado baseline
Change-Id: I47f3bee0cf91bab6ed5c4a7f371b10347a917857
Signed-off-by: Jonas Bjurel <jonas.bjurel@ericsson.com>
|
|
Project: fuel 83b2d2a076c0c75886dc819cee87230bd0ec98dc
Rebase yardstick
1. discuss stable commit ID with yardstick PTL
2. do basic test for yardstick fuel plugin
Change-Id: I9ca3a71e178e5e90497629f43110121e4265602f
Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>
|
|
Project: fuel 9689aa852d2184e1d99e67a3b34a099e89b17306
Fix DPDK port create failure issue
Change-Id: Id514d995e1e985652e118caadb505237fc0b740a
Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>
|
|
Project: fuel c4617105467bb5b440119b6d22cdcf4d09fd96f2
Add config information as well to default lab
It is possible that some one changes the
config of the vms from a virtual environment.
This is already shown in the elx lab.
To make everyone aware of this we push it
to the default lab as well.
Change-Id: I4e9012b3237838b98321472bb16037aa0aeacfdc
Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
|
|
Project: fuel 8b602ad490b427e5b97dd709e4d7905b500579e3
deploy: Allow DEA to override bootstrap config
This commit does not change the current behavior in OPNFV, the
preconfigured fuel_bootstrap_cli.yaml from OPNFV ISO is still
used to replace the default settings / fuel-menu bootstrap cfg.
The only addition is the possibility to override the preconfigured
fuel_bootstrap_cli.yaml info using DEA.
JIRA: FUEL-155
Change-Id: I4e66b789fdf0a5b1af512a3efc84fedb72ce3b05
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
|
|
Project: fuel 3ec3fb2d1d316b656a13f9c1ca00cc8a7fcd51de
deploy-config: honor interfaces and transformations
Currently all scenarios assume interfaces and transformations are the
same for all nodes in the POD, however some PODs may contain nodes that
have different hardware, or where the interfaces are configured
differently.
In this patch we honor the original interfaces and transformations if
they are present in the dea-override.yaml file. The way to add this
information in the dea-override is by having a "nodes:" section with
this information, ie:
nodes:
- id: 1
interfaces: interfaces_1
transformations: transformations_1
- id: 2
interfaces: interfaces_2
transformations: transformations_2
- id: 3
interfaces: interfaces_1
transformations: transformations_1
The node IDs is used to find out this information.
Change-Id: If6ff8ca28b42e043d1bdf91142a4a56ae36e4304
Signed-off-by: Josep Puigdemont <josep.puigdemont@enea.com>
|
|
Project: fuel 9dc7082c230f7f22b37ae9bb04493387c466fa7b
Use virtio driver for fuel-master NIC
Using e1000 driver on fuel master may lead to temporarily loss of
communication [1]. We can use two approaches here:
* use virtio driver
* install e1000-kmod package
virtio driver should be sufficient for our purposes, we don't use
bonding on fuel master.
e1000-kmod package is available on fuel master and provide e1000 kernel
module which does not introduce additional problems. This package is not
installed by default but for this purpose MASTER_NODE_EXTRA_PACKAGES
cmdline option can be set during fuel master installation.
[1]
http://docs.openstack.org/developer/fuel-docs/userdocs/release-notes/fuel_known_issues.html
Change-Id: I3fc1fed5f0b9c780cd9174205a3c31dae92a180e
Signed-off-by: Michal Skalski <mskalski@mirantis.com>
|
|
Project: fuel cd9e0219f33a9d35fd9826d47de62dc5a03021a5
Change log file permissions
Don't make it executable; don't make it world-writable.
Change-Id: I5d117b39e70fff2c1cb5e62d017efe0387b9b5f4
Signed-off-by: Peter Barabas <peter.barabas@ericsson.com>
|
|
Project: fuel 69d872c86b966ce546b7093426bb7032e9a22ab1
Prepared for Fuel release documentation
Helping project with the new structure, added a fuel/docs/installationprocedure
and relevant templates. If you dont need this feel free to abandon this patch.
Change-Id: Ia704aa0b2e66c62241ef0a5eb769ea8f538caa1f
Signed-off-by: Sofia Wallin <sofia.wallin@ericsson.com>
|
|
Project: fuel 0d53f22492e043b66734af4e47dcd07ee15a2d13
Filter out non-cluster nodes
In order to avoid fetching up non-cluster nodes
filter them out by option of id.
JIRA: FUEL-183
Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
Change-Id: If0d0a1480d648167f1bcf726f0d6d345d2e00711
|
|
Project: fuel 1268d78a2564bcadb02226103aec3d4f01eb1fb0
Allign odl-sfc scenarios with new plugin version
ODL Boron use different set of sfc features.
JIRA: FUEL-169
Change-Id: I38c1e518ffbf625a68f879779c01e4abfdb1d672
Signed-off-by: Michal Skalski <mskalski@mirantis.com>
|
|
Project: fuel 3d768dda2bb803adb1536a0247adc1729478879a
docs: Add code-block markup
Add bash code-block markup for:
- instalation instruction guides
- build instruction guides
Change-Id: If7a0f4cfc17e8cabe5d5ff59a7b2fe80ca0bb66b
Signed-off-by: Cristina Pauna <cristina.pauna@enea.com>
Signed-off-by: cristinapauna <cristina.pauna@enea.com>
|
|
Project: fuel 00065ff5dce8ae26927693486ebb0a12280c9ad5
Update instructions with references to C-release
Change-Id: I7682e7cffcafdec3c42ca5a090662df9ccc431e2
Signed-off-by: Michal Skalski <mskalski@mirantis.com>
|
|
Project: fuel 31d774fbfbf9e06e1c8d3bbf27df95294a12c89c
Update installation guide for Colorado
Change-Id: Ie0fb45a570c59588429b167c4d83109ebf670ba7
Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
|
|
Project: fuel 242641444b6f64ef7e1ca6399a77d080f74987d7
KVM scenario updates
1. Install CEPH_OSD on 2 compute nodes
2. Delete default 'net_segment_type: tun' definition, for it
is already defined in dea_base.yaml, and it can be updated
by lab dea files
3. Update osd_pool_size from 1 to 2
4. Michal indicates that
https://review.openstack.org/#/c/342717/ set the limitation
: Restrict usage of controller and osd role on single host
Change-Id: I4907482391588fc21ecf60603b1c599413cbc531
Signed-off-by: Julien-zte <zhang.jun3g@zte.com.cn>
|
|
Project: fuel 935d133447feadd07dfb7905fbe47c949f79e53c
Rebase vsperf
1. discuss with vsperf PTL to rebase vspef with stable commit ID
Change-Id: Ia87d4d5394b5eb476165b06d015414c1675fccac
Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>
|
|
Project: fuel 91c1fe20f85a09d40e095ae7feaae872eb25b0fa
Fix merge_dicts logic for the case of two nonempty lists
JIRA: FUEL-170
Change-Id: I5abae6fc950cdabe064b5402d9555cedf81cfc23
Signed-off-by: Fedor Zhadaev <fzhadaev@mirantis.com>
|
|
Project: fuel f96b162d0b7ab0839a5961a23f5f57cf320168e4
Pass host cpu flags to compute guests
Both kvm and ovs plugins require specific cpu flags.
Host-model mode will pass most of the host cpu flags to guest.
If a hypervisor is not able to use the exact CPU model, libvirt
automatically falls back to a closest model.
JIRA: FUEL-157
Change-Id: I77ce625e118b6de51cbcdb58e4be5a6dcaecf384
Signed-off-by: Michal Skalski <mskalski@mirantis.com>
|
|
Project: fuel 41cdc56137ccd52f3403528dfeb7e2210457ca11
Rebase OVS with DPDK
1. Rebase OVS to commit 9f4ecd654dbcb88b15a424445184591fc887537e
2. Rebase DPDK to 16.07
3. Fix 2 vms in 2 hosts ping each other issue
4. update demo script
Change-Id: I85b56ab6e3a735bbf26df8d4df22f2d76b9fb1d3
Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>
|
|
Project: fuel ad783f86906639eca1b586831c39ed5f7a5c52cf
Revert "Pass host cpu flags to compute guests"
This reverts commit 34da00c2baa6abc69a812aae4c30a82ebae561bd.
Change-Id: I495fa1f71ac30e259ca63e90ca8b38dd2300d469
Signed-off-by: Michal Skalski <mskalski@mirantis.com>
|
|
Project: fuel 748b18088106826dd9cc9a26d26e1aa359ff67b6
Provide access to mgmt network from host level
Functest framework is trying to access internal endpoints from host
level which currently is not possible in virtual deployments. Move mgmt
network to untagged interface and setup IP address from mgmt subnet on
the linux bridge where mgmt traffic is traversing.
There will be corresponding changes in securedlab repository.
JIRA: FUEL-167
Change-Id: I29b8ebb23a64e39a4e56b27639a87ce2386b9774
Signed-off-by: Michal Skalski <mskalski@mirantis.com>
|
|
Project: fuel 737faf25aa743d54ae7f458f54d880d80aefcc6d
Pass host cpu flags to compute guests
Both kvm and ovs plugins require specific cpu flags.
Host-model mode will pass most of the host cpu flags to guest.
JIRA: FUEL-157
Change-Id: Iff620a4b4f5948e54f6f8db01411d6659f08ec00
Signed-off-by: Michal Skalski <mskalski@mirantis.com>
|
|
Project: fuel 7fb3c189aa9205996e236c085e96691483278dd0
tacker-server patch updated
The deb package control is changed in Mitaka, so the patch should
be updated as well.
Change-Id: Ifde84e19da72217a5cca73e0da366e21625cd21b
Signed-off-by: ferenc Cserepkei <ferenc.cserepkei@ericsson.com>
|
|
Project: fuel d19c4589554b2d82b6fcb1fe921ffeffd9377a2f
Rebase to collectd-ceilometer-plugin stable/mitaka
1. fix pbr:version_string in collectd-ceilometer-plugin
2. disable collectd build to use stock collectd
3. update README in fuel plugin
Change-Id: I773910c03d109af1fc1f86a5709105e9ffbfc350
Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>
|
|
Project: fuel f8fe6cb863118896bfc157f56ca7185d866db6c0
Use ODL Be SR3
JIRA: FUEL-165
Change-Id: I483f23c2f74313020d6a3dbb88079558d6674010
Signed-off-by: Michal Skalski <mskalski@mirantis.com>
|
|
Project: fuel 1772adc5124b3ebdb7593d6f7758e2879edb8c97
POC script updates for Colorado
Change-Id: I2afb7826a5dcc22f5d810312e1ff027a0b5fcbfa
Signed-off-by: ferenc Cserepkei <ferenc.cserepkei@ericsson.com>
|
|
Project: fuel 86d6be410288ff3865f929fdc64435c7cc572c8e
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.
Also, note that in Fuel9, <updates> and <security> repos are disabled
by default.
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
Backported from upstream change [1], which should fix bug [2].
This change will get merged upstream in Fuel 10.
[1] https://review.openstack.org/#/c/335094/
[2] https://bugs.launchpad.net/fuel/+bug/1596981
Change-Id: Ibec397af2e1d925a011907f14e1d655741e280fb
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
|