aboutsummaryrefslogtreecommitdiffstats
path: root/upstream/fuel
AgeCommit message (Collapse)AuthorFilesLines
2016-07-21Updated armbandMichal Skalski1-0/+0
Project: fuel a64cb984707ca6259c4f4641fbfa6f6ef85fd88d Temporary fix for bgpvpn plugin builds JIRA: FUEL-154 Change-Id: Iad554aef8db9a6d01c408c0014dabf45e4c1a0e6 Signed-off-by: Michal Skalski <mskalski@mirantis.com>
2016-07-21Updated armbanddavidjchou1-0/+0
Project: fuel 67e958e90a412db2054390a049d1e482d6cd8b1f Update the commit ID of kvmfornfv upstream for fuel-plugin-kvm This version of kvmfornfv upstream fixed the issue of failing to launch instances in Horizon after OPNFV environment deployed. Change-Id: I05fa9f977924ee679312c599ee0bccabaf7bf1a9 Signed-off-by: davidjchou <david.j.chou@intel.com>
2016-07-20Updated armbandMichal Skalski1-0/+0
Project: fuel 0d028383c5b5df7b73683bcdbd7062ef893b6c3f Build new cache when list of packages has changed Create a new cache of f_repobuild job when list of packages required by plugins has changed. JIRA: FUEL-150 Change-Id: I079950eaa9e3b32ea7baa3f6d4a37cc37f99f3a7 Signed-off-by: Michal Skalski <mskalski@mirantis.com>
2016-07-18Updated armbandGuo Ruijing1-0/+0
Project: fuel 264623809055c5ade26fc615d1255302f0b7c305 Update fuel yardstick plugin 1. update fuel plugin builder 2. change install directory in yardstick plugin 3. update README Change-Id: I8d717ef568aeaa7958cd1a3161d4ef8ca17a1de1 Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>
2016-07-14Updated armbandGuo Ruijing1-0/+0
Project: fuel dfda6c2155a647bd78467c6cc8926c5d9c3a3234 Add fuel collectd ceilometer plugin Change-Id: I2f95d9166e2d0d7508551de8b87dc6c84800e3c1 Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>
2016-07-13Updated armbandMichal Skalski1-0/+0
Project: fuel 3647eb632066358736b55cd79a799e1a20a8e38e Update NSH patches 1. update patches from commit 307b06d Change-Id: Ibaba101833a934840b4491925ff944f1420fce2e Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>
2016-07-12Updated armbandStefan K. Berg1-0/+0
Project: fuel d4ae056501ed0778a19beb6f207c00439f95cff3 Aligning machine type over Ubuntu and Centos We have previously used "pc-1.0" as the qemu-kvm machine definition for virtual Fuel deploys. On Ubuntu this points to: pc-1.0 Standard PC (i440FX + PIIX, 1996) On CentOS 7 this machine definition does not exist, but there's a match in "pc": pc RHEL 7.0.0 PC (i440FX + PIIX, 1996) (alias of pc-i440fx-rhel7.0.0 So, finally, pc is also in Ubuntu: pc Ubuntu 14.04 PC (i440FX + PIIX, 1996) (alias of pc-i440fx-trusty) This change is about exploring whether moving to "pc" will make the auto deploy work on both platforms with the "pc" machine type. What still needs to be done in CentOS is to create a symlink from /usr/libexec/qemu-kvm and /usr/bin/kvm though. Change-Id: I1cce52a21075950cb59b75709b12d724d759e3e6 Signed-off-by: Stefan K. Berg <stefan.k.berg@ericsson.com>
2016-07-08Updated armbandMichal Skalski1-0/+0
Project: fuel f7f13befab5bf9a585f4f24018fd9561ed61b1ae [BGPVPN] Do not include temporary files in plugin Change-Id: Idd2e2f403a2dd5be44c480e8b493e4281ade1994 Signed-off-by: Michal Skalski <mskalski@mirantis.com>
2016-07-08Updated armbandMichal Skalski1-0/+0
Project: fuel 16ea7e06170ba0bb62a164de5b33f19ccd1b1d12 deploy: ISO rebuild: use -joliet-long names. Armband adds similar files, which tend to have long names and only differ in suffixes (e.g. DEBs for amd64 vs arm64). Previous change [1] fixed ISO build errors, but failed to address the deploy.py ISO rebuild (which modifies and recreates the ISO, calling mkisofs, which complains about clashing file indexes). This works around ISO rebuild error(s) like: "genisoimage: Error: ./ubuntu/pool/main/g/golang-gogoprotobuf/golang-gogoprotobuf\ -dev_0.0~git20150828.0.6cab0cc-1~u14.04+mos1_arm64.deb and ./ubuntu/pool/main/g/golang-gogoprotobuf/golang-gogoprotobuf\ -dev_0.0~git20150828.0.6cab0cc-1~u14.04+mos1_amd64.deb have the same Joliet name" [1] https://gerrit.opnfv.org/gerrit/#/c/14973/ Change-Id: If58a18ba46343a52ce6e9a0a6a0482c1a3079451 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2016-07-08Updated armbandMichal Skalski1-0/+0
Project: fuel 7c600840185d9b454c1995e35a9704db823fb5c6 virtual_fuel: prepare class to allow multiple bridges The VirtualFuel class has now two new methods: del_vm_nics: Deletes all interfaces from the VM. add_vm_nic: Adds a NIC to the VM, attached to the specified bridge. The following method has been deleted: set_vm_nic: implemented with the two new methods Apart from the deleted method, no functionality has been changed. This is just a small but necessary step towards adding support for configuring more than one NIC in the fuel VM. Change-Id: I9f02c8163dfb9768510e78d5d5e77a0bb43306fb Signed-off-by: Josep Puigdemont <josep.puigdemont@enea.com> deploy: add support for multiple bridges deploy.py: Some Fuel VMs may need more than one network interface. To be able to provide that, we now allow the user to specify the "-b" paramter (bridge) multiple times, creating a new NIC for each one of them. The NICs are created in the same order as they are given in the command line. There is no change in behavior from earlier versions, pxebr will still be the default bridge if none is specified in the command line. deploy.sh: To reflect the new capabilities of deploy.py, we introduce the possibility to specify -B more than once in deploy.sh, and honor that when calling deploy.py. We also make it possible to specify a comma separated list of bridges, as in: -B br1,br2. Change-Id: I1a0100f2cfe755ec6adfeedafb391c2357f46f51 Signed-off-by: Josep Puigdemont <josep.puigdemont@enea.com>
2016-07-08Updated armbandMichal Skalski1-0/+0
Project: fuel f59b4e0786f11e2799990beeaf0e4a148c3572af Point to newer commit in ODL plugin repo Use small fix for setting ovsdb managers. Change-Id: Ie405d4a2db59ea490ff0a690bb310c0c74d8de79 Signed-off-by: Michal Skalski <mskalski@mirantis.com>
2016-07-06Updated armbandMichal Skalski1-0/+0
Project: fuel fdef1b47e7c2fe894b12e1d0976cc101c09939a1 Point to latest commit in bgpvpn plugin repo Currently we use commit before uplift to mitaka. Change-Id: Ie08a548b133aff01cc2457bd74d0fe7a86a18eff Signed-off-by: Michal Skalski <mskalski@mirantis.com>
2016-07-05Updated armbandAlexandru Avadanii1-0/+0
Project: fuel 50ebdb5d193ad7085ac1ba906622ae4cd0dd8f3c [BGPVPN] fpm: Build multiarch DEBs (arch <all>) Update upstream reference to include support for building DEB packages for architecture <all> instead of the native one, since apart from one small hardcoded check on Fedora for java version, most code is arch-independant (python). TODO: Extend check for `uname -m` result for aarch64 and other platforms in <networking_odl/devstack/setup_java.sh>. While at it, make git info variable overrideable, just in case we want to patch this out of upstream tree locally. Change-Id: Ia139c8d957f65bb120dca1727fd4a422e2510ea0 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2016-07-05Updated armbandMichal Skalski1-0/+0
Project: fuel d1466b0f8792bde0a1e39d2071a03d0317e0f7ee Fix ODL deployments Change-Id: Idae02b340d3a64109deeda7ef67574430b928219 Signed-off-by: Michal Skalski <mskalski@mirantis.com>
2016-07-04Updated armbandMichal Skalski1-0/+0
Project: fuel 04f06ae01f621d5d4aea7d59cb030cf01cb4209d Plugin version is required Plugin version is required when plugin configuration is overwritten. Change-Id: I93af002ed5e994c90b9134f8c020a3822e81e42c Signed-off-by: Michal Skalski <mskalski@mirantis.com>
2016-07-04Updated armbandwu.zhihui1-0/+0
Project: fuel 9d297e24981101f99e9c72de9ff4c6c0b69a505f Modify the indent in fuel-odl_0.9.0.yaml. Change-Id: I15bb84c35c075037df23746b75b108e2d7b90ede Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
2016-07-01Updated armbandNikolas Hermanns1-0/+0
Project: fuel 0330037417ae9ae280fdb76ac99ee464dc4a6d1d [BGPVPN] Uplift plugin to Mitaka Change-Id: I9db366806ec97b44b0e537ee2d4beb3c8a968b92 Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
2016-07-01Updated armbandMichal Skalski1-0/+0
Project: fuel 65f0209484dbd2851bae5323b294c7289596e214 ruby-json is required for fpm Change-Id: Ib8a759922879a81a355bca14e3d4beeeb2ad72d4 Signed-off-by: Michal Skalski <mskalski@mirantis.com>
2016-07-01Updated armbandMichal Skalski1-0/+0
Project: fuel 14df1b694180d638278dc8ed052f2753fa2fdbcb Fix module versions for scenarios Change-Id: Ia5a5d008af717f9b2d0e7495bd2180cdad4075e8 Signed-off-by: Michal Skalski <mskalski@mirantis.com>
2016-06-30Updated armbandMichal Skalski1-0/+0
Project: fuel f27660f6b1fc7995e373a7aecfbe89d3735b02a9 Use ODL Boron for SFC SFC scenario requires OpenDaylight Boron. ODL plugin will be built with both Beryllium and Boron. It will be possible to choose deployment with Boron instead of default Beryllium. Change-Id: I1abd22ddca16e710430accd40ad8359be1bd7132 Signed-off-by: Michal Skalski <mskalski@mirantis.com>
2016-06-30Updated armbandAlexandru Avadanii1-0/+0
Project: fuel 261046f7cc5dcf0ee7a9d1e4428b14f5227878c5 plugins: ovs, vswperf, yardstick: Allow overrides. Allow git info related variables from various plugin config.mk configuration files to be overriden. We rely on this in Armband to apply our patches on top of selected commit(s), then pick up the new (patched) git info. Change-Id: Ib7d9a52f51cef27ec4031587a09a39732a9fbbb4 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2016-06-30Updated armbandNikolas Hermanns1-0/+0
Project: fuel 17a9c9e51be20ca84f9e9c4ad6f305449f239dfa Uplift fuel and nshovs plugins configs Change-Id: I86cdef9d3e3337d1b16b9154c940f73b0a3d8567 Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
2016-06-30Updated armbandGuo Ruijing1-0/+0
Project: fuel b22fc3b0acd77c169d5928b6455bb4669f0bf5ca Move fuel plugin builder to Dockerfile Change-Id: I5c2bc9f4331bedd7a1d3e78ba2f9b82027e566ef Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>
2016-06-30Updated armbandGuo Ruijing1-0/+0
Project: fuel 992397c95b4e133a1ab41bc20e2b58b072f9bbaf Fix NSH patches Change-Id: I04d03ce0b803aa23575dd2640e33eafa00f948bc Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>
2016-06-29Updated armbandMichal Skalski1-0/+0
Project: fuel 968be12920f42828632b41594ec25940bb4e4213 Use openjdk-8-jre by default Package openjdk-8-jre-headless is now a part of mos repositories, opendaylight depends on it now. Change-Id: I27bf15d9e8e4361691c742e71a3f8293f0359f70 Signed-off-by: Michal Skalski <mskalski@mirantis.com>
2016-06-28Updated armbandMichal Skalski1-0/+0
Project: fuel 9fb25d41bd6487e3e34529381d35493ef67bec85 Use fuel-mirror version which handle 302 redirects Fix is currently in master branch of fuel-mirror, I am not sure when backport to mitaka branch will be aproved, so for now lets point to specific commit. Change-Id: I5215707b477df1b6e8735e62cb392aa1400e8bc2 Signed-off-by: Michal Skalski <mskalski@mirantis.com>
2016-06-28Updated armbanddavidjchou1-0/+0
Project: fuel e8928f93b50df3ecb11942ab754bae848c082c6a Add fuel-plugin-kvm to install kvmfornfv 1. The installer function for kvmfornfv was in fuel-plug-qemu in Brahmaputra release, it will be in this new fuel-plugin-kvm for Colorado release for clarity 2. Deleted f_qemupluginbuild sub-directory 3. Two "# fix me" for "@sudo rm -rf kvmfornfv" instead of "@rm -rf kvmfornfv" in Makefiel are the temp workgrounds for some files generated during kvmfornfv building are owned by "root", will remove these workarounds after resolving this issue in fuel-plugin-kvm build process Change-Id: I8a1e2dfaff692dc9813afb5d3bf038170871cade Signed-off-by: davidjchou <david.j.chou@intel.com>
2016-06-28Updated armbandJonas Bjurel1-0/+0
Project: fuel 105fa8c0d40e241c206e37755f13aebb2e137ebd Add timeout for SCP operations The default timeout for SCP is 5 seconds, which is not enough in some cases. Change-Id: If44669a96ea4b5ce33441eeea36b8cf66a1cdc4a Signed-off-by: Peter Barabas <peter.barabas@ericsson.com>
2016-06-28Updated armbandGuo Ruijing1-0/+0
Project: fuel 82d7776efa109d031412baa91e91b3b91bbb06fb Add fuel@opnfv build based on vagrant Change-Id: I5d180f060f27d49b03d6b2eda4750845a3490348 Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>
2016-06-23Updated armbandGuo Ruijing1-0/+0
Project: fuel f2656175b7aff1aa7ef5b32e6dfdf1858b612102 Fix wget failure in fue@opnfv Change-Id: Ie5940ab758182a23873c0e9a55a83b199f2619ad Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>
2016-06-23Updated armbandGuo Ruijing1-0/+0
Project: fuel c1d3d423c43b0e52970749e450b03151704506ac Add fuel yardstick plugin Change-Id: Ie6a980ad23e43f6eef775c74d005358d4ab859cc Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>
2016-06-20Updated armbandwu.zhihui1-0/+0
Project: fuel 5514b02b38df42f7d954c63f4c74ecf8fbf368f8 Override parameter attempts in Class Zte_Adapter. Give more attempts for zte hardware. Change-Id: I0906b6fe9e046ddd6436e5246494b89c812a40a2 Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
2016-06-17Updated armbandwuwb19891-0/+0
Project: fuel 4de621898db6e81ca1d0faf3ebd6f41a953be29a add onos nofeature scenarion map Change-Id: I5c7d9b712c66860bfbe923396e12641c17d439b5 Signed-off-by: wuwb1989 <wuwenbin2@huawei.com>
2016-06-17Updated armbandJosep Puigdemont1-0/+0
Project: fuel dc7f16e0fa9545021b2673e18eff421221ba06c0 vitual_fuel: set_vm_nic() takes no parameters Fixes: https://jira.opnfv.org/browse/FUEL-148 Change-Id: Id5a1d710abf425e75b6ff9eaa7b372285e200702 Signed-off-by: Josep Puigdemont <josep.puigdemont@enea.com>
2016-06-17Updated armbandGuo Ruijing1-0/+0
Project: fuel 109b0e70eb9963fd5d4aa8e7fda3cc30ec7752b9 Add OVS with NSH/DPDK build Change-Id: I6cdcc56024a4d9fe305783f45856f388e62c0ba8 Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>
2016-06-16Updated armbandJosep Puigdemont1-0/+0
Project: fuel b0670cfd013bf0ef4a1c1b3723fa3f5da6dd108d virtual_fuel: add XML tree as attribute of VirtualFuel With this patch, the VM XML definition tree is an attribute of the object, this way it can be used by all methods without having to re-read the file. Methods added: update_vm_template_file: Flushes the contents of the in-memory XML representation of the VM to the backing file. Change-Id: I18d3f606b0c02cd589cb0f657599e8b03b0e817e Signed-off-by: Josep Puigdemont <josep.puigdemont@enea.com>
2016-06-16Updated armbandJonas Bjurel1-0/+0
Project: fuel b86d8e65f9a8a3e52a7f06f8ac9d32963c9df6d4 ipmi_adapter: add delay to stabilize command action We should allow the nodes some time to stabilize after sending a command to them. Currently we are checking the status too fast. Change-Id: I26a60d2bb6a43edbec842b727f825057e2778981 Signed-off-by: Josep Puigdemont <josep.puigdemont@enea.com>
2016-06-16Updated armbandJonas Bjurel1-0/+0
Project: fuel 523ae3b3247412daff4c127f505fc64d6dc67696 Mask ipmitool credentials Change-Id: I328432e6b30437e8a83065859cd80358d4c3c468 Signed-off-by: Peter Barabas <peter.barabas@ericsson.com>
2016-06-16Updated armbandJonas Bjurel1-0/+0
Project: fuel 7994abe6083f408823149669fa2e51ef7d341a8e Mask impitool credentials Change-Id: I0103082672259eaf4b1c2be8ca3a1236fc6137eb Signed-off-by: Peter Barabas <peter.barabas@ericsson.com>
2016-06-16Updated armbandJonas Bjurel1-0/+0
Project: fuel f2c53cb47c52f295568639919c407080ecf92b03 Add command line argument masking for exec_cmd exec_cmd() now takes 2 additional optional arguments: mask_args and mask_str. The former expects an array of positions to mask, the latter expects a string to be used as mask. Change-Id: I445141a68929a0d2837e7692ce8b4d071154cfa7 Signed-off-by: Peter Barabas <peter.barabas@ericsson.com>
2016-06-16Updated armbandJonas Bjurel1-0/+0
Project: fuel aace3a2620c1c49932c7c82ed6cc154c78d19bef Remove unused function: usage() Change-Id: I648821262a7bfd77e59f4411380020c49306ff5e Signed-off-by: Peter Barabas <peter.barabas@ericsson.com>
2016-06-16Updated armbandJonas Bjurel1-0/+0
Project: fuel 294150c7f9e36477ff0a25f947fb2c8002999a3b Introducing collection of all fuel and stack deployment logs. The purpose of this patch is to collect all available Fuel snapshots- and stack/node ldeployment logs for later off-line troubleshooting. The intention is that Jenkins, or other deployment robots will be able to collect all logs from the deployment and store it at some repository where developers can fetch it and perform off-line post deployment trouble-shooting. Following script arguments have been added: CI Arg changes: Added an argument to ci/deploy.sh: -L [Deploy log path and file name], E.g. -L ~/jenkins/deploy/deploy-888.log.tar.gz This will create an tar gzip archive at the path and filename pointed out. If -L is not specified, the log archive will be placed under the CI directory with the following name convention: deploy-YYMMDD-HHMMSS.log.tar.gz Fuel Internal deploy changes: Added an argument to ci/deploy.py -log [Deploy log path and file name], E.g. -log ~/jenkins/deploy/deploy-888.log.tar.gz This will create an tar gzip archive at the path and filename pointed out. If -log is not specified, the log archive will be placed under the CI directory with the following name convention: deploy-YYMMDD-HHMMSS.log.tar.gz READY TO MERGE! VERIFIED! Change-Id: Icb75d9d2e66bdd47f75dcca29071943444d5c823 Signed-off-by: Jonas Bjurel <jonas.bjurel@ericsson.com>
2016-06-16Updated armbandJonas Bjurel1-0/+0
Project: fuel 58b6866358c503f6ac588629b705867863523e69 Clarify docker installation instructions Change-Id: I8738798eac64c44a66e4fcab9758094e26a5a69f Signed-off-by: Peter Barabas <peter.barabas@ericsson.com>
2016-06-16Updated armbandPeter Barabas1-0/+0
Project: fuel 7361290e6eef010ee646d98f90b3c3fa00ee2b38 Add missing package dependency: libyaml-dev Change-Id: I058f6bc54e1c6b0a0c20eeaa2ea09f2f9a2e80ce Signed-off-by: Peter Barabas <peter.barabas@ericsson.com>
2016-06-15Updated armbandJonas Bjurel1-0/+0
Project: fuel 3cddf277c5966c5cc584a493d5923cc5dcdc7820 virtual_fuel: initial support for remote libvirt With this patch it should be possible to create a fuel VM on a remote libvirt server by properly defining the LIBVIRT_DEFAULT_URI [1] environment variable. If the variable is not defined, then there should be no percievable change in behaviour for the script. This patch introduces the ability to create volumes (images) on a remote libvirt host where the Fuel VM is to be deployed. For now the volumes are created by default in a pool named jenkins, but the idea is to allow this to be configured, probably in the POD's DHA file. Since all virsh commands honor LIBVIRT_DEFAULT_URI, we use this environment variable to detect wheter we should create a volume or not. The rationale being that the variable will only be set if the user wants to to do the VM deployment on a remote libvirt host. We need to create a volume because we can not rely on being able to access the remote server's file system directly. The images are then transferred to the libvirt host using virsh commands. All this could also be done using scp and a user directory on the host machine, but using pools allows us to take advantage of libvirt's policies and file permissions. CHANGE: when LIBVIRT_DEFAULT_URI is defined, the script will not check for the presence of the required PXE bridge. This will still be checked when the Fuel VM is started and the bridge not found, but this happens at a later point than it does today. CHANGE: before this patch, the file system image was named like the VM: vm_name.raw. This patch introduces a change and adds a timestamp suffix to the image: vm_name-timestamp.raw. This is so to avoid collisions with an image with the same name on the remote pool (two PODs may be using the same pool). It may also be useful to keep around old file system images. FIXME: This patch requires a pool named "jenkins" in the remote libvirt server, and it will fail if it is not present. This should be configurable. Notice though that we can still define LIBVIRT_DEFAULT_URI as "qemu:///system" to create the Fuel VM on the local host. [1] https://libvirt.org/remote.html#Remote_URI_reference Change-Id: I40925ed31337d3ad9cf505f284f5c3d14e9129a0 Signed-off-by: Josep Puigdemont <josep.puigdemont@enea.com>
2016-06-15Updated armbandJonas Bjurel1-0/+0
Project: fuel f09f2e3c661b8fcb1c82151e1ad17eea7275b417 VirtualFuel: Add temp_dir and vm_name attributes These two variables are defined in one of the methods right now. They will be useful to other methods too, so we add them as attributes to the object here. Signed-off-by: Josep Puigdemont <josep.puigdemont@enea.com> virtual_fuel: make vm_template an attribute Signed-off-by: Josep Puigdemont <josep.puigdemont@enea.com> virtual_fuel: factor out image creation into a method Signed-off-by: Josep Puigdemont <josep.puigdemont@enea.com>
2016-06-15Updated armbandJonas Bjurel1-0/+0
Project: fuel aa58ccd04bfa98ae2bfbf2e37a180020e331deaf common.py: allow specifying number of attempts in exec_cmd Some commands executed by exec_cmd may fail because of a temporary cause, and it may be desirable to retry the same command several times until it succeeds. One example of this are the ipmitool commands, which may fail temorarily on some targets if they get too many requests simultaneously. In this patch three new optional parameters are introduced to the function signature, which do not break backward compatibility: attempts: which indicates how many times the command should be run if it returns a non-zero value*, and defaults to 1 (as today). delay: which indicates the delay in seconds between attempts, and defaults to 5 seconds. verbose: It will print the remaining attempts left for the current command if set to True. * It may be desirable to add yet another parameter to indicate what return value should be considered an error, but non-zero for now seems a reasonable default. Signed-off-by: Josep Puigdemont <josep.puigdemont@enea.com> ipmi_adapter: simplify, retry if command fails The method get_node_state has been added to the the IpmiAdapter class. In addition, now the power on/off methods will try several times to perform their IPMI command before giving up, instead of bailing out at the first error. After the power on/off command is completed, the method will wait until the node is in the desired state. NOTE: a command could potentially take several minutes if the defaults are used; each IPMI command can take up to 1 minute, and there can be 3 commands issued per operation, one of them may be retried 20 times with the current defaults. Ideally we would use eventlet or something similar to allow each command a limited time to execute, instead: with eventlet.timeout.Timeout(seconds) as t: power_on/off_command Signed-off-by: Josep Puigdemont <josep.puigdemont@enea.com>
2016-06-15Updated armbandAlexandru Avadanii1-0/+0
Project: fuel c47a7f7a0198e2ce6ba54cbe485ae87983f785d2 ODL build: Allow customizing JAVA URL For Armband, JAVA8_URL hardcode needs to be patched outside of the build system, so make related var overrideable. Change-Id: I308074a4ae0c5f8b22e5e5128965ce90fea3734e Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com> Signed-off-by: Stanislaw Kardach <Stanislaw.Kardach@cavium.com>
2016-06-15Updated armbandJonas Bjurel1-0/+0
Project: fuel f9e8c1a361d3673df9fcde83e46d265ed49fa499 repobuild: Allow customizing fuel-mirror repo URL For Armband, fuel-mirror code needs to be patched outside of the build system, so we factor out the repo URL into an overrideable variable (FUEL_MIRROR_URL). Change-Id: Icf26f1b84f5a653f541819a42980377f51c7f299 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com> Signed-off-by: Stanislaw Kardach <Stanislaw.Kardach@cavium.com>
2016-06-15Updated armbandAlexandru Avadanii1-0/+0
Project: fuel ba99c6e97a4dc9db8165edc7d95a254892f59830 Build: Allow customizing FUEL_MAIN_TAG (commit) FUEL_MAIN_TAG is currently hard set to 9.0 (not overridable). While this is a sane assumption for the usual scenarios, Armband applies a series of patches on top of Fuel@OPNFV, hence requiring us to override this variable. WARNING: FUEL_MAIN_TAG is reused for fuel-mirror tag, so if you override this variable, make sure the same tag exists in fuel-mirror. Change-Id: Ided75cf0c3b5ad18cf7ef1ec88b5d2dc3aada511 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com> Signed-off-by: Stanislaw Kardach <Stanislaw.Kardach@cavium.com>