summaryrefslogtreecommitdiffstats
path: root/mcp/reclass
AgeCommit message (Collapse)AuthorFilesLines
2018-06-27[ha] Add fabric to maas admin subnetMichael Polenchuk1-5/+8
Change-Id: Ida4cf736dfe60886384e7e180d3e43faf811bd58 Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com> (cherry picked from commit 75cbbc689bd9428384f4828f970981da52e92a04)
2018-06-07[patch] Rebase APT keyserver proxy support patchAlexandru Avadanii2-2/+4
Sync our patch with upstream PR [1]. [1] https://github.com/salt-formulas/salt-formula-linux/pull/138 Change-Id: If3a51d3aef51accee0901c59e1342b42dbe4be4b Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com> (cherry picked from commit 78d368731c9582361cc291d5618e01702982f2b9)
2018-06-06Pin OVN packagesMichael Polenchuk2-2/+2
Make a pinning of OVN packages as well to meet an openvswitch dependency. Change-Id: I96ac7e052c710b65fc1f74bc4f406bba435d433f Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
2018-06-04Merge "Pin openvswitch packages from UCA" into stable/fraserAlexandru Avadanii2-0/+8
2018-06-01Pin openvswitch packages from UCAMichael Polenchuk2-0/+8
Make a pinning of openvswitch packages to get 2.8.1 version. Change-Id: I2bb78050cebd671ef1dddbac02705e0782fc34c8 Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
2018-05-31[noha] Disable proxy certificate generationAlexandru Avadanii1-1/+0
noha scenarios try to generate the proxy SSL cert using the Salt Master CA authority. However, this requires a `salt-minion` restart between the CA configuration and the cert generation (see [1]). Since we don't use this cert anyway, let's just disable it for cfg01. JIRA: FUEL-377 [1] https://github.com/salt-formulas/salt-formula-salt/issues/67 Change-Id: I8e88200e0d5614f0034c0c77e6ba675dc7ef0c11 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com> (cherry picked from commit 016db55bd5cc07d32926b60d59b1fdd7e2471705)
2018-05-25Merge "maas: boot-resources: Dynamic arch list from PDF" into stable/fraserAlexandru Avadanii1-1/+3
2018-05-25Merge "[maas] Adopt maas.machines.storage" into stable/fraserAlexandru Avadanii1-0/+8
2018-05-24AArch64: Switch back to hwe-16.04 kernelAlexandru Avadanii1-0/+8
Align kernel versions across architectures (where possible). Change-Id: I66a822611eb5e46f90b62f5d36df571ae75dcba3 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com> (cherry picked from commit 931141e84500695b4a278cc04888b603749a8303)
2018-05-24[maas] Adopt maas.machines.storageting wu1-0/+8
Replace MAAS CLI set_disk_layout with the new maas.machines.storage state JIRA: FUEL-364 Change-Id: I4d8cd9f473c5386ee7b32ad378ca1e02989233ca Signed-off-by: ting wu <ting.wu@enea.com> (cherry picked from commit 96019123adad087bc0d744a6785ceebb7b21476d)
2018-05-24maas: boot-resources: Dynamic arch list from PDFAlexandru Avadanii1-1/+3
Instead of leaving MaaS default to 'amd64', explicitly set the list of architectures to support based on PDF data. Change-Id: I852a3ce156db3df0c090f10c0b45c26058dbb6c6 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com> (cherry picked from commit be45e3157fe19b8905e3a30f7f839a728a6c6df7)
2018-05-22Merge "[xdf] Fix parsing of non-range private vlan(s)" into stable/fraserAlexandru Avadanii4-3/+5
2018-05-22[maas] AArch64: Preseed Armband repositoriesAlexandru Avadanii2-14/+52
Preseed Armband common repo-comp for Pike, so we get the updated kernel & other packages from the start. Requires upstream PR [1]. While at it, also handle related PR merged upstream [2] by explicitly setting maas.region.subnets name via j2 instead of reclass param expansion in name (allows us to drop the remaining chunk of the fabric-from-CIDR patch we used to carry). Note: opnfv_infra_maas_pxe_network_addres can now be dropped from pod_config j2 template in Pharos Fuel installer adapter. [1] https://github.com/salt-formulas/salt-formula-maas/pull/26 [2] https://github.com/salt-formulas/salt-formula-maas/pull/22 Change-Id: I356adb73b80f0f2d85db4ab060e804cb9a053862 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com> (cherry picked from commit 52af46f2cac395e893007029d24d5365e27a4328)
2018-05-22[xdf] Fix parsing of non-range private vlan(s)Alexandru Avadanii4-3/+5
Private (tenant) vlan range support introduced a regression in parsing PDF/IDF with a single vlan (no range) due to the value being interpreted as an int instead of string. Change-Id: Id5d67c4c516a9bb807ffa5e111ead5cbcee7e2ca Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com> (cherry picked from commit 0bc600fd4d269a17ebcf28700b46e199d66c25db)
2018-05-22Define mongodb admin credentialsMichael Polenchuk2-0/+6
They aren't used by mongodb formula anymore but still required by salt minion state. Change-Id: I3168e7934df38c34c5d6889f4332dc1be0415bd7 Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
2018-05-04[odl] Remove unused connecter/port from proxyMichael Polenchuk2-23/+0
Change-Id: I7a880c0a011d6f5f4a7e2d8c8309871b1c290235 Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com> (cherry picked from commit d97b19bdde59600f588b1e6aca52a6d1962f8778)
2018-04-28Mend OVN scenarioMichael Polenchuk1-0/+3
* setup HWE kernel to get suitable conntrack module * clean out outdated state with ovn ctl options * point SB remote source to local mgmt network Change-Id: I8986c227ce0a9a3b7ab3faf382760ec32e6e7c00 Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com> (cherry picked from commit 26ca4c20b57564117087e2c649e10d71477a134f)
2018-04-25Update qemu/libvirt on compute nodesMichael Polenchuk2-0/+2
Get qemu package with fix of TSC frequency mismatch between instance and host which breaks up nova pause/unpause operation. JIRA: FUEL-368 Change-Id: I2c954b2b0a8cddca30c861f565b63b642e0b0e9f Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com> (cherry picked from commit 0a86dbb986bc0c22fae07dc489c21ce185a5540b)
2018-04-23Merge "Disable cpu pinning & L3 HA features" into stable/fraserAlexandru Avadanii5-9/+5
2018-04-23Merge "[ha] Fix tenant NIC OS config for VLAN ranges" into stable/fraserAlexandru Avadanii3-6/+9
2018-04-23Merge "[reclass] Parameterize tenant VLAN ranges" into stable/fraserAlexandru Avadanii2-2/+2
2018-04-23Add ports to ovs bridge configMichael Polenchuk1-0/+2
To avoid race with interfaces initialization specify all the ports that belong to a bridge in the config file. Change-Id: Ie4f48e7a81d4659a0f43749cdd518dbeffe2e35f Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com> (cherry picked from commit 9c9a1adc6f2501507a68b1926ea93efcb40782d1)
2018-04-23Disable cpu pinning & L3 HA featuresMichael Polenchuk5-9/+5
* CPU pinning: tests have no support for dedicated CPU policy, so enabled pinning causes general performance impact [https://docs.openstack.org/nova/pike/admin/cpu-topologies.html] * L3 HA routers: - doesn't catch l3-agent failure, relies only on HA network state to spot failure - failover process only retains the state of network connections for instances with a floating IP address - incompatible with DVR mode JIRA: FUEL-360 Change-Id: Ie0182bf953b9989729f89d705d9fee902d229e51 Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com> (cherry picked from commit ed7bb355c93af5c163d5ae7926012652021abf75)
2018-04-23[ha] Fix tenant NIC OS config for VLAN rangesAlexandru Avadanii3-6/+9
Previous commits added support for tenant VLAN range parametrization, yet failed to accomodate the new VLAN range representation ('M:N') in existing `linux.network.interfaces` reclass configuration. This lead to the silent removal of <nic_private>.<vlan_private> from interfaces file and for `br-mesh` to try to use <nic_private> instead of <nic_private>.<vlan_private>, conflicting with `br-floating`. Stick to using the first VLAN in the tenant range. JIRA: FUEL-365 Change-Id: I88f7263159f1742dba3b6e36649c9344f2932c5f Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com> (cherry picked from commit cfc5988be48d1317244e71fd7919480db18745d4)
2018-04-23[reclass] Parameterize tenant VLAN rangesAlexandru Avadanii2-2/+2
Instead of hardcoding the VLAN ranges in reclass, read them from IDF. This is required when VLAN segmentation is used instead of VXLAN, as lab switches should be configured appropiately (e.g. Armband PODs use VLANs 2000+ instead of 1000-1030). Change-Id: I009ccea9b328c40f055a745791eafe3393b96390 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com> (cherry picked from commit aa199b5e96f91111d96f53040be00736cd9309be)
2018-04-13Clean up opendaylight configurationMichael Polenchuk5-12/+0
* remove client patch (has been merged to upstream) * websocket now is disabled by default * purge deprecated/unneeded features (odl-mdsal-apidocs, odl-dlux-all) Change-Id: Id247a3c74e66730049bfeafc4a5164aad0d9b662 Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com> (cherry picked from commit 0a8568d9f170d6c3b42d2dd35db440b4251f9a5d)
2018-04-12Merge "[UCA] Stop enforcing repository architecture" into stable/fraserMichael Polenchuk2-4/+0
2018-04-06[UCA] Stop enforcing repository architectureAlexandru Avadanii2-4/+0
Let APT automatically choose the UCA/Pike-staging PPA architecture based on current system architecture instead of hardcoding it. Change-Id: I4fe645847ac0fb70a852477feba9f788fcb8da81 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com> (cherry picked from commit 9cac6117a760279b6be83034f5634f5505032cc0)
2018-04-06[virtual] Set vnc address to local oneMichael Polenchuk1-0/+2
System reclass model assigns vnc address to control_address variable which is used for controller node reference, so change it to local address of the current compute node. Change-Id: I0c6b8534a1dae516620d0d250944232379a526e0 Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com> (cherry picked from commit 938cb59719ae412e13be8cb21d8c8b5f51a75826)
2018-03-31Merge "[odl] Configure Odl memory requirements"Alexandru Avadanii2-3/+3
2018-03-31Merge "Add pike staging repository"Alexandru Avadanii2-0/+12
2018-03-30[odl] Configure Odl memory requirementsCharalampos Kominos2-3/+3
Odl scripts present in /opt/opendaylight crash with out-of-memory errors and we cannot use them so we add more memory to the ODL virtual machine and to the JVM. Change-Id: Ia29a324ca34b5d33e947ca6d177ce3567316dcb9 Signed-off-by: Charalampos Kominos <charalampos.kominos@enea.com>
2018-03-29Add pike staging repositoryDelia Popescu2-0/+12
Append PPA repository to the existing UCA Existing UCA repository is still necessary for maas Change-Id: If545b37d30291d3708430c52593b7fbd03bd22e4 Signed-off-by: Delia Popescu <delia.popescu@enea.com>
2018-03-28[odl] Setup manager target after ovs host configMichael Polenchuk1-6/+14
Change-Id: Ia517b7cf1723a5afaf43cb0709716f3a67a29e9f Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
2018-03-23Apply opendaylight state after ovs host configMichael Polenchuk1-0/+3
* employ GA kernel for baremetal computes as well * setup/start opendaylight server after ovs host config Change-Id: Ic772aed544b17be02e6ca9ccd175f2288b2128a8 Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
2018-03-22[ovs/dpdk] Turn on non-blocking ovs callsMichael Polenchuk2-6/+2
Change-Id: I8206707cdb2ebc267b6f4971de35477e3dc73c5f Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
2018-03-20[virtual/odl] Use default gw offered from dhcpMichael Polenchuk1-6/+1
Remove default route to external gateway on compute nodes instead of placing wrapper script as a workaround. Change-Id: I8e1d5d9920a7aa2ed2d1092ebce692176a3bf41a Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
2018-03-16[ovs/dpdk] Set bridge datapath_type to netdevMichael Polenchuk1-0/+2
This prevents neutron ovs agent to re-create existing bridge which might cause unpredictable/faulty state of network interfaces. Change-Id: I289365e1dea7d178b5b72eb506f5c711f6d60199 Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
2018-03-14[virtual/odl] Simplify network scheme on computesMichael Polenchuk1-15/+10
Change-Id: Ifb874aba38b2fa36fde05184bcdd74870257bec1 Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
2018-03-13[odl] Add SDN_CONTROLLER_IP to openrcAlexandru Avadanii2-0/+14
JIRA: FUEL-352 Change-Id: I73aa5d41e93f3ebd5c8e44577868e8d21e0106a9 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2018-03-13[virtual/odl] Turn off websocket for pseudo agentMichael Polenchuk1-0/+4
To prevent error in packet_handler callback: AttributeError: 'PseudoAgentDBBindingWebSocket' object has no attribute 'update_agents_db_row'. Change-Id: I1a6a4b95ce3290ce108bdb91ae8eb5e85a13ef51 Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
2018-03-12Set volume_device_name variableMichael Polenchuk2-0/+4
This evironment variable is required by test suite to refer to an attached volume (vdb is reserved for config drive). JIRA: FUEL-353 Change-Id: I4f7c96b2344575fcd9b785e3c74b27ef4c4d64f8 Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
2018-03-08Fix missing root_helper_daemon for cmp, gtwAlexandru Avadanii3-0/+3
While at it, drop patch now upstream. JIRA: FUEL-348 Fixes: cf6cd9cd Change-Id: Ieb4c93e9dc79a4e4dec140433574e042a1a6f2dc Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2018-03-07[IDF] net_config: Add support for custom ip-rangeAlexandru Avadanii2-0/+2
- submodule: bump Pharos to pick up installer adapter support, as well as IDF updates for Ericsson baremetal pod1; - labs/local/virtual: Bump mgmt, public networks start addresses from .1 to .10, similar to ericsson-pod1; While at it, drop patch now upstream and instead adopt the new param 'neutron:server:root_helper_daemon'. JIRA: FUEL-351 Change-Id: I9bc244a7fd8698861a390ed2b6a27804be46c285 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2018-03-07Merge "[novcp] Add deploy argument `-N` (experimental)"Alexandru Avadanii51-616/+296
2018-03-07Clean up aodh formula symlinkMichael Polenchuk1-0/+0
Change-Id: I1d84b5d4e3eb0de1c3ebf6fc5a538ee6714d53b2 Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
2018-03-07[novcp] Add deploy argument `-N` (experimental)Alexandru Avadanii51-616/+296
Instead of duplicating scenarios for NOVCP, allow it to be specified using a new deploy argument, `-N`. Things are getting convoluted, so instead of creating dedicated '*_pdf.yml.j2' files for each group of similar features, apply the templating in-place and rename all affected files to ".yml.j2". This breaks .gitignore assumption of hiding only "*_pdf.yml" files, so extend (manually) the <mcp/reclass/classes/cluster/.gitignore> with `git ls-files --exclude-standard -o` after an expansion. - ha: move nfv.cpu_pinning to j2, conditioned by 'baremetal'; - ha: add cmp00* vnode definitions (hugepages need more RAM); - labs/local: enable hugepage params for non-dpdk noha; - salt.sh: add route_wrapper to all non-infra VMs; This change extends novcp support to all HA scenarios. Change-Id: I7a80415ac33367ab227ececb4ffb1bc026546d36 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2018-03-06[patch] Fixup ceilometer server publisher defaultAlexandru Avadanii1-0/+0
- backport proposed fixup for ceilometer; - remove 'ignore: all' from .gitmodules to make it easier to bump the submodule; - bump system submodule to upstream latest; - drop patch merged upstream; JIRA: FUEL-350 Change-Id: I68f232e0da5af368a1669a7379eedde5c4168b84 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2018-03-06Merge "[keepalived] Check proccess id of nginx on proxy"Alexandru Avadanii1-0/+5
2018-03-06[keepalived] Check proccess id of nginx on proxyMichael Polenchuk1-0/+5
By default vrrp script seeks out haproxy process id, so change check_pidof script arguments to "nginx" on proxy nodes. Change-Id: I616bf90ba49fa8257d28d236dcf3b7c5598039f1 Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>