[Airship-discuss] airship-in-a-bottle deployment issue [resend]

calvin whole calvinwhole at gmail.com
Fri May 10 05:18:42 UTC 2019


Hi Roman,

Since my last emails were too big in size and may be blocked, I reformat
the original mails as below and send to you to continue the discussion.
Thanks for help in advance.

Hi Roman,

Thanks for looking into this and gave us suggestions.

I re-ran the "vagrant up" and looking into the logs for
"deckhand-db-init-zs499" as showed below.
It showed ERROR:  checkpoint request failed
HINT:  Consult recent messages in the server log for details.

What is the specific "server" log we should look into for details?

================== log for deckhand-db-init-zs499
==================================
root at n0:/home/vagrant# kubectl logs deckhand-db-init-zs499 -n ucp
+ export HOME=/tmp
+ HOME=/tmp
+ pgsql_superuser_cmd 'SELECT 1 FROM pg_database WHERE datname =
'\''deckhand'\'''
+ grep -q 1
+ DB_COMMAND='SELECT 1 FROM pg_database WHERE datname = '\''deckhand'\'''
+ [[ ! -z '' ]]
+ psql -h postgresql.ucp.svc.cluster.local -p 5432 -U postgres
'--command=SELECT 1 FROM pg_database WHERE datname = '\''deckhand'\'''
+ pgsql_superuser_cmd 'CREATE DATABASE deckhand'
+ DB_COMMAND='CREATE DATABASE deckhand'
+ [[ ! -z '' ]]
+ psql -h postgresql.ucp.svc.cluster.local -p 5432 -U postgres
'--command=CREATE DATABASE deckhand'
ERROR:  checkpoint request failed
HINT:  Consult recent messages in the server log for details.

===========  kubectl describe pod deckhand-db-init-zs499
=================
......
Containers:
  deckhand-db-init:
    Container ID:
docker://5dea2aa975c3718ca298536005b9cc0b21de47e08b2260cc73005e3455bb1350
    Image:         docker.io/postgres:9.5
    Image ID:      docker-pullable://postgres@sha256
:0605b4b20a205c09ddd10eeeddd3ed7bf3cc442a8e9896ec34862ca882658be4
    Port:          <none>
    Host Port:     <none>
    Command:
      /tmp/db-init.sh
    State:          Waiting
      Reason:       CrashLoopBackOff
    Last State:     Terminated
      Reason:       Error        <========
      Exit Code:    1
      Started:      Thu, 09 May 2019 04:10:29 +0000
      Finished:     Thu, 09 May 2019 04:10:30 +0000
    Ready:          False
    Restart Count:  9

Sincerely,
Calvin


==========================================
Hi,

We are trying to deploy AIIB.

I have a physical server with Ubuntu 16.04.5 OS, installed virtualbox and
vagrant.
The process is straightforward by following
https://opendev.org/airship/in-a-bottle/
We created ~/deploy directory,  downloaded Vagrantfile, and do "vagrant up".

However it stuck in the error below:
 deckhand-db-init-r9jvg                                      0/1
 CrashLoopBackOff   16

Could anyone help to resolve this?  Many thanks in advance.

Sincerely,
Calvin

======================================

Hello Calvin,

Try to get some kubectl logs and describe deckhand-db-init-r9jvg pod.
kubectl describe pod deckhand-db-init-r9jvg -u ucp
May be it would help to understand what is happening there.

Thank you for trying Airship.

Best regards,
-- Roman Gorshunov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.airshipit.org/pipermail/airship-discuss/attachments/20190510/3adbd661/attachment-0001.html>


More information about the Airship-discuss mailing list