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__
@hogepodge
hogepodge / neutron.conf
Created June 24, 2014 15:44
failing ml2 + ovs/gre configuration (vif_type=binding failed)
[DEFAULT]
# Print more verbose output (set logging level to INFO instead of default WARNING level).
# verbose = True
verbose = True
# Print debugging output (set logging level to DEBUG instead of default WARNING level).
# debug = False
debug = True
# Where to store Neutron state files. This directory must be writable by the
Error: Execution of '/usr/bin/keystone --endpoint http://127.0.0.1:35357/v2.0/ user-role-add --user-id 590ccda3ba2d49b3ba735a0454270b4d --tenant-id 3906fa8a768a41c09923704a08c63756 --role-id ' returned 1: 'role'
Error: /Stage[main]/Havana::Profile::Keystone/Havana::Resources::User[test]/Keystone_user_role[test@test]/roles: change from _member_ to Member admin failed: Execution of '/usr/bin/keystone --endpoint http://127.0.0.1:35357/v2.0/ user-role-add --user-id 590ccda3ba2d49b3ba735a0454270b4d --tenant-id 3906fa8a768a41c09923704a08c63756 --role-id ' returned 1: 'role'
Error: Execution of '/usr/bin/yum -d 0 -e 0 -y install openstack-cinder' returned 1: Error: Package: python-swiftclient-1.8.0-1.el6.noarch (openstack-havana)
Requires: pyOpenSSL >= 0.12
Installed: pyOpenSSL-0.10-2.el6.x86_64 (@sl)
pyOpenSSL = 0.10-2.el6
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
@hogepodge
hogepodge / gist:6964550
Created October 13, 2013 17:01
Creating an auth_file for openstack.
class { '::openstack::auth_file':
admin_password => hiera('grizzly::keystone::admin_password'),
}
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