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
package main | |
import ( | |
"context" | |
"errors" | |
"fmt" | |
"os" | |
"syscall" | |
"time" |
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
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCsXTtFg8i2aQ647S6c50AR9v4+2Il4p5N76mXV43tAz0Y95qjsMN1UjeR8nQhJGju0qrtKd9iSDhl47/E43rD58CUZFrOSCXFzACDPN+8YGowx2Zfk0HWfNl+nyq3Fd9u48zxxZunHOk06fd8MvK5PXWxgd8f52oSqSwL+VEeUlWyTvDR2RQIwoT73tRnSRmvSCSV6WNSYvdfd5DySZa+CZE/W44bmUlsCdFwUOy5AUhEOu8uvnHdL7CupP8f1BhxGTfo2eDKzwFR4fhMscMbGedmJMw2WfXUqoIwTDzv4nBCZv+SIdTNP2qzCw0M0u5yMUw8+AftgGnJbWw3GKqN9vwXQ44Qimpln+rtMWxjwOpK0I81IU5+k9Gu9GqWq6pgo3XkgQHaFsxqsubguh+JU95+3UqV0QL22ZdtSy2dEelrp2389FfTIpn2qL2sGusCSZWwdnEgiVnC5L5r7gPui5zK+2Q3jEAOX5+0XDGwvXUU4GW7vWet5WRqo1KCVWyBaBVGRWCHsGfQe4Q26aGqwQDjWuhCBavW8I2wAQfBAtdxZmRrmcgIWzzQy8AJreaOIltbLDy/Nz7Gqc30MMxVDTSViN7D+0qNqS2zR11D4PLakyejix5nCGnJ2AgcE/CLjy3/XrbaS+UI0/ydSj0105cjyirE3UMB6nWPhDKSIBw== [email protected] |
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
https://fedorapeople.org/groups/magnum/fedora-21-atomic-3.qcow2 | |
glance image-create --name fedora-21-atomic-3 --disk-format qcow2 --container-format bare --file fedora-21-atomic-3.qcow2 | |
glance image-update <image-id> --property os_distro=fedora-atomic |
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
#!/bin/sh | |
git clone https://github.com/openstack-dev/devstack.git | |
cd devstack | |
cat > local.conf << END_LOCAL_CONF | |
[[local|localrc]] | |
enable_plugin magnum https://github.com/openstack/magnum | |
DATABASE_PASSWORD=password |
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
#!/bin/sh | |
# Install initial dependencies | |
apt-get update && apt-get install git vim lvm2 -y | |
# Set up SSDs for LVM | |
parted /dev/sdb -s mklabel gpt | |
parted -a optimal /dev/sdb mkpart primary ext2 0% 100% | |
parted /dev/sdb set 1 lvm on | |
parted /dev/sdc -s mklabel gpt |
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
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCnbLwIR7HzrofK/4fdJYihtdwjAmavK3r4ijbR08z5ttyqU7B83h9d1y3/IXHQqcjpzF3CLNpJSkKodO6BsgXaXt5914Ib6PqzXh/bbc/XCcrAD5QiT+G5xQTQTsmfzC7QnqhppgyRFpz3ZCv+AJLqHDIoiEeJ1A41lCLYgMHdgNCmUSnc6GAYcEch5Ul6k0N1RwPh4byQf5nAky2dVSagFqlzvyJWk8JqARY/UkFkKKey5Wsk5SSq4HGkflBnc9Ee50KNCefV+l7+bnrdYrFNKnXYLBIuEo3/tQWM5LLU+aLBpeYtUHq3GbygR0wTM3GR+LNI1VPrTiMRi4SBTsZV [email protected] |
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/magnum/templates/heat-kubernetes/kubenode.yaml b/magnum/templates/heat-kubernetes/kubenode.yaml | |
index 1623a5f..27aa6c3 100644 | |
--- a/magnum/templates/heat-kubernetes/kubenode.yaml | |
+++ b/magnum/templates/heat-kubernetes/kubenode.yaml | |
@@ -97,7 +97,6 @@ resources: | |
"$KUBE_ALLOW_PRIV": {get_param: kube_allow_priv} | |
"$KUBE_MASTER_IP": {get_param: kube_master_ip} | |
"$WAIT_HANDLE": {get_resource: node_wait_handle} | |
- "$DOCKER_VOLUME": {get_resource: docker_volume} | |
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
(.venv)$ magnum-template-manage list-templates | |
Enabled Templates | |
================= | |
magnum_vm_atomic_k8s: /home/apmelton/projects/magnum/magnum/templates/heat-kubernetes/kubecluster.yaml | |
magnum_vm_coreos_k8s: /home/apmelton/projects/magnum/magnum/templates/heat-kubernetes/kubecluster-coreos.yaml | |
Disabled Templates | |
================== | |
example_template: /home/apmelton/projects/magnum/.venv/local/lib/python2.7/site-packages/ExampleTemplate-0.1-py2.7.egg/example_template/example.yaml |
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
Bay/BayModel API & Heat Conductor Handler | |
1) Add coe attribute to BayModel models | |
2) Use coe attribute in heat handler's get_template_definition(...) calls | |
Template and TemplateDefinitions | |
3) Add Swarm TemplateDefinition | |
note) Around this time I may see about merging swarm template into heat-coe-templates along creating the TemplateDefinitions for heat-coe-templates | |
Container API & COntainer Conductor Handler | |
4) Add bay_uuid attribute to Container model |
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
total used free shared buffers cached | |
Mem: 31G 16G 15G 1.1M 184M 7.1G |
NewerOlder