<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=text/html;charset=utf-8 http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 10.00.9200.16521"></HEAD>
<BODY id=MailContainerBody
style="PADDING-TOP: 15px; PADDING-LEFT: 10px; PADDING-RIGHT: 10px" leftMargin=0
topMargin=0 CanvasTabStop="true" name="Compose message area">
<DIV><FONT face=Calibri>Hi,</FONT></DIV>
<DIV><FONT face=Calibri></FONT> </DIV>
<DIV><FONT face=Calibri>@David - the webserver in my application is meant as a
monitoring component for a group of distributed processing components (these are
the ones that would require (at least) 3 more VMs) - it was just easiest to do
this component first as it has a nice way of providing feedback that it is up
and running (http responses). I would like to make this cross-cloud indeed -
AWS, GCP and some public Openstack provider (Dreamhost just came out with a nice
offering). The big advantage of the Python script is that I can easily make it
cross-cloud - and Python is great to work with.</FONT></DIV>
<DIV><FONT face=Calibri></FONT> </DIV>
<DIV><FONT face=Calibri>@Kevin - I will try Heat as well, have experimented with
it before. The cross-cloud experimentation requires the coding though. As for
fault tolerance, this could mean many things - I am pretty sure that I can make
my script reliably and reproducibly launch at least 4 VMs that provide me with
the processing and monitoring platform that I need. What I do like about the
orchestration and ceilometer components together is that they should allow for
elasiticity to be built in. I had one thing with Heat before though (and again
in the Juno release), I think in a devstack deployment, where I terminated
a server (VM) from Horizon that had been created as part of a stack - and then I
could no longer remove the stack. I did not try this again so far as I do not
want to mess up my deployment.</FONT></DIV>
<DIV><FONT face=Calibri></FONT> </DIV>
<DIV><FONT face=Calibri>Kind regards,</FONT></DIV>
<DIV><FONT face=Calibri>Bart</FONT></DIV>
<DIV><FONT face=Calibri></FONT> </DIV>
<DIV style="FONT: 10pt Tahoma">
<DIV><BR></DIV>
<DIV style="BACKGROUND: #f5f5f5">
<DIV style="font-color: black"><B>From:</B> <A title=flanders@openstack.org
href="mailto:flanders@openstack.org">David F Flanders</A> </DIV>
<DIV><B>Sent:</B> Tuesday, April 12, 2016 4:38 AM</DIV>
<DIV><B>To:</B> <A
title="mailto:Kevin.Fox@pnnl.gov
Druk op CTRL en klik als je de link wilt volgen"
href="mailto:Kevin.Fox@pnnl.gov">Fox, Kevin M</A> </DIV>
<DIV><B>Cc:</B> <A title=bart.demeulenaere@venean.com
href="mailto:bart.demeulenaere@venean.com">Bart Demeulenaere</A> ; <A
title=user-committee@lists.openstack.org
href="mailto:user-committee@lists.openstack.org">user-committee@lists.openstack.org</A>
</DIV>
<DIV><B>Subject:</B> Re: [User-committee] [app] 1st milestone for my first
Openstack Application</DIV></DIV></DIV>
<DIV><BR></DIV>
<DIV dir=ltr>
<DIV class=gmail_default style="FONT-FAMILY: tahoma,sans-serif">Hi Bart,
</DIV>
<DIV class=gmail_default style="FONT-FAMILY: tahoma,sans-serif"><BR></DIV>
<DIV class=gmail_default style="FONT-FAMILY: tahoma,sans-serif">Is this script
intended to run across multiple clouds to test the basics of being able to
"build a webserver" on any given cloud, aka "AppDev usability of clouds"?
</DIV>
<DIV class=gmail_default style="FONT-FAMILY: tahoma,sans-serif"><BR></DIV>
<DIV class=gmail_default style="FONT-FAMILY: tahoma,sans-serif">Hence not being
able to use Heat, as Heat doesn't work with AWS, Azure, GCP, etc.?</DIV>
<DIV class=gmail_default style="FONT-FAMILY: tahoma,sans-serif"><BR></DIV>
<DIV class=gmail_default style="FONT-FAMILY: tahoma,sans-serif">Apologies if
I've got crossed wires.</DIV>
<DIV class=gmail_default style="FONT-FAMILY: tahoma,sans-serif"><BR></DIV>
<DIV class=gmail_default style="FONT-FAMILY: tahoma,sans-serif">I've also love
to hear your impression of ask.openstack from an AppDev PoV, but that for
another thread.</DIV>
<DIV class=gmail_default style="FONT-FAMILY: tahoma,sans-serif"><BR></DIV>
<DIV class=gmail_default style="FONT-FAMILY: tahoma,sans-serif">Best,
Flanders</DIV></DIV>
<DIV class=gmail_extra><BR>
<DIV class=gmail_quote>On Tue, Apr 12, 2016 at 8:42 AM, Fox, Kevin M <SPAN
dir=ltr><<A href="mailto:Kevin.Fox@pnnl.gov"
target=_blank>Kevin.Fox@pnnl.gov</A>></SPAN> wrote:<BR>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Cool.
:)<BR><BR>I'd recommend looking into OpenStack Heat very closely though for
doing most of the heavy lifting. Doing the deployment Declaratively makes for
significantly less code then trying to do it Imperatively and makes it much
more fault tolerant.<BR><BR>You can do something
like:<BR>parameters:<BR> Name: Server1<BR> Flavor:
m1.large<BR> ExtraUserData: "yum install -y httpd; systemctl start
httpd; systemctl enable httpd"<BR> PrimarySecurityGroup: web<BR>
PrimaryNetworkId: cd5f6918-2870-48f4-85d1-722e70350ed4<BR><BR>heat
stack-create -e <the file above> -u <A
href="https://raw.githubusercontent.com/EMSL-MSC/heat-templates/master/cfn/lib/SimpleServer.yaml"
rel=noreferrer
target=_blank>https://raw.githubusercontent.com/EMSL-MSC/heat-templates/master/cfn/lib/SimpleServer.yaml</A>
MyStack<BR><BR>Done. :)<BR><BR>I'm continuing development on the lib templates
to make them even more generic/configurable to make it even easier to launch
complicated setups without much code. See some of the parent directories for
more
examples.<BR><BR>Thanks,<BR>Kevin<BR><BR>________________________________________<BR>From:
Bart Demeulenaere [<A
href="mailto:bart.demeulenaere@venean.com">bart.demeulenaere@venean.com</A>]<BR>Sent:
Monday, April 11, 2016 3:13 PM<BR>To: <A
href="mailto:user-committee@lists.openstack.org">user-committee@lists.openstack.org</A><BR>Subject:
[User-committee] [app] 1st milestone for my first Openstack
Application<BR>
<DIV class=HOEnZb>
<DIV class=h5><BR>Hi,<BR><BR>Over the past 2 months with so little time I can
dedicate to this effort I<BR>have been crawling towards my first Opensatck
application. Today I have<BR>reached my first milestone. So what is this
about?<BR><BR>The Openstack deployment is:<BR>- Mirantis 6.0/Openstack Juno
(so old) on a single hardware box in a bunch<BR>of Virtualbox VMs (6 of them)
- the Openstack VMs have no internet access<BR>- Nova networking (could not
get Neutron configured so I could use it)<BR>- Swift object storage<BR><BR>My
first milestone is a Python script that will upload a software archive
to<BR>the Object storage, then launch a VM on Openstack that upon
boot<BR>(cloud-init) will download that archive and start a webserver from it
that<BR>is externally accessible. So prerequisites are an uploaded cloud-image
for<BR>the VM and a security group (with SSH key and port rules). The
webserver<BR>just returns 'exception' when contacted as it is supposed to
monitor another<BR>part of y application that I have not yet up and running
(next milestone).<BR>Point is though - it is auto-launched at VM creation time
(running as a<BR>non-root user) and it is externally accessible, returning
something.<BR><BR>I used the nova-python sdk and swift-python sdk for this,
tried first with<BR>the integrated OpenstackPythonSDK, but my deployment is
likely too old and<BR>it has no Neutron, so that did not work out. I also had
to as a question on<BR>Ask Openstack to get up to speed with the python SDK
documentation. The<BR>answer I got to my question there provided snippets that
did not run, but<BR>they kickstarted my understanding of the SDK, so they were
more than welcome<BR>and extremely useful in that respect.<BR><BR>Next
milestone: get the other parts of the app deployed and running (at<BR>least 3
more VMs) and get all VMs communicating with each other.<BR><BR>Kind
regards,<BR>Bart<BR><BR>--------------------------------------------------<BR>From:
"Bonell Manjarrez, Marcela" <<A
href="mailto:marcela.bonell.manjarrez@intel.com">marcela.bonell.manjarrez@intel.com</A>><BR>Sent:
Monday, February 08, 2016 11:59 PM<BR>To: <<A
href="mailto:user-committee@lists.openstack.org">user-committee@lists.openstack.org</A>><BR>Subject:
[User-committee] [app] Deploying FirstApp in Trystack<BR><BR>> Hi
folks,<BR>><BR>> Good news, I'm able to deploy the FirstApp (getting
started script) in<BR>> Trystack [1] with shade!<BR>><BR>> First, I
tried with libcloud without success, because libcloud has<BR>> problems
with networking (security groups).<BR>> Then I tried with shade and
everything worked fine!<BR>><BR>> The pre-work required to deploy the
app is:<BR>><BR>> * Generate an API password (Settings tab)<BR>> *
Create an internal network<BR>> * Create a router<BR>> * Connect the
internal and public networks with the router<BR>><BR>> All these steps
are well documented in a video[2] that is accessible from<BR>> Trystack
horizon login page [3].<BR>><BR>> Despite the fact that Trystack is for
testing purposes only (your<BR>> instances are available just for 1-3
days), it can be used for training or<BR>> to explore app development such
as the FirstApp tutorial.<BR>><BR>> [1] <A href="http://trystack.org/"
rel=noreferrer target=_blank>http://trystack.org/</A><BR>> [2] <A
href="https://www.youtube.com/watch?v=z-M5Vt4-HYg" rel=noreferrer
target=_blank>https://www.youtube.com/watch?v=z-M5Vt4-HYg</A><BR>> [3] <A
href="https://x86.trystack.org/dashboard/auth/login/?next=/dashboard/"
rel=noreferrer
target=_blank>https://x86.trystack.org/dashboard/auth/login/?next=/dashboard/</A><BR>><BR>>
Marcela Bonell.<BR>>
_______________________________________________<BR>> User-committee mailing
list<BR>> <A
href="mailto:User-committee@lists.openstack.org">User-committee@lists.openstack.org</A><BR>>
<A href="http://lists.openstack.org/cgi-bin/mailman/listinfo/user-committee"
rel=noreferrer
target=_blank>http://lists.openstack.org/cgi-bin/mailman/listinfo/user-committee</A><BR><BR><BR>_______________________________________________<BR>User-committee
mailing list<BR><A
href="mailto:User-committee@lists.openstack.org">User-committee@lists.openstack.org</A><BR><A
href="http://lists.openstack.org/cgi-bin/mailman/listinfo/user-committee"
rel=noreferrer
target=_blank>http://lists.openstack.org/cgi-bin/mailman/listinfo/user-committee</A><BR><BR>_______________________________________________<BR>User-committee
mailing list<BR><A
href="mailto:User-committee@lists.openstack.org">User-committee@lists.openstack.org</A><BR><A
href="http://lists.openstack.org/cgi-bin/mailman/listinfo/user-committee"
rel=noreferrer
target=_blank>http://lists.openstack.org/cgi-bin/mailman/listinfo/user-committee</A><BR></DIV></DIV></BLOCKQUOTE></DIV><BR></DIV></BODY></HTML>