Hello All,
I created (via Packer) baked images of the Clearwater elements (Ellis,
Homer, Bono, Ralf, Sprout, Homestead) and am attempting to login to ellis
to provision a user via ellis' web page and I realize that there is no
ellis config file under /etc/nginx/sites-available.
I'm trying to figure out how to proceed
I can attempt to create the ellis-nginx config:
=======================================================
[ellis]ubuntu@ellisvm:/etc/nginx/sites-available$ ls
ping
[ellis]ubuntu@ellisvm:/etc/nginx/sites-available$ cd ..
[ellis]ubuntu@ellisvm:/etc/nginx$ ls
conf.d koi-win naxsi.rules
nginx.conf.clearwater scgi_params ssl
fastcgi_params mime.types naxsi-ui.conf.1.4.1
nginx.conf.clearwater-orig sites-available uwsgi_params
koi-utf naxsi_core.rules nginx.conf proxy_params
sites-enabled win-utf
[ellis]ubuntu@ellisvm:/etc/nginx$ cd sites-enabled/
[ellis]ubuntu@ellisvm:/etc/nginx/sites-enabled$ ls
ping
[ellis]ubuntu@ellisvm:/etc/nginx/sites-enabled$
I can attempt to create the ellis-nginx config and I get the following:
[ellis]ubuntu@ellisvm:/etc/nginx/sites-enabled$ ls
ping
[ellis]ubuntu@ellisvm:/etc/nginx/sites-enabled$ sudo
/usr/share/clearwater/infrastructure/scripts/create-ellis-nginx-config
sudo: unable to resolve host ellisvm
nginx: [warn] conflicting server name "172.16.4.49" on [::]:80, ignored
nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
nginx: configuration file /etc/nginx/nginx.conf test is successful
[ellis]ubuntu@ellisvm:/etc/nginx/sites-enabled$ ls
ellis ping
[ellis]ubuntu@ellisvm:/etc/nginx/sites-enabled$ sudo cat ellis
sudo: unable to resolve host ellisvm
upstream http_ellis {
server unix:/tmp/.ellis-sock;
# The minimum number of idle connections to keep alive to the
upstream.
keepalive 16;
}
server {
listen [::]:80 default_server; # ipv6only=off is set in the
base config
server_name ellis.example.com 172.16.4.49 172.16.4.49
ellisvm.example.com;
location / {
proxy_pass http://http_ellis;
proxy_http_version 1.1;
# The client may have instructed the server to close the
# connection - do not forward this upstream.
proxy_set_header Connection "";
# Preserve the Ellis hostname.
proxy_set_header Host ellis.example.com;
}
}
=====================================================
[ellis]ubuntu@ellisvm:/etc/nginx/sites-enabled$ sudo monit status
sudo: unable to resolve host ellisvm
Monit 5.18.1 uptime: 9m
Process 'ntp_process'
status Running
monitoring status Monitored
monitoring mode active
on reboot start
pid 1073
parent pid 1
uid 107
effective uid 107
gid 112
uptime 9m
threads 1
children 1
cpu 0.0%
cpu total 0.0%
memory 0.0% [2.0 MB]
memory total 0.1% [3.0 MB]
data collected Fri, 12 May 2017 15:50:04
System 'node-ellisvm'
status Running
monitoring status Monitored
monitoring mode active
on reboot start
load average [0.93] [0.42] [0.19]
cpu 0.2%us 0.2%sy 4.9%wa
memory usage 168.9 MB [4.3%]
swap usage 0 B [0.0%]
uptime 10m
boot time Fri, 12 May 2017 15:39:53
data collected Fri, 12 May 2017 15:50:04
Process 'nginx_process'
status Running
monitoring status Monitored
monitoring mode active
on reboot start
pid 4761
parent pid 1
uid 0
effective uid 0
gid 0
uptime 3m
threads 1
children 4
cpu 0.0%
cpu total 0.0%
memory 0.0% [1.3 MB]
memory total 0.2% [8.7 MB]
data collected Fri, 12 May 2017 15:50:04
Program 'nginx_ping'
status Status ok
monitoring status Monitored
monitoring mode active
on reboot start
last exit value 0
last output % Total % Received % Xferd Average Speed
Time Time Time Current
Dload
Upload Total Spent Left Speed
0 0 0 0 0 0 0
0 --:--:-- --:--:-- --:--:-- 0100 2 100 2 0 0 135
0 --:--:-- --:--:-- --:--:-- 142
OK
data collected Fri, 12 May 2017 15:50:04
Program 'nginx_uptime'
status Status ok
monitoring status Monitored
monitoring mode active
on reboot start
last exit value 0
last output zmq_msg_recv: Resource temporarily
unavailable
data collected Fri, 12 May 2017 15:50:04
Process 'mysql_process'
status Running
monitoring status Monitored
monitoring mode active
on reboot start
pid 1459
parent pid 1
uid 106
effective uid 106
gid 111
uptime 9m
threads 17
children 0
cpu 0.0%
cpu total 0.0%
memory 1.3% [50.8 MB]
memory total 1.3% [50.8 MB]
unix socket response time 0.123 ms to /var/run/mysqld/mysqld.sock type
TCP protocol DEFAULT
data collected Fri, 12 May 2017 15:50:04
Program 'monit_uptime'
status Status ok
monitoring status Monitored
monitoring mode active
on reboot start
last exit value 0
last output zmq_msg_recv: Resource temporarily
unavailable
data collected Fri, 12 May 2017 15:50:04
Process 'ellis_process'
status Running
monitoring status Monitored
monitoring mode active
on reboot start
pid 2697
parent pid 1
uid 999
effective uid 999
gid 999
uptime 7m
threads 2
children 0
cpu 0.0%
cpu total 0.0%
memory 0.6% [24.1 MB]
memory total 0.6% [24.1 MB]
data collected Fri, 12 May 2017 15:50:04
Program 'poll_ellis'
status Status ok
monitoring status Monitored
monitoring mode active
on reboot start
last exit value 0
last output -
data collected Fri, 12 May 2017 15:50:04
Program 'poll_ellis_https'
status Status ok
monitoring status Monitored
monitoring mode active
on reboot start
last exit value 0
last output -
data collected Fri, 12 May 2017 15:50:04
Process 'clearwater_queue_manager_process'
status Running
monitoring status Monitored
monitoring mode active
on reboot start
pid 2481
parent pid 1
uid 0
effective uid 0
gid 0
uptime 8m
threads 5
children 0
cpu 0.0%
cpu total 0.0%
memory 0.4% [17.3 MB]
memory total 0.4% [17.3 MB]
data collected Fri, 12 May 2017 15:50:04
Program 'clearwater_queue_manager_uptime'
status Status ok
monitoring status Monitored
monitoring mode active
on reboot start
last exit value 0
last output zmq_msg_recv: Resource temporarily
unavailable
data collected Fri, 12 May 2017 15:50:04
Process 'etcd_process'
status Running
monitoring status Monitored
monitoring mode active
on reboot start
pid 2524
parent pid 1
uid 998
effective uid 998
gid 998
uptime 7m
threads 9
children 0
cpu 0.0%
cpu total 0.0%
memory 0.3% [10.8 MB]
memory total 0.3% [10.8 MB]
data collected Fri, 12 May 2017 15:50:04
Program 'etcd_uptime'
status Status ok
monitoring status Monitored
monitoring mode active
on reboot start
last exit value 0
last output zmq_msg_recv: Resource temporarily
unavailable
data collected Fri, 12 May 2017 15:50:04
Program 'poll_etcd_cluster'
status Status ok
monitoring status Monitored
monitoring mode active
on reboot start
last exit value 0
last output zmq_msg_recv: Resource temporarily
unavailable
0
data collected Fri, 12 May 2017 15:50:04
Program 'poll_etcd'
status Status ok
monitoring status Monitored
monitoring mode active
on reboot start
last exit value 0
last output -
data collected Fri, 12 May 2017 15:50:04
Process 'clearwater_diags_monitor_process'
status Running
monitoring status Monitored
monitoring mode active
on reboot start
pid 1442
parent pid 1
uid 0
effective uid 0
gid 0
uptime 9m
threads 1
children 1
cpu 0.0%
cpu total 0.0%
memory 0.0% [1.8 MB]
memory total 0.1% [2.2 MB]
data collected Fri, 12 May 2017 15:50:04
Process 'clearwater_config_manager_process'
status Running
monitoring status Monitored
monitoring mode active
on reboot start
pid 2581
parent pid 1
uid 0
effective uid 0
gid 0
uptime 7m
threads 4
children 0
cpu 0.0%
cpu total 0.0%
memory 0.4% [14.9 MB]
memory total 0.4% [14.9 MB]
data collected Fri, 12 May 2017 15:50:04
Process 'clearwater_cluster_manager_process'
status Running
monitoring status Monitored
monitoring mode active
on reboot start
pid 2431
parent pid 1
uid 0
effective uid 0
gid 0
uptime 8m
threads 1
children 0
cpu 0.0%
cpu total 0.0%
memory 0.3% [11.6 MB]
memory total 0.3% [11.6 MB]
data collected Fri, 12 May 2017 15:50:04
_______________________________________________
Clearwater mailing list
[email protected]
http://lists.projectclearwater.org/mailman/listinfo/clearwater_lists.projectclearwater.org