Skip to content

Instantly share code, notes, and snippets.

View sean-perryman's full-sized avatar

Sean Perryman sean-perryman

View GitHub Profile
#!/bin/bash
#
# MicroStack by Canonical - Helper Install Script
#
# This script installs the MicroStack snap and setups up the networking fix developed by Rodrigo Nascimento
#
# Original blog post available here: https://connection.rnascimento.com/2021/03/08/openstack-single-node-microstack/
#
# Note: Make sure you adjust the INTERFACE and IP_ADDRESS variables to your environment.
# If you make the IP_ADDRESS the same as your current address you won't lose connection.
TASK [os_keystone : Create database for service] ******************************************************************************************************
failed: [infra1_keystone_container-e6d60aac -> 172.29.237.184] (item=None) => {"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false}
fatal: [infra1_keystone_container-e6d60aac]: FAILED! => {"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false}
@sean-perryman
sean-perryman / gist:a57234786ab58f69e6e3ed19df4bfa2a
Created March 11, 2021 04:49
OpenStack Ansible Deployment Host - setup-hosts.yml error
fatal: [infra1]: FAILED! => {"changed": true, "cmd": ["augenrules", "--load"], "delta": "0:00:00.041106", "end": "2021-03-10 23:41:31.702178", "msg": "non-zero return code", "rc": 1, "start": "2021-03-10 23:41:31.661072", "stderr": "Syscall name unknown: creat\nThere was an error in line 9 of /etc/audit/audit.rules", "stderr_lines": ["Syscall name unknown: creat", "There was an error in line 9 of /etc/audit/audit.rules"], "stdout": "/usr/sbin/augenrules: No change\nNo rules\nenabled 1\nfailure 1\npid 95680\nrate_limit 0\nbacklog_limit 320\nlost 0\nbacklog 4\nbacklog_wait_time 0\nenabled 1\nfailure 1\npid 95680\nrate_limit 0\nbacklog_limit 320\nlost 0\nbacklog 0\nbacklog_wait_time 0", "stdout_lines": ["/usr/sbin/augenrules: No change", "No rules", "enabled 1", "failure 1", "pid 95680", "rate_limit 0", "backlog_limit 320", "lost 0", "backlog 4", "backlog_wait_time 0", "enabled 1", "failure 1", "pid 95680", "rate_limit 0", "backlog_limit 320", "lost 0", "backlog 0", "backlog_wait_time 0"]}
[23:19:34 INFO]: terdbird issued server command: //paste
[23:19:34 ERROR]: [WorldEdit] An unexpected error occurred while handling a FAWE command
java.lang.UnsupportedOperationException: null
at java.util.AbstractCollection.add(AbstractCollection.java:262) ~[?:1.8.0_181]
at com.boydti.fawe.object.FaweQueue.addEditSession(FaweQueue.java:138) ~[FastAsyncWorldEdit-bukkit-1.13.135.jar:?]
at com.sk89q.worldedit.EditSession.<init>(EditSession.java:261) ~[FastAsyncWorldEdit-bukkit-1.13.135.jar:?]
at com.boydti.fawe.util.EditSessionBuilder.build(EditSessionBuilder.java:194) ~[FastAsyncWorldEdit-bukkit-1.13.135.jar:?]
at com.sk89q.worldedit.LocalSession.createEditSession(LocalSession.java:1282) ~[FastAsyncWorldEdit-bukkit-1.13.135.jar:?]
at com.sk89q.worldedit.internal.command.WorldEditBinding.getEditSession(WorldEditBinding.java:109) ~[FastAsyncWorldEdit-bukkit-1.13.135.jar:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_181]
<!DOCTYPE html>
<html>
<head>
<title>Sample script for uploading file to Google Drive without authorization</title>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.js"></script>
</head>
<body>
<form action="https://script.google.com/macros/s/#####/exec" id="form" method="post">