settingsLogin | Registersettings

[openstack-dev] [magnum] How to use docker-swarm bay in magnum

0 votes

Greetings,

Currently, there is a docker-swarm bay in magnum, but the problem is after
this swarm bay was created, how to let user use this bay? Still using swarm
CLI? The magnum do not have API/CLI to interact with swarm bay now.

--
Thanks,

Jay Lau (Guangya Liu)


OpenStack Development Mailing List (not for usage questions)
Unsubscribe: OpenStack-dev-request@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
asked Apr 14, 2015 in openstack-dev by Jay_Lau (7,320 points)   1 8 11

4 Responses

0 votes

???Hi Jay,

Magnum Bays do not currently use the docker-swarm template. I'm working on a patch to add support for the docker-swarm template. That is going to require a new TemplateDefinition, and potentially some new config options and/or Bay/BayModel parameters. After that, the Docker container conductor will need to be updated to pull it's connection string from the Bay instead of the

To answer your main question though, the idea is that once users can build a docker-swarm bay, they will use the container endpoints of our API to interact with the bay.

--Andrew


From: Jay Lau jay.lau.513@gmail.com
Sent: Tuesday, April 14, 2015 5:33 AM
To: OpenStack Development Mailing List
Subject: [openstack-dev] [magnum] How to use docker-swarm bay in magnum

Greetings,

Currently, there is a docker-swarm bay in magnum, but the problem is after this swarm bay was created, how to let user use this bay? Still using swarm CLI? The magnum do not have API/CLI to interact with swarm bay now.

--
Thanks,

Jay Lau (Guangya Liu)


OpenStack Development Mailing List (not for usage questions)
Unsubscribe: OpenStack-dev-request@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
responded Apr 15, 2015 by Andrew_Melton (680 points)   1 3
0 votes

For docker-swam bay,I think the bay looks like a big machine have a docker-daemon.We can create container in it.
From: andrew.melton@RACKSPACE.COM
To: openstack-dev@lists.openstack.org
Date: Wed, 15 Apr 2015 14:53:39 +0000
Subject: Re: [openstack-dev] [magnum] How to use docker-swarm bay in magnum

​​​Hi Jay,

Magnum Bays do not currently use the docker-swarm template. I'm working on a patch to add support for the docker-swarm template. That is going to require a new TemplateDefinition, and potentially some new config options and/or Bay/BayModel parameters. After
that, the Docker container conductor will need to be updated to pull it's connection string from the Bay instead of the

To answer your main question though, the idea is that once users can build a docker-swarm bay, they will use the container endpoints of our API to interact with the bay.

--Andrew

From: Jay Lau jay.lau.513@gmail.com

Sent: Tuesday, April 14, 2015 5:33 AM

To: OpenStack Development Mailing List

Subject: [openstack-dev] [magnum] How to use docker-swarm bay in magnum

Greetings,

Currently, there is a docker-swarm bay in magnum, but the problem is after this swarm bay was created, how to let user use this bay? Still using swarm CLI? The magnum do not have API/CLI to interact with swarm bay now.

--

Thanks,

Jay Lau (Guangya Liu)


OpenStack Development Mailing List (not for usage questions)
Unsubscribe: OpenStack-dev-request@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev __________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: OpenStack-dev-request@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
responded Apr 15, 2015 by FangFenghua (300 points)   1
0 votes

Thanks Andrew and Fenghua. I see. The current docker-swarm template only
using heat to create a swarm cluster, I see you have many bps related to
this. ;-)

2015-04-15 23:13 GMT+08:00 FangFenghua fang_fenghua@hotmail.com:

For docker-swam bay,I think the bay looks like a big machine have a
docker-daemon.
We can create container in it.


From: andrew.melton@RACKSPACE.COM
To: openstack-dev@lists.openstack.org
Date: Wed, 15 Apr 2015 14:53:39 +0000
Subject: Re: [openstack-dev] [magnum] How to use docker-swarm bay in magnum

