Conjure-Up
Ubuntu
root@server:~# sudo snap install conjure-up --classic
conjure-up 2.5.2-20180113.1501 from 'canonical' installed
root@server:~#
xe1gyq@server:~$ sudo snap install lxd
xe1gyq@server:~$ sudo usermod -a -G lxd xe1gyq
xe1gyq@server:~$ newgrp lxd
xe1gyq@server:~$ /snap/bin/lxd init
Do you want to configure a new storage pool (yes/no) [default=yes]?
Name of the new storage pool [default=default]:
Name of the storage backend to use (dir, btrfs, ceph, lvm) [default=btrfs]:
Create a new BTRFS pool (yes/no) [default=yes]?
Would you like to use an existing block device (yes/no) [default=no]?
Size in GB of the new loop device (1GB minimum) [default=15GB]:
Would you like LXD to be available over the network (yes/no) [default=yes]?
Would you like stale cached images to be updated automatically (yes/no) [default=yes]?
Would you like to create a new network bridge (yes/no) [default=yes]?
What IPv4 address should be used (CIDR subnet notation, “auto” or “none”) [default=auto]?
What IPv6 address should be used (CIDR subnet notation, “auto” or “none”) [default=auto]? none
LXD has been successfully configured.
xe1gyq@server:~$
Ubuntu :: Conjure-Up OpenStack
xe1gyq@server:~$ conjure-up
OpenStack with NovaLXD
Deploys a basic OpenStack Cloud (Pike release) on Ubuntu 16.04 LTS, providing Dashboard, Compute, Network, Block Storage, Object Storage, Identity and Image services. This can be deployed on a Single machine for quick Proof-of-Concepts and local development of OpenStack components and services.
OpenStack with NovaKVM
Deploys a basic OpenStack Cloud (Pike release) on Ubuntu 16.04 LTS, providing Dashboard, Compute, Network, Block Storage, Object Storage, Identity and Image services.
Juju Controller is initializing. Please wait.
Creating Juju controller "conjure-up-localhost-b8d" on localhost/localhost
Looking for packaged Juju agent version 2.3.1 for amd64
To configure your system to better support LXD containers, please see:
https://github.com/lxc/lxd/blob/master/doc/production-setup.md
Launching controller instance(s) on localhost/localhost...
Juju Controller is initializing. Please wait.
- preparing image
- container started
- juju-e1901c-0 (arch=amd64)
Installing Juju agent on bootstrap instance
Fetching Juju GUI 2.12.1
Waiting for address
Attempting to connect to 10.7.92.192:22
Connected to 10.7.92.192
Running machine configuration script...
✓ ceph-mon/0 active
Unit is ready and clustered
──────────────────────────────────────────────────────────────────────────────────────────────────────────
✓ ceph-mon/1 active
Unit is ready and clustered
──────────────────────────────────────────────────────────────────────────────────────────────────────────
✓ ceph-mon/2 active
Unit is ready and clustered
──────────────────────────────────────────────────────────────────────────────────────────────────────────
✓ ceph-osd/0 active
Unit is ready (1 OSD)
──────────────────────────────────────────────────────────────────────────────────────────────────────────
✓ ceph-osd/1 active
Unit is ready (1 OSD)
──────────────────────────────────────────────────────────────────────────────────────────────────────────
✓ ceph-osd/2 active
Unit is ready (1 OSD)
──────────────────────────────────────────────────────────────────────────────────────────────────────────
✓ ceph-radosgw/0 active
Unit is ready
──────────────────────────────────────────────────────────────────────────────────────────────────────────
✓ glance/0 active
Unit is ready
──────────────────────────────────────────────────────────────────────────────────────────────────────────
✓ keystone/0 active
Unit is ready
──────────────────────────────────────────────────────────────────────────────────────────────────────────
✓ mysql/0 active
Unit is ready
──────────────────────────────────────────────────────────────────────────────────────────────────────────
✓ neutron-api/0 active
Unit is ready
──────────────────────────────────────────────────────────────────────────────────────────────────────────
✓ neutron-gateway/0 active
Unit is ready
──────────────────────────────────────────────────────────────────────────────────────────────────────────
✓ nova-cloud-controller/0 active
Unit is ready
──────────────────────────────────────────────────────────────────────────────────────────────────────────
✓ nova-compute/0 active
Unit is ready
──────────────────────────────────────────────────────────────────────────────────────────────────────────
✓ openstack-dashboard/0 active
Unit is ready
──────────────────────────────────────────────────────────────────────────────────────────────────────────
✓ rabbitmq-server/0 active
Unit is ready
──────────────────────────────────────────────────────────────────────────────────────────────────────────
✓ lxd/0 active
Unit is ready
──────────────────────────────────────────────────────────────────────────────────────────────────────────
✓ neutron-openvswitch/0 active
Unit is ready
15 Applications in openstack-novalxd:
ceph-mon
ceph-osd
ceph-radosgw
glance
keystone
lxd
mysql
neutron-api
neutron-gateway
neutron-openvswitch
nova-cloud-controller
nova-compute
ntp
openstack-dashboard
rabbitmq-server
xe1gyq@server:~$ sudo lxc list
+----------------+---------+----------------------+------+------------+-----------+
| NAME | STATE | IPV4 | IPV6 | TYPE | SNAPSHOTS |
+----------------+---------+----------------------+------+------------+-----------+
| juju-076f18-0 | RUNNING | 10.24.126.79 (eth0) | | PERSISTENT | 0 |
+----------------+---------+----------------------+------+------------+-----------+
| juju-40625e-0 | RUNNING | 10.24.126.185 (eth0) | | PERSISTENT | 0 |
+----------------+---------+----------------------+------+------------+-----------+
| juju-40625e-1 | RUNNING | 10.24.126.239 (eth0) | | PERSISTENT | 0 |
+----------------+---------+----------------------+------+------------+-----------+
| juju-40625e-10 | RUNNING | 10.24.126.42 (eth0) | | PERSISTENT | 0 |
+----------------+---------+----------------------+------+------------+-----------+
| juju-40625e-11 | RUNNING | 10.24.126.2 (eth0) | | PERSISTENT | 0 |
+----------------+---------+----------------------+------+------------+-----------+
| juju-40625e-12 | RUNNING | 10.24.126.254 (eth0) | | PERSISTENT | 0 |
+----------------+---------+----------------------+------+------------+-----------+
| juju-40625e-13 | RUNNING | 10.24.126.135 (eth0) | | PERSISTENT | 0 |
+----------------+---------+----------------------+------+------------+-----------+
| juju-40625e-14 | RUNNING | 10.24.126.146 (eth0) | | PERSISTENT | 0 |
+----------------+---------+----------------------+------+------------+-----------+
| juju-40625e-15 | RUNNING | 10.24.126.133 (eth0) | | PERSISTENT | 0 |
+----------------+---------+----------------------+------+------------+-----------+
| juju-40625e-2 | RUNNING | 10.24.126.117 (eth0) | | PERSISTENT | 0 |
+----------------+---------+----------------------+------+------------+-----------+
| juju-40625e-3 | RUNNING | 10.24.126.214 (eth0) | | PERSISTENT | 0 |
+----------------+---------+----------------------+------+------------+-----------+
| juju-40625e-4 | RUNNING | 10.24.126.215 (eth0) | | PERSISTENT | 0 |
+----------------+---------+----------------------+------+------------+-----------+
| juju-40625e-5 | RUNNING | 10.24.126.184 (eth0) | | PERSISTENT | 0 |
+----------------+---------+----------------------+------+------------+-----------+
| juju-40625e-7 | RUNNING | 10.24.126.191 (eth0) | | PERSISTENT | 0 |
+----------------+---------+----------------------+------+------------+-----------+
| juju-40625e-8 | RUNNING | 10.24.126.74 (eth0) | | PERSISTENT | 0 |
+----------------+---------+----------------------+------+------------+-----------+
| juju-40625e-9 | RUNNING | 10.24.126.132 (eth0) | | PERSISTENT | 0 |
+----------------+---------+----------------------+------+------------+-----------+
xe1gyq@server:~$
Ubuntu :: Lxc
xe1gyq@server:~$ lxc launch ubuntu:16.04
Creating the container
Container name is: good-silkworm
Starting good-silkworm
xe1gyq@server:~$ lxc exec good-silkworm ls
xe1gyq@server:~$ lxc exec good-silkworm bash
xe1gyq@good-silkworm:~#
root@good-silkworm:~# ps -aux
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 1 0.0 0.2 37636 5620 ? Ss 06:00 0:00 /sbin/init
root 56 0.0 0.1 35272 3228 ? Ss 06:00 0:00 /lib/systemd/systemd-journald
root 58 0.0 0.1 41720 3232 ? Ss 06:00 0:00 /lib/systemd/systemd-udevd
message+ 288 0.0 0.1 42896 3772 ? Ss 06:00 0:00 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile
daemon 293 0.0 0.1 26044 2224 ? Ss 06:00 0:00 /usr/sbin/atd -f
root 294 0.0 0.1 26068 2540 ? Ss 06:00 0:00 /usr/sbin/cron -f
root 295 0.0 0.0 20096 1188 ? Ss 06:00 0:00 /lib/systemd/systemd-logind
syslog 297 0.0 0.1 186896 3316 ? Ssl 06:00 0:00 /usr/sbin/rsyslogd -n
root 299 0.0 0.2 65508 5348 ? Ss 06:00 0:00 /usr/sbin/sshd -D
root 300 0.0 0.2 272868 5948 ? Ssl 06:00 0:00 /usr/lib/accountsservice/accounts-daemon
root 301 0.0 1.1 194952 22660 ? Ssl 06:00 0:00 /usr/lib/snapd/snapd
root 320 0.0 0.3 277176 6164 ? Ssl 06:00 0:00 /usr/lib/policykit-1/polkitd --no-debug
root 346 0.0 0.0 4504 1736 ? S 06:00 0:00 /bin/sh /etc/init.d/ondemand background
root 347 0.0 0.0 12840 1812 console Ss+ 06:00 0:00 /sbin/agetty --noclear --keep-baud console 115200 38400 9600 vt220
root 360 0.0 0.0 4376 748 ? S 06:00 0:00 sleep 60
root 408 0.0 0.1 21604 3716 ? Ss 06:00 0:00 bash
root 421 0.0 0.1 37760 3260 ? R+ 06:01 0:00 ps -aux
root@good-silkworm:~#
Last updated