anbox 云安装

anbox 云安装

我正在尝试在专用机器上安装 anbox cloud appliance。但是 anbox-cloud-appliance 失败了。

请帮助我解决这个问题。(下面附有所有必需的信息)

omadmin@ubuntu-server-pro:~$ sudo pro status
[sudo] password for omadmin: 
SERVICE          ENTITLED  STATUS    DESCRIPTION
esm-apps         yes       enabled   Expanded Security Maintenance for Applications
esm-infra        yes       enabled   Expanded Security Maintenance for Infrastructure
livepatch        yes       enabled   Canonical Livepatch service
realtime-kernel* yes       disabled  Ubuntu kernel with PREEMPT_RT patches integrated
usg              yes       disabled  Security compliance and audit tools

 * Service has variants

For a list of all Ubuntu Pro services and variants, run 'pro status --all'
Enable services with: pro enable <service>

     Account: [email protected]
Subscription: Ubuntu Pro - free personal subscription


omadmin@ubuntu-server-pro:~$ juju status -m appliance:admin/anbox-cloud
Model        Controller  Cloud/Region       Version  SLA          Timestamp
anbox-cloud  appliance   appliance/default  2.9.33   unsupported  14:11:34Z

App                    Version  Status       Scale  Charm                  Channel  Rev  Exposed  Message
ams                             error            1  ams                               0  no       hook failed: "install"
anbox-cloud-dashboard           error            1  anbox-cloud-dashboard             0  no       hook failed: "install"
anbox-stream-agent              maintenance      1  anbox-stream-agent                0  no       installing charm software
anbox-stream-gateway            error            1  anbox-stream-gateway              0  no       hook failed: "install"
coturn                 4.5.2    active           1  coturn                            0  yes      
etcd                   3.4.22   active           1  etcd                              0  no       Healthy with 1 known peer
etcd-ca                3.0.1    active           1  easyrsa                           0  no       Certificate Authority connected.
grafana                         active           1  grafana                           0  no       Ready
internal-ca            3.0.1    active           1  easyrsa                           0  no       Certificate Authority connected.
lxd-integrator                  active           1  lxd-integrator                    0  no       
nats                            active           1  nats                              0  no       
prometheus                      active           1  prometheus2                       0  no       Ready

Unit                      Workload     Agent      Machine  Public address  Ports                              Message
ams/0*                    error        idle       1        240.0.204.180                                      hook failed: "install"
anbox-cloud-dashboard/0*  error        idle       1        240.0.204.180                                      hook failed: "install"
anbox-stream-agent/0*     maintenance  executing  1        240.0.204.180                                      (install) installing charm software
anbox-stream-gateway/0*   error        idle       1        240.0.204.180                                      hook failed: "install"
coturn/0*                 active       idle       1        240.0.204.180   5349/tcp,5349/udp,60000-60100/udp  
etcd-ca/0*                active       idle       0        240.0.157.184                                      Certificate Authority connected.
etcd/0*                   active       idle       1        240.0.204.180   2379/tcp                           Healthy with 1 known peer
grafana/0*                active       idle       2        240.0.222.116   3000/tcp                           Ready
internal-ca/0*            active       idle       0        240.0.157.184                                      Certificate Authority connected.
lxd-integrator/0*         active       idle       0        240.0.157.184                                      
nats/0*                   active       idle       1        240.0.204.180   4222/tcp                           
prometheus/0*             active       idle       2        240.0.222.116   9090/tcp,12321/tcp                 Ready

Machine  State    Address        Inst id        Series  AZ  Message
0        started  240.0.157.184  juju-bb7eef-0  jammy       Running
1        started  240.0.204.180  juju-bb7eef-1  jammy       Running
2        started  240.0.222.116  juju-bb7eef-2  focal       Running

答案1

您是否尝试过全新安装/初始化?

我们遇到了网络问题,并强制使用网桥

您的问题可能有所不同,我无法从说明中看出。

sudo anbox-cloud-appliance destroy
sudo anbox-cloud-appliance init --force-network-bridge

答案2

看起来您遇到了一个问题,该问题已于今天早些时候通过 Ubuntu Pro 服务修复。您可以运行以下命令:

$ sudo anbox-cloud-appliance destroy
$ sudo pro detach
$ sudo pro attach <your token>
$ sudo anbox-cloud-appliance init

这应该可以解决问题并且您应该能够顺利部署。

相关内容