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
# docker version | |
Client version: 1.7.1.fc21 | |
Client API version: 1.19 | |
Package Version (client): docker-io-1.7.1-2.git33de319.fc21.x86_64 | |
Go version (client): go1.4.2 | |
Git commit (client): 33de319/1.7.1 | |
OS/Arch (client): linux/amd64 | |
Server version: 1.7.1.fc21 | |
Server API version: 1.19 | |
Package Version (server): docker-io-1.7.1-2.git33de319.fc21.x86_64 |
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
2015-10-06 20:22:33.679 ERROR oslo_db.sqlalchemy.exc_filters [-] DBAPIError exception wrapped from (pymysql.err.InternalError) (1054, u"Unknown column 'container.memory' in 'field list'") [SQL: u'SELECT count(*) AS count_1 \nFROM (SELECT container.created_at AS container_created_at, container.updated_at AS container_updated_at, container.id AS container_id, container.project_id AS container_project_id, container.user_id AS container_user_id, container.uuid AS container_uuid, container.name AS container_name, container.image AS container_image, container.command AS container_command, container.bay_uuid AS container_bay_uuid, container.status AS container_status, container.memory AS container_memory \nFROM container) AS anon_1'] | |
2015-10-06 20:22:33.679 TRACE oslo_db.sqlalchemy.exc_filters Traceback (most recent call last): | |
2015-10-06 20:22:33.679 TRACE oslo_db.sqlalchemy.exc_filters File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 1139, in _execute_context | |
2015-10-06 20:22:33.679 |
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
$ heat stack-show swarm-mq4od7wpiqxc | |
+-----------------------+------------------------------------------------------------------------------------------------------------------------------------+ | |
| Property | Value | | |
+-----------------------+------------------------------------------------------------------------------------------------------------------------------------+ | |
| capabilities | [] | | |
.... | | |
| stack_name | swarm-mq4od7wpiqxc | | |
| stack_owner | None |
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
It would also be a big help if you could cherry pick the patch and test it in your lab env: | |
https://review.openstack.org/#/c/224367/8 | |
You should be able to create a baymodel that uses coe=swarm. | |
You can either not specify a network-driver or network-driver=flannel when creating the baymodel. | |
You can also pass the same labels that you do with k8s to change flannel default configs: | |
Example: | |
magnum --debug baymodel-create --name swarm --image-id fedora-21-atomic-3 --keypair-id your_kp \ | |
--external-network-id public --dns-nameserver 8.8.8.8 --flavor-id m1.small --coe swarm \ | |
--docker-volume-size 2 --network-driver flannel \ |
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
Mgt: | |
NAME=enp15s0 | |
TYPE=Ethernet | |
BOOTPROTO=none | |
ONBOOT=yes | |
IPV4_FAILURE_FATAL=no | |
UUID=cea61b61-ef12-4c7c-a0cc-e94ee18caa87 | |
HWADDR=A4:4C:11:13:A7:F2 | |
Neutron: |
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
#paste in here | |
$ git log --oneline | |
adc909a Updates Swarm Heat Templates for Container Network Model | |
fd2e760 Baymodel create should allow no network_driver specified | |
98f915a Merge "Pull metrics by using TLS enabled client" | |
# systemctl status swarm-manager.service -l | |
● swarm-manager.service - Swarm Manager | |
Loaded: loaded (/etc/systemd/system/swarm-manager.service; enabled) |
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
# my setup is 2 nodes, a kube master running kube-api/schedule/controller-mgr/docker/etcd | |
# and a minion running docker/kubelet/proxy | |
# Note: I was able to successfully instantiate pods/services prior to netplugin changes | |
#kubelet now starts with netplugin | |
# systemctl status kubelet.service -l | |
● kubelet.service - Kubernetes Kubelet Server | |
Loaded: loaded (/usr/lib/systemd/system/kubelet.service; enabled) | |
Active: active (running) since Sun 2015-10-18 20:14:45 UTC; 23min ago | |
Docs: https://github.com/GoogleCloudPlatform/kubernetes |
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
# kubelet config | |
[Unit] | |
Description=Kubernetes Kubelet Server | |
Documentation=https://github.com/GoogleCloudPlatform/kubernetes | |
After=docker.service | |
Requires=docker.service | |
[Service] | |
WorkingDirectory=/var/lib/kubelet |
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
$ magnum --debug baymodel-create --name test123 --image-id fedora-21-atomic-6 \ | |
--keypair-id test --external-network-id public --dns-nameserver 1.1.1.1 \ | |
--flavor-id m1.small --coe kubernetes --docker-volume-size 2 \ | |
--labels flannel_use_vxlan=true,flannel_network_subnetlen=26,flannel_network_cidr=1.1.0.0/16 | |
$ magnum baymodel-show test123 | |
+---------------------+--------------------------------------------------------------------------------------------------------+ | |
| Property | Value | | |
+---------------------+--------------------------------------------------------------------------------------------------------+ | |
| http_proxy | None | |
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
$ cat local.conf | |
[[local|localrc]] | |
VOLUME_BACKING_FILE_SIZE=100G | |
#GLANCE_BRANCH=1.0.0.0b1 | |
#GLANCE_BRANCH=2015.1.2 | |
#NOVA_BRANCH=2015.1.2 | |
#KEYSTONE_BRANCH=2015.1.2 | |
#HEAT_BRANCH=2015.1.2 | |
#CINDER_BRANCH=2015.1.2 | |
#HORIZON_BRANCH=2015.1.2 |