​​​Hi Jay,

Magnum Bays do not currently use the docker-swarm template. I'm working on
a patch to add support for the docker-swarm template. That is going to
require a new TemplateDefinition, and potentially some new config options
and/or Bay/BayModel parameters. After that, the Docker container conductor
will need to be updated to pull it's connection string from the Bay instead
of the

To answer your main question though, the idea is that once users can build
a docker-swarm bay, they will use the container endpoints of our API to
interact with the bay.

--Andrew


From: Jay Lau jay.lau.513@gmail.com
Sent: Tuesday, April 14, 2015 5:33 AM
To: OpenStack Development Mailing List
Subject: [openstack-dev] [magnum] How to use docker-swarm bay in magnum

Greetings,

Currently, there is a docker-swarm bay in magnum, but the problem is
after this swarm bay was created, how to let user use this bay? Still using
swarm CLI? The magnum do not have API/CLI to interact with swarm bay now.

--
Thanks,

Jay Lau (Guangya Liu)


OpenStack Development Mailing List (not for usage questions) Unsubscribe:
OpenStack-dev-request@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


OpenStack Development Mailing List (not for usage questions)
Unsubscribe: OpenStack-dev-request@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

--
Thanks,

Jay Lau (Guangya Liu)


OpenStack Development Mailing List (not for usage questions)
Unsubscribe: OpenStack-dev-request@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
responded Apr 15, 2015 by Jay_Lau (7,320 points)   1 8 11
0 votes

Maybe we can add a object mapping to docker-compose.

Date: Wed, 15 Apr 2015 23:32:01 +0800
From: jay.lau.513@gmail.com
To: openstack-dev@lists.openstack.org
Subject: Re: [openstack-dev] [magnum] How to use docker-swarm bay in magnum

Thanks Andrew and Fenghua. I see. The current docker-swarm template only using heat to create a swarm cluster, I see you have many bps related to this. ;-)

2015-04-15 23:13 GMT+08:00 FangFenghua fang_fenghua@hotmail.com:

For docker-swam bay,I think the bay looks like a big machine have a docker-daemon.We can create container in it.
From: andrew.melton@RACKSPACE.COM
To: openstack-dev@lists.openstack.org
Date: Wed, 15 Apr 2015 14:53:39 +0000
Subject: Re: [openstack-dev] [magnum] How to use docker-swarm bay in magnum

​​​Hi Jay,

Magnum Bays do not currently use the docker-swarm template. I'm working on a patch to add support for the docker-swarm template. That is going to require a new TemplateDefinition, and potentially some new config options and/or Bay/BayModel parameters. After
that, the Docker container conductor will need to be updated to pull it's connection string from the Bay instead of the

To answer your main question though, the idea is that once users can build a docker-swarm bay, they will use the container endpoints of our API to interact with the bay.

--Andrew

From: Jay Lau jay.lau.513@gmail.com

Sent: Tuesday, April 14, 2015 5:33 AM

To: OpenStack Development Mailing List

Subject: [openstack-dev] [magnum] How to use docker-swarm bay in magnum

Greetings,

Currently, there is a docker-swarm bay in magnum, but the problem is after this swarm bay was created, how to let user use this bay? Still using swarm CLI? The magnum do not have API/CLI to interact with swarm bay now.

--

Thanks,

Jay Lau (Guangya Liu)


OpenStack Development Mailing List (not for usage questions)
Unsubscribe: OpenStack-dev-request@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

OpenStack Development Mailing List (not for usage questions)

Unsubscribe: OpenStack-dev-request@lists.openstack.org?subject:unsubscribe

http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

--
Thanks,

Jay Lau (Guangya Liu)


OpenStack Development Mailing List (not for usage questions)
Unsubscribe: OpenStack-dev-request@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev __________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: OpenStack-dev-request@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
responded Apr 15, 2015 by FangFenghua (300 points)   1
...