OS Ubuntu 20.04 Cloud Image
latest juju from snapd
Hi,
I tried this 5 times now and I am getting tired of it, I was following YT tutorial AND documentation. I added a manual cloud and 2 hosts, that worked.
root@localhost:~# juju models
Controller: manual-controller
Model Cloud/Region Type Status Machines Cores Access Last connection
controller test/default manual available 1 4 admin just now
default test/default manual available 0 - admin 10 minutes ago
k8s* test/default manual available 2 8 admin 1 minute ago
Then I do:
juju deploy kubernetes-core
since this requires 2 hosts so it should work no?
But now it creates new nodes and msses everything up
root@localhost:~# juju machines
Machine State DNS Inst id Series AZ Message
0 started 10.3.3.14 manual:10.3.3.14 focal Manually provisioned machine
1 started 10.3.3.15 manual:10.3.3.15 focal Manually provisioned machine
2 down pending focal manual provider cannot start instances
2/lxd/0 pending pending focal
3 down pending focal manual provider cannot start instances
Then I tried this:
Deploying a charm in a Manual cloud
juju deploy kubernetes-core --to test
Gives me: ERROR options provided but not supported when deploying a bundle: --to
I cant even clean this mess up.
If I run this:
root@localhost:~# juju destroy-model k8s
WARNING! This command will destroy the "k8s" model.
This includes all machines, applications, data and other resources.
Continue [y/N]? y
Destroying model
Waiting for model to be removed, 2 error(s), 5 machine(s), 6 application(s)....
Waiting for model to be removed, 2 error(s), 3 machine(s), 4 application(s)...
Waiting for model to be removed, 1 error(s), 2 machine(s)..................
This hangs forever, I waited 2h and nothing happens.
So can someone tell me how I deploy this on the 2 nodes I added?
I thought this is supposed to make things easier…it doesn’t so far. It’s so extremely frustrating.
edit:
btw my kern.log is full of this
[ 2691.812889] audit: type=1400 audit(1604062515.999:4374): apparmor="DENIED" operation="open" profile="snap.juju-db.daemon" name="/proc/3095/net/netstat" pid=3095 comm="ftdc" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
[ 2691.812892] audit: type=1400 audit(1604062515.999:4375): apparmor="DENIED" operation="open" profile="snap.juju-db.daemon" name="/proc/3095/net/snmp" pid=3095 comm="ftdc" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
[ 2692.812728] audit: type=1400 audit(1604062516.995:4376): apparmor="DENIED" operation="open" profile="snap.juju-db.daemon" name="/proc/3095/net/netstat" pid=3095 comm="ftdc" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
[ 2692.812731] audit: type=1400 audit(1604062516.995:4377): apparmor="DENIED" operation="open" profile="snap.juju-db.daemon" name="/proc/3095/net/snmp" pid=3095 comm="ftdc" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
[ 2693.812803] audit: type=1400 audit(1604062517.999:4378): apparmor="DENIED" operation="open" profile="snap.juju-db.daemon" name="/proc/3095/net/netstat" pid=3095 comm="ftdc" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
[ 2693.812806] audit: type=1400 audit(1604062517.999:4379): apparmor="DENIED" operation="open" profile="snap.juju-db.daemon" name="/proc/3095/net/snmp" pid=3095 comm="ftdc" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
[ 2694.812851] audit: type=1400 audit(1604062518.999:4380): apparmor="DENIED" operation="open" profile="snap.juju-db.daemon" name="/proc/3095/net/netstat" pid=3095 comm="ftdc" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
[ 2694.812854] audit: type=1400 audit(1604062518.999:4381): apparmor="DENIED" operation="open" profile="snap.juju-db.daemon" name="/proc/3095/net/snmp" pid=3095 comm="ftdc" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
[ 2695.813050] audit: type=1400 audit(1604062519.999:4382): apparmor="DENIED" operation="open" profile="snap.juju-db.daemon" name="/proc/3095/net/netstat" pid=3095 comm="ftdc" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
[ 2695.813052] audit: type=1400 audit(1604062519.999:4383): apparmor="DENIED" operation="open" profile="snap.juju-db.daemon" name="/proc/3095/net/snmp" pid=3095 comm="ftdc" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
Not sure if related to the issue