This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ref: https://gist.github.com/flavio-fernandes/863e48f012b7975e1d46c896b262dfc9 | |
vagrant@stack:~$ bash /vagrant/fw.sh | |
WARNING: setting legacy OS_TENANT_NAME to support cli tools. | |
+/vagrant/fw_2.sh:main:10 set -o errexit | |
+/vagrant/fw_2.sh:main:12 openstack server create --nic net-id=private,v4-fixed-ip=10.0.0.10 --flavor m1.nano --image 438ab721-342d-47b9-8e30-4158f39a18ee --key-name demo d | |
+-------------------------------------+-----------------------------------------------------------------+ | |
| Field | Value | | |
+-------------------------------------+-----------------------------------------------------------------+ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# | |
# ref: https://bugs.launchpad.net/neutron/+bug/1910334 | |
[ $EUID -eq 0 ] && { echo 'must NOT be root' >&2; exit 1; } ||: | |
. ${HOME}/devstack/openrc admin | |
set -o xtrace | |
set -o errexit |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Ref: https://learn.adafruit.com/keep-your-circuitpython-libraries-on-devices-up-to-date-with-circup/usage | |
$ circup --version | |
CircUp, A CircuitPython module updater. Version 0.6.0 | |
=-=-=-=-=-=-=- | |
# Before the update: | |
$ circup freeze |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
LDF Modes: Finder ~ chain, Compatibility ~ soft | |
Found 37 compatible libraries | |
Scanning dependencies... | |
Dependency Graph | |
|-- <SPI> 1.0 | |
|-- <ArduinoOTA> 1.0 | |
| |-- <ESP8266WiFi> 1.0 | |
| |-- <WiFi101> 0.16.1 | |
| | |-- <SPI> 1.0 | |
| |-- <ESP8266mDNS> 1.2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ git rev-parse HEAD | |
8c693b29ed355361612ecedae19b8f85c9394b80 | |
$ git diff master | |
diff --git a/ovn_cluster.sh b/ovn_cluster.sh | |
index 6e146d9..e3c6e68 100755 | |
--- a/ovn_cluster.sh | |
+++ b/ovn_cluster.sh | |
@@ -716,34 +716,35 @@ function build-images-with-ovn-rpms() { | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ time make -j$(($(nproc) + 1)) V=0 ; echo $? | |
make: Warning: File 'utilities/.deps/ovn-trace.Po' has modification time 272847 s in the future | |
GEN lib/ovn-sb-idl.ovsidl | |
GEN lib/ovn-nb-idl.ovsidl | |
GEN lib/ovn-ic-nb-idl.ovsidl | |
GEN lib/ovn-ic-sb-idl.ovsidl | |
GEN northd/ovn-northd-ddlog-sb.inc | |
(CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /home/vagrant/ovn/build-aux/missing autoheader) | |
GEN northd/ovn-northd-ddlog-nb.inc |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
[ $EUID -eq 0 ] || { echo 'must be root' >&2; exit 1; } | |
set -o errexit | |
# set -x | |
create_fake_vm() { | |
iface_id=$1 | |
name=$2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# | |
[ $(whoami) != 'stack' ] && { echo 'must be user stack' >&2; } ||: | |
cd | |
source ./stackrc | |
ansible -i /usr/bin/tripleo-ansible-inventory -m shell -b -a "rm -vf /home/heat-admin/vm_key.pem" overcloud | |
source ./overcloudrc |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
[ $(whoami) != 'stack' ] && { echo 'must be user stack' >&2; } ||: | |
cd | |
source ./overcloudrc | |
set -o xtrace | |
set -o errexit |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash -x | |
# | |
# | |
# +------------+ | |
# | | | |
# | | | |
# | public | | |
# | | | |
# | | | |
# +-----+------+ |