- 1 1/2 pound bacon, cooked crisp, chopped fine
- 2 tsp butter
- 2 tsp reserved bacon fat
- 4 large yellow onions (about 3 pounds), diced
- 1 tsp salt, plus more to taste
- 1/4 cup brown sugar
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
| - name: Get ElasticSearch version | |
| uri: | |
| url: "http://{{ hostvars[groups['elasticsearch_container'][0]]['container_address'] }}:{{ elasticsearch_http_port }}/" | |
| method: GET | |
| status_code: 200 | |
| register: escontent | |
| tags: | |
| - elasticsearch-version | |
| - debug: var=escontent.json.version.number |
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
| import argparse | |
| def function_a(arg_a, arg_b=args.arg_b): | |
| do_something | |
| return something | |
| def function_b(arg_a): | |
| function_a(arg_a) | |
| def main(): |
#ELK Upgrade Tasks
These are things we need to do and think about during an RPC L->M upgrade to ensure that the new ELK stack is up and running with existing data.
- PIP package removal
- Files left on the filesystem removal
- Force log rotation so ensure that filebeats picks up a new, hopefully empty logfile
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
| diff --git a/openstack-ansible b/openstack-ansible | |
| index 5c8dd5b..d1e3e7f 160000 | |
| --- a/openstack-ansible | |
| +++ b/openstack-ansible | |
| @@ -1 +1 @@ | |
| -Subproject commit 5c8dd5bd8d7898ec7ce977d80c3699c8aa03233a | |
| +Subproject commit d1e3e7f803ef6768abbe8734375eefb128fc7756-dirty | |
| diff --git a/rpcd/playbooks/roles/elasticsearch/defaults/main.yml b/rpcd/playbooks/roles/elasticsearch/defaults/main.yml | |
| index 97184b0..2ee6da6 100644 | |
| --- a/rpcd/playbooks/roles/elasticsearch/defaults/main.yml |
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
| # Ring the bell if any background window rang a bell | |
| set -g bell-action any | |
| # Default termtype. If the rcfile sets $TERM, that overrides this value. | |
| set -g default-terminal screen-256color | |
| # Keep your finger on ctrl, or don't | |
| bind-key ^D detach-client | |
| # Create splits and vertical splits |
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 | |
| # Copyright [2016] [Kevin Carter] | |
| # | |
| # Licensed under the Apache License, Version 2.0 (the "License"); | |
| # you may not use this file except in compliance with the License. | |
| # You may obtain a copy of the License at | |
| # | |
| # http://www.apache.org/licenses/LICENSE-2.0 | |
| # | |
| # Unless required by applicable law or agreed to in writing, software |
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
| --- | |
| # Copyright 2014, Rackspace US, Inc. | |
| # | |
| # Licensed under the Apache License, Version 2.0 (the "License"); | |
| # you may not use this file except in compliance with the License. | |
| # You may obtain a copy of the License at | |
| # | |
| # http://www.apache.org/licenses/LICENSE-2.0 | |
| # | |
| # Unless required by applicable law or agreed to in writing, software |
This file has been truncated, but you can view the full file.
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
| 18:47:09 [EnvInject] - Inject global passwords. | |
| 18:47:09 [EnvInject] - Mask passwords passed as build parameters. | |
| 18:47:09 Started by upstream project "RPC-AIO-Master-PR" build number 104 | |
| 18:47:09 originally caused by: | |
| 18:47:09 GitHub pull request #796 of commit 521f5197701ab1ef393ed3fda87c7e4308a286f8, no merge conflicts. | |
| 18:47:09 [EnvInject] - Loading node environment variables. | |
| 18:47:09 Building remotely on jrpcaioiad-f68 (rax-us-matt-jenkins rpcaio iad) in workspace /jenkins/workspace/RPC-AIO | |
| 18:47:10 Cloning the remote Git repository | |
| 18:47:10 Cloning repository https://github.com/rcbops/rpc-openstack | |
| 18:47:10 > git init /jenkins/workspace/RPC-AIO # timeout=10 |
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
| - name: ceph-common | |
| path: /opt/rpc-openstack/rpcd/playbooks/roles | |
| src: https://github.com/ceph/ansible-ceph-common.git | |
| version: 67633e56afb74ac9128cfc815e68c25d8c09db37 | |
| - name: ceph-mon | |
| path: /opt/rpc-openstack/rpcd/playbooks/roles | |
| src: https://github.com/ceph/ansible-ceph-mon.git | |
| version: 84772668f7f67a0d0b058309c56cc8d9cba800ae | |
| - name: ceph-osd | |
| path: /opt/rpc-openstack/rpcd/playbooks/roles |