<div dir="ltr">hi adam,<div><br></div><div>to get inspiration, you can also define a complex deployment environment through the GUI and then download it.</div><div><br></div><div>federico</div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div><span style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px">Br,</span></div><div><span style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px">Federico</span></div><div dir="ltr"><span style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px"><br></span></div><div dir="ltr"><span style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px">--</span><br style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px"><span style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px">Future Internet is closer than you think!</span><br style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px"><span style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px"><a href="http://www.fiware.org" target="_blank">http://www.fiware.org</a></span><br style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px"><br style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px"><span style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px">Official Mirantis partner for OpenStack Training</span><br style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px"><span style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px"><a href="https://www.create-net.org/community/openstack-training" target="_blank">https://www.create-net.org/community/openstack-training</a></span><br style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px"><br style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px"><span style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px">-- </span><br style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px"><span style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px">Dr. Federico M. Facca</span><br style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px"><br style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px"><span style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px">CREATE-NET</span><br style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px"><span style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px">Via alla Cascata 56/D</span><br style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px"><span style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px">38123 Povo Trento (Italy)</span><br style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px"><br style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px"><span style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px">P </span><span style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px">+39 0461 312471</span><br style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px"><span style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px">M +39 334 6049758</span><br style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px"><span style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px">E <a href="mailto:federico.facca@create-net.org" target="_blank">federico.facca@create-net.org</a></span><br style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px"><span style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px">T @chicco785</span><br style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px"><span style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px">W <a href="http://www.create-net.org" target="_blank">www.create-net.org</a></span></div></div></div></div></div></div></div></div></div>
<br><div class="gmail_quote">On Thu, Oct 22, 2015 at 2:49 PM, Fabrizio Soppelsa <span dir="ltr"><<a href="mailto:fsoppelsa@mirantis.com" target="_blank">fsoppelsa@mirantis.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
Adam,<br>
I suppose you're asking for Fuel 7.0, in case just query the `fuel`
command from CLI with --help [1].<br>
Also, we deprecate GRE in 7.0+ in favor of VxLAN, even if you can
force the command and use it, as I explain below.<br>
<br>
You can create your described env with this procedure:<br>
<br>
1) Create env<br>
`fuel release`<br>
id | name | state | operating_system |
version <br>
---|------------------------|-------------|------------------|-------------<br>
2 | Kilo on Ubuntu 14.04.1 | available | Ubuntu |
2015.1.0-7.0<br>
1 | Kilo on CentOS 6.5 | unavailable | CentOS |
2015.1.0-7.0<br>
`fuel env create --name MyEnv --release 2 --mode ha --net neutron
--nst gre`<br>
<br>
2) To specify to use Ceph, download the settings file:<br>
`fuel env | grep MyEnv`<br>
5 | new | MyEnv | ha_compact | 2 | None<br>
`fuel --env 5 settings download`<br>
<br>
3) Edit this file:<br>
`$EDITOR settings_5.yaml`<br>
Find the Ceph options under key 'storage' and setup as desired. To
enable Ceph, just turn the option value to 'true'. For example, set
true in 'volumes_ceph'.<br>
<br>
4) Upload this new yaml file:<br>
`fuel --env 5 settings upload`<br>
<br>
Best regards,<br>
Fabrizio<br>
<br>
<br>
[1]<br>
[root@fuel ~]# fuel env create --help<br>
usage: fuel environment [-h] [--env ENV]<br>
[--list | --set | --delete | --create |
--update]<br>
[--release RELEASE] [--force] [--name NAME]<br>
[--mode {multinode,ha}] [--net
{nova,neutron}]<br>
[--nst {gre,vlan,tun}] [--deployment-tasks]<br>
[--attributes] [--download | --upload]
[--dir DIR]<br>
<br>
optional arguments:<br>
-h, --help show this help message and exit<br>
--env ENV, --env-id ENV<br>
environment id<br>
--list, -l List all available environments<br>
--set, -s Set environment parameters (e.g name,
deployment mode)<br>
--delete Delete environment with specific env or name<br>
--create, -c, --env-create<br>
Create a new environment with specific
release id and name<br>
--update, --env-update<br>
Update OS to specified release id for given
env<br>
--release RELEASE, --rel RELEASE<br>
Release id<br>
--force, -f Do it anyway<br>
--name NAME, --env-name NAME<br>
Environment name<br>
--mode {multinode,ha}, -m {multinode,ha}, --deployment-mode
{multinode,ha}<br>
Set deployment mode for specific environment<br>
--net {nova,neutron}, -n {nova,neutron}, --network-mode
{nova,neutron}<br>
Set network mode for specific environment<br>
--nst {gre,vlan,tun}, --net-segment-type {gre,vlan,tun}<br>
Set network segment type<br>
--deployment-tasks Environment tasks configuration<br>
--attributes Environment attributes<br>
--download, -d Download configuration of specific cluster<br>
--upload, -u Upload configuration to specific cluster<br>
--dir DIR Select directory to which download release
attributes<br>
<br>
Examples:<br>
<br>
To change environment name, mode or network mode:<br>
fuel --env 1 env set --name NewEnvName --mode ha_compact<br>
<br>
To create an environment with name MyEnv and release id=1 run:<br>
fuel env create --name MyEnv --rel 1<br>
<br>
By default, it creates environment with ha_compact mode and<br>
neutron with VLAN network segmentation as network provider<br>
(WARNING: nova-network is deprecated since 6.1 release).<br>
To specify other modes add optional arguments:<br>
fuel env create --name MyEnv --rel 1 \<br>
--mode ha --network-mode neutron<br>
<br>
Update environment to given OS release:<br>
fuel env --env 1 --update --release 1<br>
<br>
Print all available environments:<br>
fuel env<br>
<br>
Modify deployment_tasks for environment:<br>
fuel env --env 1 --deployment-tasks --download<br>
fuel env --env 1 --deployment-tasks --upload<br>
<br>
To delete the environment:<br>
fuel --env 1 env --force delete<br>
<br>
Modify attributes of the environment:<br>
fuel env --env 1 --attributes --download<br>
fuel env --env 1 --attributes --upload<div><div class="h5"><br>
<br>
<br>
<br>
<div>On 10/22/2015 12:09 AM, Adam Lawson
wrote:<br>
</div>
</div></div><blockquote type="cite"><div><div class="h5">
<div dir="ltr">I'm being asked how to create a new environment
using fuel cli. I need to know how to define KVM, neutron/GRE
with Ceph back-end for everything. The docs gives examples but
don't go into specifics.<br clear="all">
<div>
<div>
<div dir="ltr">
<div><font>
<div style="font-family:arial;font-size:small"><b><i><br>
Adam Lawson</i></b></div>
<div><font><font size="1" color="#666666">
<div style="font-family:arial"><br>
</div>
<div style="font-family:arial;font-size:small">AQORN,
Inc.</div>
<div style="font-family:arial;font-size:small">427
North Tatnall Street</div>
<div style="font-family:arial;font-size:small">Ste.
58461</div>
<div style="font-family:arial;font-size:small">Wilmington,
Delaware 19801-2230</div>
<div style="font-family:arial;font-size:small">Toll-free:
(844) 4-AQORN-NOW ext. 101</div>
<div style="font-family:arial;font-size:small">International:
<a href="tel:%2B1%20302-387-4660" value="+13023874660" target="_blank">+1 302-387-4660</a></div>
</font><font size="1" color="#666666">
<div style="font-family:arial;font-size:small">Direct:
<a href="tel:%2B1%20916-246-2072" value="+19162462072" target="_blank">+1 916-246-2072</a></div>
</font></font></div>
</font></div>
<div style="font-family:arial;font-size:small"><img src="http://www.aqorn.com/images/logo.png" height="39" width="96"><br>
</div>
</div>
</div>
</div>
</div>
<br>
<fieldset></fieldset>
<br>
</div></div><pre>_______________________________________________
Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a>
Post to : <a href="mailto:openstack@lists.openstack.org" target="_blank">openstack@lists.openstack.org</a>
Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a>
</pre>
</blockquote>
<br>
</div>
<br>_______________________________________________<br>
Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
Post to : <a href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a><br>
Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
<br></blockquote></div><br></div>