2023-06-26 09:18:09 LXD network name set to lxdfan0 Since Juju 2 is being run for the first time, it has downloaded the latest public cloud information. Only clouds with registered credentials are shown. There are more clouds, use --all to see them. 2023-06-26 09:18:11 Public location: 192.9.129.20 2023-06-26 09:18:11 Public address: 192.9.129.20 2023-06-26 09:18:11 Private address: 10.0.60.99 2023-06-26 09:18:11 Private subnet: 10.0.0.0/16 2023-06-26 09:18:11 Running on OCI, applying firewall rules # Warning: iptables-legacy tables present, use iptables-legacy to see them iptables v1.8.7 (nf_tables): chain `anbox-ingress' in table `filter' is incompatible, use 'nft' tool. # Warning: iptables-legacy tables present, use iptables-legacy to see them iptables v1.8.7 (nf_tables): chain `anbox-forward' in table `filter' is incompatible, use 'nft' tool. 2023-06-26 09:18:11 Using UA subscription from host 2023-06-26 09:18:11 Successfully extracted credentials from UA subscription 2023-06-26 09:18:11 Starting installation of dependencies WARNING: apt does not have a stable CLI interface. Use with caution in scripts. Get:1 http://ports.ubuntu.com/ubuntu-ports jammy-security InRelease [110 kB] Hit:2 http://us-sanjose-1-ad-1.clouds.ports.ubuntu.com/ubuntu-ports jammy InRelease Get:3 http://us-sanjose-1-ad-1.clouds.ports.ubuntu.com/ubuntu-ports jammy-updates InRelease [119 kB] Get:4 https://esm.ubuntu.com/apps/ubuntu jammy-apps-security InRelease [7553 B] Get:5 https://esm.ubuntu.com/apps/ubuntu jammy-apps-updates InRelease [7459 B] Get:6 http://us-sanjose-1-ad-1.clouds.ports.ubuntu.com/ubuntu-ports jammy-backports InRelease [108 kB] Get:7 https://archive.anbox-cloud.io/stable jammy InRelease [2492 B] Get:8 https://esm.ubuntu.com/infra/ubuntu jammy-infra-security InRelease [7453 B] Get:9 https://esm.ubuntu.com/infra/ubuntu jammy-infra-updates InRelease [7452 B] Get:10 http://us-sanjose-1-ad-1.clouds.ports.ubuntu.com/ubuntu-ports jammy-updates/main arm64 Packages [665 kB] Get:11 http://us-sanjose-1-ad-1.clouds.ports.ubuntu.com/ubuntu-ports jammy-updates/universe arm64 Packages [835 kB] Fetched 1869 kB in 2s (948 kB/s) Reading package lists... Building dependency tree... Reading state information... 101 packages can be upgraded. Run 'apt list --upgradable' to see them. WARNING: apt does not have a stable CLI interface. Use with caution in scripts. Reading package lists... Building dependency tree... Reading state information... cpufrequtils is already the newest version (008-2build1). expect is already the newest version (5.45.4-2build1). linux-headers-5.15.0-1037-oracle is already the newest version (5.15.0-1037.43). linux-headers-oracle is already the newest version (5.15.0.1037.32). linux-modules-extra-5.15.0-1037-oracle is already the newest version (5.15.0-1037.43). 0 upgraded, 0 newly installed, 0 to remove and 101 not upgraded. Packages installation done in parallel fs.inotify.max_queued_events = 1048576 fs.inotify.max_user_instances = 1048576 fs.inotify.max_user_watches = 1048576 vm.max_map_count = 262144 kernel.dmesg_restrict = 1 kernel.pid_max = 4194304 net.ipv4.neigh.default.gc_thresh3 = 8192 net.ipv6.neigh.default.gc_thresh3 = 8192 kernel.keys.maxkeys = 2000 kernel.keys.maxbytes = 2000000 fs.aio-max-nr = 524288 sysctl: setting key "net.ipv4.ping_group_range": Invalid argument 2023-06-26 09:18:53 LXD is ready, continuing with its initialization 2023-06-26 09:18:53 Using the following preseed configuration: config: cluster.https_address: 10.0.60.99:8443 core.https_address: 10.0.60.99:8443 cluster: enabled: true server_name: lxd0 networks: - name: lxdfan0 type: bridge config: ipv4.nat: true ipv4.dhcp.expiry: infinite fan.overlay_subnet: 240.0.0.0/8 fan.underlay_subnet: 10.0.0.0/16 bridge.mode: fan profiles: - name: default devices: root: path: / pool: data type: disk eth0: type: nic nictype: bridged parent: lxdfan0 storage_pools: - name: data driver: zfs config: size: 30GB /usr/sbin/zfs 2023-06-26 09:18:56 Tuning LXD ZFS based storage pool Storage volume backups created Storage volume images created 2023-06-26 09:18:57 Configuring Juju for our LXD cloud ....+.....+...+...+...+.+......+.....+.......+......+...........+....+.....+.+...+.....+.+..+.........+.+..+.+..............+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*.....+......+...+.+...+.....+......+.+.....+....+.....+....+......+.........+.....+.............+..+.......+.....+...+......+.+.........+..+.......+...+..+.....................+....+..+....+.........+..+...+..........+...+..+......+.......+........+.+.........+......+...+..+.+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*..........+........+....+......+..+............+...+..........+...+.....+....+...+.........+........+.+..+...............+...+....+...........+...................+.....+..........+...+..+...+.......+..+.+....................+..........+..+......+.....................+.+.........+.....+...+.+.........+........+.......+...........+.......+........+...........................+...+....+............+.....+.........+...............+....+............+........+.+......+.....+......+....+...+..+...............+...+.+......+...........+.......+.....+...+....+...+...+..............+.+..............+.........+......+.........+......+...+.......+...+.....+.+............+..+.+..+..................+......+....+...........+..........+...+..+......+...............+.......+.....+.+..+...+.+...........+....+......+..+...............+.......+...+............+.....+.+.....+.........+....+......+........+......+..........+..+.......+............+........+...+...+......+...+............+.........+....+..+......+..................+.+......+..+......................+.....+...+............+...+......+.+.....+....+............+..+.....................+....+........+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ......+..+...+....+...+..+......+....+..+......+.........+....+......+...+.....+.+.....+.+........+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*.....+...+........+...+.......+...+......+.....+......+...+....+.....+...+.......+..+.+..+..................+..................+.+...+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*..+......+......+..+.+..............+.............+.....+.............+.........+........+....+.........+.....+.+...........+.......+...+.........+....................+...............+.+........+.......+..+..........+..+...+......+.........+.+.....................+.....+...+............+......+....+...+..+......+.......+..+......+....+...........+..........+.........+......+...+.....+......+...+..........+...+..+......+.+......+........+.........+.+.........+.....+.+..+...............+.........................+..+...+.......+.....................+...............+.........+..+......+...+..........+..............+.............+..+.+......+...............+...+......+.....+.......+..+.+......+...........+...+.+........+..........+.....+.+......+......+........+....+.................+....+.....+..........+......+.....+......+.............+..............+........................................+........+...+......+.+...+..+....+...........+....+...+.....+............+....+.....+.+.....+..........+.....+...............+.+.....+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ----- 2023-06-26 09:19:03 Using following Juju cloud configuration: clouds: appliance: type: lxd auth-types: [certificate] endpoint: https://10.0.60.99:8443 config: ssl-hostname-verification: false Cloud "appliance" successfully added to your local client. You will need to add a credential for this cloud (`juju add-credential appliance`) before you can use it to bootstrap a controller (`juju bootstrap appliance`) or to create a model (`juju add-model appliance`). Credential "admin" added locally for cloud "appliance". 2023-06-26 09:19:03 Successfully configured Juju Creating Juju controller "appliance" on appliance/default Looking for packaged Juju agent version 2.9.33 for arm64 Located Juju agent version 2.9.33-ubuntu-arm64 at https://streams.canonical.com/juju/tools/agent/2.9.33/juju-2.9.33-linux-arm64.tgz 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 appliance/default... - juju-4ff182-0 (arch=arm64) Installing Juju agent on bootstrap instance Juju Dashboard installation has been disabled Waiting for address Attempting to connect to 240.60.99.120:22 Connected to 240.60.99.120 Running machine configuration script... Bootstrap agent now started Contacting Juju controller at 240.60.99.120 to verify accessibility... Bootstrap complete, controller "appliance" is now available Controller machines are in the "controller" model Initial model "default" added 2023-06-26 09:21:16 Finished Juju controller bootstrap Added 'anbox-cloud' model on appliance/default with credential 'admin' for user 'admin' 2023-06-26 09:21:18 Starting to deploy bundle Executing changes: - upload charm /snap/anbox-cloud-appliance/410/data/charms/jammy/ams.charm for series jammy with architecture=arm64 - deploy application ams on jammy - upload charm /snap/anbox-cloud-appliance/410/data/charms/jammy/anbox-cloud-dashboard.charm for series jammy with architecture=arm64 - deploy application anbox-cloud-dashboard on jammy added resource anbox-cloud-dashboard - upload charm /snap/anbox-cloud-appliance/410/data/charms/jammy/anbox-stream-agent.charm for series jammy with architecture=arm64 - deploy application anbox-stream-agent on jammy - upload charm /snap/anbox-cloud-appliance/410/data/charms/jammy/anbox-stream-gateway.charm for series jammy with architecture=arm64 - deploy application anbox-stream-gateway on jammy - upload charm /snap/anbox-cloud-appliance/410/data/charms/jammy/coturn.charm for series jammy with architecture=arm64 - deploy application coturn on jammy - expose all endpoints of coturn and allow access from CIDRs 0.0.0.0/0 and ::/0 - upload charm /snap/anbox-cloud-appliance/410/data/charms/jammy/etcd.charm for series jammy with architecture=arm64 - deploy application etcd on jammy added resource core added resource etcd added resource snapshot - upload charm /snap/anbox-cloud-appliance/410/data/charms/jammy/easyrsa.charm for series jammy with architecture=arm64 - deploy application etcd-ca on jammy added resource easyrsa - upload charm /snap/anbox-cloud-appliance/410/data/charms/focal/grafana.charm for series focal with architecture=arm64 - deploy application grafana on focal - deploy application internal-ca on jammy added resource easyrsa - upload charm /snap/anbox-cloud-appliance/410/data/charms/jammy/lxd-integrator.charm for series jammy with architecture=arm64 - deploy application lxd-integrator on jammy - upload charm /snap/anbox-cloud-appliance/410/data/charms/jammy/nats.charm for series jammy with architecture=arm64 - deploy application nats on jammy added resource core added resource nats - upload charm /snap/anbox-cloud-appliance/410/data/charms/focal/prometheus.charm for series focal with architecture=arm64 - deploy application prometheus on focal added resource core added resource prometheus - add new machine 0 - add new machine 1 - add new machine 2 - add relation etcd:certificates - etcd-ca:client - add relation ams:etcd - etcd:db - add relation ams - lxd-integrator - add relation ams:rest-api - anbox-stream-agent:ams - add relation nats:client - anbox-stream-agent:nats - add relation nats:ca-client - internal-ca:client - add relation anbox-stream-gateway:nats - nats:client - add relation coturn:stun - anbox-stream-agent:stun - add relation anbox-stream-gateway:certificates - internal-ca:client - add relation anbox-cloud-dashboard:gateway - anbox-stream-gateway:client - add relation anbox-cloud-dashboard:certificates - internal-ca:client - add relation anbox-cloud-dashboard:ams - ams:rest-api - add relation anbox-stream-agent:certificates - internal-ca:client - add relation ams:prometheus - prometheus:scrape - add relation ams:grafana - grafana:dashboards - add relation anbox-stream-gateway:prometheus - prometheus:scrape - add relation anbox-stream-gateway:prometheus-manual - prometheus:manual-jobs - add relation anbox-stream-gateway:grafana - grafana:dashboards - add relation grafana:grafana-source - prometheus:grafana-source - add unit ams/0 to new machine 1 - add unit anbox-cloud-dashboard/0 to new machine 1 - add unit anbox-stream-agent/0 to new machine 1 - add unit anbox-stream-gateway/0 to new machine 1 - add unit coturn/0 to new machine 1 - add unit etcd/0 to new machine 1 - add unit etcd-ca/0 to new machine 0 - add unit grafana/0 to new machine 2 - add unit internal-ca/0 to new machine 0 - add unit lxd-integrator/0 to new machine 0 - add unit nats/0 to new machine 1 - add unit prometheus/0 to new machine 2 Deploy of bundle completed. 2023-06-26 09:32:29 Deployment settled 2023-06-26 09:32:29 Applying configuration for various components nodes: - lxd0 Restarted. Device eth0 overridden for juju-0e8b8b-1 Device stun added to juju-0e8b8b-1 Device turn added to juju-0e8b8b-1 2023-06-26 09:32:48 Updating routes and exposing services 2023-06-26 09:32:50 Configuring image server credentials in AMS 2023-06-26 09:32:51 Added new remote to hosts amc command +-------+---------+---------+ | NAME | URL | DEFAULT | +-------+---------+---------+ | local | unix:// | true | +-------+---------+---------+ INFO: Finished the bootstrap process in 14 min