[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I encountered an error while creating the offline package. #468

Closed
Shercode opened this issue Nov 29, 2024 · 1 comment
Closed

I encountered an error while creating the offline package. #468

Shercode opened this issue Nov 29, 2024 · 1 comment

Comments

@Shercode
Copy link

lly@pigsty-allinone:~/pigsty$ ./cache.yml -l infra

PLAY [CREATE LOCAL DIR] *******************************************************************************************************************************************************************************************
skipping: no hosts matched

PLAY [MAKE OFFLINE PACKAGE] ***************************************************************************************************************************************************************************************

TASK [node_id : get node fact] ************************************************************************************************************************************************************************************
changed: [192.168.1.125]

TASK [node_id : set node fact] ************************************************************************************************************************************************************************************
ok: [192.168.1.125]

TASK [node_id : fill empty nodename with hostname] ****************************************************************************************************************************************************************
skipping: [192.168.1.125]

TASK [node_id : build node identity] ******************************************************************************************************************************************************************************
ok: [192.168.1.125]

TASK [node_id : load debian.12 x86_64 vars] ***********************************************************************************************************************************************************************
ok: [192.168.1.125]

TASK [node_id : print node identity] ******************************************************************************************************************************************************************************
ok: [192.168.1.125] => {
"msg": "nodename: pg-meta-1, node_cluster: pg-meta, spec: c4m4, os: debian.12.x86_64 d12:deb, [ADMIN] [INFRA] [PGSQL: pg-meta] [ETCD: etcd] "
}

TASK [cache : calculate offline package names] ********************************************************************************************************************************************************************
ok: [192.168.1.125]

TASK [cache : check repo dirs exists & not empty] *****************************************************************************************************************************************************************
ok: [192.168.1.125] => (item=pigsty)

TASK [cache : cache grafana plugins] ******************************************************************************************************************************************************************************
skipping: [192.168.1.125]

TASK [cache : create and trim local repo] *************************************************************************************************************************************************************************
changed: [192.168.1.125]

TASK [cache : create cache tarball] *******************************************************************************************************************************************************************************
changed: [192.168.1.125]

TASK [cache : fetch cache tarball from target node] ***************************************************************************************************************************************************************
fatal: [192.168.1.125]: FAILED! => {"changed": false, "cmd": "/usr/bin/rsync --delay-updates -F --archive --rsh='/usr/bin/ssh -S none -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null' --out-format='<>%i %n%L' 192.168.1.125:/tmp/pkg.tgz /home/lly/pigsty/dist/v3.1.0/pigsty-pkg-v3.1.0.d12.x86_64.tgz", "msg": "Warning: Permanently added '192.168.1.125' (ED25519) to the list of known hosts.\r\nrsync: [Receiver] change_dir#3 "/home/lly/pigsty/dist/v3.1.0" failed: No such file or directory (2)\nrsync error: errors selecting input/output files, dirs (code 3) at main.c(829) [Receiver=3.2.7]\n", "rc": 3}

PLAY RECAP ********************************************************************************************************************************************************************************************************
192.168.1.125 : ok=9 changed=3 unreachable=0 failed=1 skipped=2 rescued=0 ignored=0

lly@pigsty-allinone:/pigsty$ ls -l /home/lly/pigsty/dist
ls: cannot access '/home/lly/pigsty/dist': No such file or directory
lly@pigsty-allinone:
/pigsty$ mkdir -p dist/v3.1.0
lly@pigsty-allinone:~/pigsty$ ./cache.yml -l infra

PLAY [CREATE LOCAL DIR] *******************************************************************************************************************************************************************************************
skipping: no hosts matched

PLAY [MAKE OFFLINE PACKAGE] ***************************************************************************************************************************************************************************************

TASK [node_id : get node fact] ************************************************************************************************************************************************************************************
changed: [192.168.1.125]

TASK [node_id : set node fact] ************************************************************************************************************************************************************************************
ok: [192.168.1.125]

TASK [node_id : fill empty nodename with hostname] ****************************************************************************************************************************************************************
skipping: [192.168.1.125]

TASK [node_id : build node identity] ******************************************************************************************************************************************************************************
ok: [192.168.1.125]

TASK [node_id : load debian.12 x86_64 vars] ***********************************************************************************************************************************************************************
ok: [192.168.1.125]

TASK [node_id : print node identity] ******************************************************************************************************************************************************************************
ok: [192.168.1.125] => {
"msg": "nodename: pg-meta-1, node_cluster: pg-meta, spec: c4m4, os: debian.12.x86_64 d12:deb, [ADMIN] [INFRA] [PGSQL: pg-meta] [ETCD: etcd] "
}

TASK [cache : calculate offline package names] ********************************************************************************************************************************************************************
ok: [192.168.1.125]

TASK [cache : check repo dirs exists & not empty] *****************************************************************************************************************************************************************
ok: [192.168.1.125] => (item=pigsty)

TASK [cache : cache grafana plugins] ******************************************************************************************************************************************************************************
skipping: [192.168.1.125]

TASK [cache : create and trim local repo] *************************************************************************************************************************************************************************
changed: [192.168.1.125]

TASK [cache : create cache tarball] *******************************************************************************************************************************************************************************
changed: [192.168.1.125]

TASK [cache : fetch cache tarball from target node] ***************************************************************************************************************************************************************
changed: [192.168.1.125]

PLAY [CREATE LOCAL DIR] *******************************************************************************************************************************************************************************************
skipping: no hosts matched

PLAY RECAP ********************************************************************************************************************************************************************************************************
192.168.1.125 : ok=10 changed=4 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0

@Vonng
Copy link
Owner
Vonng commented Nov 29, 2024

use make release to create the local release directory first. will add description on the docs later, thanks for the feedback.

@Vonng Vonng closed this as completed Nov 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants