Skip to content

Instantly share code, notes, and snippets.

View v1k0d3n's full-sized avatar
🎧
Give me a soft subtle mix, and if ain't broke then don't try to fix it

Brandon B. Jozsa v1k0d3n

🎧
Give me a soft subtle mix, and if ain't broke then don't try to fix it
View GitHub Profile
# openstack_user_config.yml
global_overrides:
external_lb_vip_address: 10.2.31.9
internal_lb_vip_address: 10.2.31.9
provider_networks:
- network:
type: "raw"
container_bridge: "br-mgmt"
container_interface: "eth1"
container_type: "veth"
; Kubernetes ETCD Server Cluster Information
_etcd-server._tcp.jinkit.com. 300 IN SRV 0 0 2380 kubetcd01.jinkit.com.
_etcd-server._tcp.jinkit.com. 300 IN SRV 0 0 2380 kubetcd02.jinkit.com.
_etcd-server._tcp.jinkit.com. 300 IN SRV 0 0 2380 kubetcd03.jinkit.com.
; Kubernetes ETCD Client Cluster Information
_etcd-client._tcp.jinkit.com. 300 IN SRV 0 0 2379 kubetcd01.jinkit.com.
_etcd-client._tcp.jinkit.com. 300 IN SRV 0 0 2379 kubetcd02.jinkit.com.
_etcd-client._tcp.jinkit.com. 300 IN SRV 0 0 2379 kubetcd03.jinkit.com.
ubuntu@romana-controller:~/demo$ ./demo.sh
$ # Get a list of nodes in the environment
$ kubectl get nodes
NAME STATUS AGE
romana-compute01 Ready 3h
romana-controller Ready 3h
# anybody here? let's see if we have a pod
$ get_pods
$
##### FIRST ATTEMPT #####
[fedora@stockyard ~]$ sudo atomic install projectatomic/atomic-registry-install 172.29.248.33
latest: Pulling from docker.io/projectatomic/atomic-registry-install
3690474eb5b4: Pull complete
b48a20c39b28: Pull complete
c79ebe41b35a: Pull complete
4e341511e215: Pull complete
24e6149fea0e: Pull complete
a7337755e298: Pull complete
-bash-4.3# atomic -v
usage: atomic [-h] {host,info,install,run,uninstall,update} ...
Atomic Management Tool
positional arguments:
{host,info,install,run,uninstall,update}
commands
host execute Atomic host commands
info display label information about an image
TASK: [haproxy | Starting haproxy container] **********************************
ok: [os-node05]
ok: [os-node04]
ok: [os-node03]
ok: [os-node02]
ok: [os-node01]
TASK: [haproxy | Starting keepalived container] *******************************
ok: [os-node02]
ok: [os-node03]
# These initial groups are the only groups required to be modified. The
# additional groups are for more control of the environment.
[control]
# These hostname must be resolvable from your deployment host
os-node[01:05] ansible_ssh_user=root
# The above can also be specified as follows:
#control[01:03] ansible_ssh_user=kolla
# The network nodes are where your l3-agent and loadbalancers will run
---
# You can use this file to override _any_ variable throughout Kolla.
# Additional options can be found in the 'kolla/ansible/group_vars/all.yml' file.
# Default value of all the commented parameters are shown here, To override
# the default value uncomment the parameter and change its value.
###################
# Kolla options
###################
# Valid options are [ COPY_ONCE, COPY_ALWAYS ]
# Copyright 2016, JinkIT, and it's Authors.
#
# 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
# distributed under the License is distributed on an "AS IS" BASIS,
root@os-node01:/opt/openstack-ansible/playbooks# openstack-ansible setup-hosts.yml
Variable files: "-e @/etc/openstack_deploy/user_secrets.yml -e @/etc/openstack_deploy/user_variables.yml "
Traceback (most recent call last):
File "/usr/local/bin/ansible-playbook", line 324, in <module>
sys.exit(main(sys.argv[1:]))
File "/usr/local/bin/ansible-playbook", line 144, in main
extra_vars = utils.parse_extra_vars(options.extra_vars, vault_pass)
File "/usr/local/lib/python2.7/dist-packages/ansible/utils/__init__.py", line 1081, in parse_extra_vars
extra_vars = combine_vars(extra_vars, parse_yaml_from_file(extra_vars_opt[1:], vault_password=vault_pass))
File "/usr/local/lib/python2.7/dist-packages/ansible/utils/__init__.py", line 780, in parse_yaml_from_file