Skip to content

Instantly share code, notes, and snippets.

View hogepodge's full-sized avatar

Chris Hoge hogepodge

View GitHub Profile
@hogepodge
hogepodge / gist:9fca9881816cd352dd34debd1152d379
Created June 24, 2021 20:46
TVMC Failure on macOS Big Sur, 2021-06-24 build from source
[Task 1/25] Current/Best: 0.00/ 0.00 GFLOPS | Progress: (0/40) | 0.00 sTraceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/local/Cellar/python@3.9/3.9.5/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/spawn.py", line 116, in spawn_main
Traceback (most recent call last):
File "<string>", line 1, in <module>
exitcode = _main(fd, parent_sentinel)
File "/usr/local/Cellar/python@3.9/3.9.5/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/spawn.py", line 126, in _main
File "/usr/local/Cellar/python@3.9/3.9.5/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/spawn.py", line 116, in spawn_main
self = reduction.pickle.load(from_parent)
File "/Users/hoge/Library/Python/3.9/lib/python/site-packages/tvm-0.8.dev1211+g4f9e6146a-py3.9-macosx-11-x86_64.egg/tvm/autotvm/task/task.py", line 203, in __setstate__
heat_template_version: 2013-05-23
description: Simple template to deploy a small cluster
parameters:
private_network:
type: string
label: Private Network
description: Name of private network to attach controller to
data_network:
@hogepodge
hogepodge / gist:e2018f85328f3891770e
Created March 10, 2015 18:36
tempest.conf (v3)
[DEFAULT]
#
# From tempest.config
#
# Whether to disable inter-process locks (boolean value)
#disable_process_locking = false
# Directory to use for lock files. (string value)
Notice: /Stage[main]/Mysql::Server::Root_password/File[/root/.my.cnf]/ensure: defined content as '{md5}5c616f1c16053c50c2c91f04178cbcb0'
Error: Could not prefetch mysql_user provider 'mysql': Execution of '/usr/bin/mysql --defaults-extra-file=/root/.my.cnf -NBe SELECT CONCAT(User, '@',Host) AS User FROM mysql.user' returned 1: ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
Error: Execution of '/usr/bin/mysql --defaults-extra-file=/root/.my.cnf -e GRANT USAGE ON *.* TO 'root'@'localhost' IDENTIFIED BY PASSWORD '*FD2B582E6C6CD463218A2F79EA8487925804C5A6' WITH MAX_USER_CONNECTIONS 0 MAX_CONNECTIONS_PER_HOUR 0 MAX_QUERIES_PER_HOUR 0 MAX_UPDATES_PER_HOUR 0' returned 1: ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
Error: /Stage[main]/Mysql::Server::Root_password/Mysql_user[root@localhost]/ensure: change from absent to present failed: Execution of '/usr/bin/mysql --defaults-extra-file=/root/.my.cnf -e GRANT USAGE ON *.* TO 'root'@'localhost'
Babel==1.3
GitPython==0.3.6
Jinja2==2.7.3
MarkupSafe==0.23
PyYAML==3.11
Pygments==2.0.2
Sphinx==1.2.3
anyjson==0.3.3
argparse==1.2.1
boto==2.36.0
Downloading/unpacking fixtures>=0.3.14 (from -r /home/vagrant/refstack-client/.tempest/requirements.txt (line 26))
Downloading fixtures-1.0.0.tar.gz (43kB): 43kB downloaded
Running setup.py (path:/home/vagrant/refstack-client/.tempest/.venv/build/fixtures/setup.py) egg_info for package fixtures
Installed /home/vagrant/refstack-client/.tempest/.venv/build/fixtures/pbr-0.10.7-py2.7.egg
[pbr] Processing SOURCES.txt
warning: LocalManifestMaker: standard file '-c' not found
[pbr] In git context, generating filelist from git
warning: no previously-included files matching '*.pyc' found anywhere in distribution
Traceback (most recent call last):
File "./refstack-client", line 31, in <module>
getattr(test, args.func)()
File "/vagrant/refstack-client/refstack_client/refstack_client.py", line 207, in test
results = self.get_passed_tests(results_file)
File "/vagrant/refstack-client/refstack_client/refstack_client.py", line 154, in get_passed_tests
results = subunit_processor.process_stream()
File "/vagrant/refstack-client/refstack_client/subunit_processor.py", line 54, in process_stream
with open(self.in_stream, 'r') as fin:
IOError: [Errno 2] No such file or directory: '.venv/src/tempest/.testrepository/0'
class test_ovs {
Exec {
path => '/usr/bin:/usr/sbin:/bin:/sbin',
}
::sysctl::value { 'net.ipv4.ip_forward':
value => '1',
}
@hogepodge
hogepodge / gist:429ab5ad586be1f75508
Created October 8, 2014 06:06
Bridge Creation Works CentOS 7 (old dhcp)
[root@allinone modules]# ifconfig
eno16777736: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.2.205 netmask 255.255.255.0 broadcast 192.168.2.255
inet6 fe80::20c:29ff:fe8f:d66f prefixlen 64 scopeid 0x20<link>
ether 00:0c:29:8f:d6:6f txqueuelen 1000 (Ethernet)
RX packets 1413 bytes 200538 (195.8 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 821 bytes 127838 (124.8 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
@hogepodge
hogepodge / gist:3b094bf83b0f21d701c0
Last active August 29, 2015 14:07
vagrant ssh-config 2&> log
INFO global: Vagrant version: 1.6.5
INFO global: Ruby version: 2.0.0
INFO global: RubyGems version: 2.0.14
INFO global: VAGRANT_EXECUTABLE="/Applications/Vagrant/bin/../embedded/gems/gems/vagrant-1.6.5/bin/vagrant"
INFO global: VAGRANT_INSTALLER_EMBEDDED_DIR="/Applications/Vagrant/bin/../embedded"
INFO global: VAGRANT_INSTALLER_VERSION="2"
INFO global: VAGRANT_DETECTED_OS="Darwin"
INFO global: VAGRANT_INSTALLER_ENV="1"
INFO global: VAGRANT_INTERNAL_BUNDLERIZED="1"
INFO global: VAGRANT_LOG="debug"