Skip to content

Instantly share code, notes, and snippets.

View planetrobbie's full-sized avatar

Sebastien Braun planetrobbie

View GitHub Profile
Internal Server Error: /auth/login/
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/django/core/handlers/base.py", line 137, in get_response
response = response.render()
File "/usr/lib/python2.7/dist-packages/django/template/response.py", line 105, in render
self.content = self.rendered_content
File "/usr/lib/python2.7/dist-packages/django/template/response.py", line 82, in rendered_content
content = template.render(context)
File "/usr/lib/python2.7/dist-packages/django/template/base.py", line 140, in render
return self._render(context)
START with options: ['server', 'create', '--debug', '--flavor', 'baremetal', '--image', 'dd1e78e0-b89d-451b-b75d-3317414d55a0 ', '--nic', 'net-id=386ea8c4-354d-4922-bbbb-35db7a02b435', 'test-ironic']
options: Namespace(access_token_endpoint='', auth_type='', auth_url='http://10.0.1.3:5000/', cacert='', client_id='', client_secret='***', cloud='', debug=True, default_domain='Default', deferred_help=False, domain_id='', domain_name='', endpoint='', identity_provider='', identity_provider_url='', insecure=None, interface='', log_file=None, os_baremetal_api_version='1.6', os_clustering_api_version='1', os_compute_api_version='', os_data_processing_api_version='1.1', os_data_processing_url='', os_dns_api_version='2', os_identity_api_version='', os_image_api_version='', os_key_manager_api_version='1', os_network_api_version='', os_object_api_version='', os_orchestration_api_version='1', os_project_id=None, os_project_name=None, os_queues_api_version='1.1', os_volume_api_version='', os_workflow_api_version='2', pass
The puppet error log shows,
2017-01-22 08:22:34 NOTICE Finished catalog run in 13.30 seconds
2017-01-22 08:22:34 INFO (Stage[main]) Evaluated in 0.00 seconds
2017-01-22 08:22:34 INFO (Stage[main]) Starting to evaluate the resource
2017-01-22 08:22:34 INFO (Class[Influxdb::Service]) Evaluated in 0.00 seconds
2017-01-22 08:22:34 INFO (Class[Influxdb::Service]) Starting to evaluate the resource
2017-01-22 08:22:34 INFO (/Stage[main]/Influxdb::Service/Service[influxdb]) Evaluated in 0.00 seconds
2017-01-22 08:22:34 WARNING (/Stage[main]/Influxdb::Service/Service[influxdb]) Skipping because of failed dependencies
2017-01-22 08:22:34 NOTICE (/Stage[main]/Influxdb::Service/Service[influxdb]) Dependency Package[influxdb] has failures: true
```#cloud-config
debconf_selections:
maas: |
{{for line in str(curtin_preseed).splitlines()}}
{{line}}
{{endfor}}
{{if third_party_drivers and driver}}
early_commands:
{{py: key_string = ''.join(['\\x%x' % x for x in map(ord, driver['key_binary'])])}}
driver_00_get_key: /bin/echo -en '{{key_string}}' > /tmp/maas-{{driver['package']}}.gpg
ctl01.int.cloudvps.com:
----------
ID: neutron_server_packages
Function: pkg.installed
Name: neutron-server
Result: True
Comment: Package neutron-server is already installed
Started: 19:12:05.795319
Duration: 624.188 ms
Changes:
@planetrobbie
planetrobbie / pet-snippet.toml
Last active March 17, 2017 14:02
description
[[snippets]]
description = "mount loki volume"
command = "sshfs sbraun@172.16.52.148:/home/sbraun/yet /Users/sbraun/in/luna"
[[snippets]]
description = "Display all listen port"
command = "lsof -Pan -i tcp -i udp"
[[snippets]]
description = "Process with the largest memory usage"
@planetrobbie
planetrobbie / gist:c268e9c4907cb48df7941aff5a5ad27b
Created April 28, 2017 10:51
Jenkins pipeline to lint reclass model of an etcd cluster
pipeline {
triggers { pollSCM('H/5 * * * *') }
agent any
stages {
stage('Install Salt Formulas Service Metadata into Workspace') {
steps {
dir(path: 'service') {
sh 'for i in /usr/share/salt-formulas/reclass/service/*; do ln -s $i .; done'
}
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"/><meta http-equiv="X-UA-Compatible" content="IE=edge"/><meta name="viewport" content="width=device-width, initial-scale=1"/><title>Sébastien Braun</title><link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"/><style>@font-face {
font-family: 'icomoon';
src: url('fonts/icomoon.eot?9yug7q');
src: url('fonts/icomoon.eot?9yug7q#iefix') format('embedded-opentype'),
url('fonts/icomoon.ttf?9yug7q') format('truetype'),
url('fonts/icomoon.woff?9yug7q') format('woff'),
url('fonts/icomoon.svg?9yug7q#icomoon') format('svg');
font-weight: normal;
font-style: normal;
}
@planetrobbie
planetrobbie / config.json
Created January 14, 2019 13:41
consul agent
{
"addresses": {
"dns": "127.0.0.1",
"grpc": "127.0.0.1",
"http": "127.0.0.1",
"https": "127.0.0.1"
},
"advertise_addr": "10.132.0.4",
"advertise_addr_wan": "10.132.0.4",
"bind_addr": "10.132.0.4",
@planetrobbie
planetrobbie / audit.log
Created January 28, 2019 20:47
Vault Audit snippet
"time":"2019-01-28T20:46:29.435016455Z","type":"request","auth":{"client_token":"","accessor":"","display_name":"","policies":null,"metadata":null,"entity_id":"","token_type":"default"},"request":{"id":"52919fae-6c8e-03f1-51c8-23efb9a0041e","operation":"read","client_token":"","client_token_accessor":"","namespace":{"id":"root","path":""},"path":"sys/replication/status","data":null,"policy_override":false,"remote_address":"130.211.0.225","wrap_ttl":0,"headers":{}},"error":""}
{"time":"2019-01-28T20:46:29.43583858Z","type":"response","auth":{"client_token":"","accessor":"","display_name":"","policies":null,"metadata":null,"entity_id":"","token_type":"default"},"request":{"id":"52919fae-6c8e-03f1-51c8-23efb9a0041e","operation":"read","client_token":"","client_token_accessor":"","namespace":{"id":"root","path":""},"path":"sys/replication/status","data":null,"policy_override":false,"remote_address":"130.211.0.225","wrap_ttl":0,"headers":{}},"response":{"data":{"dr":{"mode":"hmac-sha256:3a4bd796ed9f8ae4195a2d941df