You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`192.168.8.94 | SUCCESS => {
"ansible_facts": {
"discovered_interpreter_python": "/usr/bin/python"
},
"changed": false,
"gid": 1002,
"name": "yunion",
"state": "present",
"system": false
}
192.168.8.94 | SUCCESS => {
"ansible_facts": {
"discovered_interpreter_python": "/usr/bin/python"
},
"append": false,
"changed": false,
"comment": "",
"group": 1002,
"home": "/home/yunion",
"move_home": false,
"name": "yunion",
"shell": "/bin/bash",
"state": "present",
"uid": 1002
}
192.168.8.94 | SUCCESS => {
"ansible_facts": {
"discovered_interpreter_python": "/usr/bin/python"
},
"changed": false,
"gid": 1002,
"group": "yunion",
"mode": "0755",
"owner": "yunion",
"path": "/etc/yunion",
"size": 26,
"state": "directory",
"uid": 1002
}
192.168.8.94 | SUCCESS => {
"ansible_facts": {
"discovered_interpreter_python": "/usr/bin/python"
},
"changed": false,
"checksum": "c3947012d8e8f14f8ca87abaaa10d7d772dac2e2",
"dest": "/etc/yunion/lbagent.conf",
"gid": 1002,
"group": "yunion",
"mode": "0600",
"owner": "yunion",
"path": "/etc/yunion/lbagent.conf",
"size": 383,
"state": "file",
"uid": 1002
}
192.168.8.94 | CHANGED => {
"ansible_facts": {
"discovered_interpreter_python": "/usr/bin/python"
},
"changed": true,
"checksum": "73a52e4acf1fc4397cb82bcee90217e936861b16",
"dest": "/etc/yum.repos.d/yunion.repo",
"gid": 0,
"group": "root",
"md5sum": "39aec042f4b2394198980957891bcb55",
"mode": "0644",
"owner": "root",
"size": 169,
"src": "/opt/cloudroot/.ansible/tmp/ansible-tmp-1702947450.1669657-383-68253762949646/source",
"state": "file",
"uid": 0
}
192.168.8.94 | FAILED! => {
"ansible_facts": {
"discovered_interpreter_python": "/usr/bin/python"
},
"changed": false,
"msg": "http://yunioniso.oss-cn-beijing.aliyuncs.com/iso/3.9/rpms/repodata/repomd.xml: [Errno 14] HTTP Error 403 - Forbidden\nTrying other mirror.\nTo address this issue please refer to the below wiki article\n\nhttps://wiki.centos.org/yum-errors\n\nIf above article doesn't help to resolve this issue please use https://bugs.centos.org/.\n\n\n\n One of the configured repositories failed (Packages for Yunion- x86_64),\n and yum doesn't have enough cached data to continue. At this point the only\n safe thing yum can do is fail. There are a few ways to work "fix" this:\n\n 1. Contact the upstream for the repository and get them to fix the problem.\n\n 2. Reconfigure the baseurl/etc. for the repository, to point to a working\n upstream. This is most often useful if you are using a newer\n distribution release than is supported by the repository (and the\n packages for the previous distribution release still work).\n\n 3. Run the command with the repository temporarily disabled\n yum --disablerepo=yunion ...\n\n 4. Disable the repository permanently, so yum won't use it by default. Yum\n will then just ignore the repository until you permanently enable it\n again or use --enablerepo for temporary usage:\n\n yum-config-manager --disable yunion\n or\n subscription-manager repos --disable=yunion\n\n 5. Configure the failing repository to be skipped, if it is unavailable.\n Note that yum will try to contact the repo. when it runs most commands,\n so will have to try and fail each time (and thus. yum will be be much\n slower). If it is a very temporary problem though, this is often a nice\n compromise:\n\n yum-config-manager --save --setopt=yunion.skip_if_unavailable=true\n\nfailure: repodata/repomd.xml from yunion: [Errno 256] No more mirrors to try.\nhttp://yunioniso.oss-cn-beijing.aliyuncs.com/iso/3.9/rpms/repodata/repomd.xml: [Errno 14] HTTP Error 403 - Forbidden\n",
"rc": 1,
"results": []
}
192.168.8.94 | FAILED! => {
"ansible_facts": {
"discovered_interpreter_python": "/usr/bin/python"
},
"changed": false,
"msg": "Could not find the requested service yunion-lbagent: host"
}
`
The text was updated successfully, but these errors were encountered:
根据如下的文档
https://www.cloudpods.org/v3.9/zh/docs/web_ui/network/lbcluster/lbagent/
部署负载均衡-节点的时候, 报了如下的错误,
yum的源, 我写成如下2个源地址都不对
Yum源地址,https://yunioniso.oss-cn-beijing.aliyuncs.com/iso/3.9/rpms
或者 Yum源地址,http://yunioniso.oss-cn-beijing.aliyuncs.com/iso/3.9/rpms
问题是, 不知道从哪儿入手进行处理
配置界面:
出错的日志:
`192.168.8.94 | SUCCESS => {
"ansible_facts": {
"discovered_interpreter_python": "/usr/bin/python"
},
"changed": false,
"gid": 1002,
"name": "yunion",
"state": "present",
"system": false
}
192.168.8.94 | SUCCESS => {
"ansible_facts": {
"discovered_interpreter_python": "/usr/bin/python"
},
"append": false,
"changed": false,
"comment": "",
"group": 1002,
"home": "/home/yunion",
"move_home": false,
"name": "yunion",
"shell": "/bin/bash",
"state": "present",
"uid": 1002
}
192.168.8.94 | SUCCESS => {
"ansible_facts": {
"discovered_interpreter_python": "/usr/bin/python"
},
"changed": false,
"gid": 1002,
"group": "yunion",
"mode": "0755",
"owner": "yunion",
"path": "/etc/yunion",
"size": 26,
"state": "directory",
"uid": 1002
}
192.168.8.94 | SUCCESS => {
"ansible_facts": {
"discovered_interpreter_python": "/usr/bin/python"
},
"changed": false,
"checksum": "c3947012d8e8f14f8ca87abaaa10d7d772dac2e2",
"dest": "/etc/yunion/lbagent.conf",
"gid": 1002,
"group": "yunion",
"mode": "0600",
"owner": "yunion",
"path": "/etc/yunion/lbagent.conf",
"size": 383,
"state": "file",
"uid": 1002
}
192.168.8.94 | CHANGED => {
"ansible_facts": {
"discovered_interpreter_python": "/usr/bin/python"
},
"changed": true,
"checksum": "73a52e4acf1fc4397cb82bcee90217e936861b16",
"dest": "/etc/yum.repos.d/yunion.repo",
"gid": 0,
"group": "root",
"md5sum": "39aec042f4b2394198980957891bcb55",
"mode": "0644",
"owner": "root",
"size": 169,
"src": "/opt/cloudroot/.ansible/tmp/ansible-tmp-1702947450.1669657-383-68253762949646/source",
"state": "file",
"uid": 0
}
192.168.8.94 | FAILED! => {
"ansible_facts": {
"discovered_interpreter_python": "/usr/bin/python"
},
"changed": false,
"msg": "http://yunioniso.oss-cn-beijing.aliyuncs.com/iso/3.9/rpms/repodata/repomd.xml: [Errno 14] HTTP Error 403 - Forbidden\nTrying other mirror.\nTo address this issue please refer to the below wiki article\n\nhttps://wiki.centos.org/yum-errors\n\nIf above article doesn't help to resolve this issue please use https://bugs.centos.org/.\n\n\n\n One of the configured repositories failed (Packages for Yunion- x86_64),\n and yum doesn't have enough cached data to continue. At this point the only\n safe thing yum can do is fail. There are a few ways to work "fix" this:\n\n 1. Contact the upstream for the repository and get them to fix the problem.\n\n 2. Reconfigure the baseurl/etc. for the repository, to point to a working\n upstream. This is most often useful if you are using a newer\n distribution release than is supported by the repository (and the\n packages for the previous distribution release still work).\n\n 3. Run the command with the repository temporarily disabled\n yum --disablerepo=yunion ...\n\n 4. Disable the repository permanently, so yum won't use it by default. Yum\n will then just ignore the repository until you permanently enable it\n again or use --enablerepo for temporary usage:\n\n yum-config-manager --disable yunion\n or\n subscription-manager repos --disable=yunion\n\n 5. Configure the failing repository to be skipped, if it is unavailable.\n Note that yum will try to contact the repo. when it runs most commands,\n so will have to try and fail each time (and thus. yum will be be much\n slower). If it is a very temporary problem though, this is often a nice\n compromise:\n\n yum-config-manager --save --setopt=yunion.skip_if_unavailable=true\n\nfailure: repodata/repomd.xml from yunion: [Errno 256] No more mirrors to try.\nhttp://yunioniso.oss-cn-beijing.aliyuncs.com/iso/3.9/rpms/repodata/repomd.xml: [Errno 14] HTTP Error 403 - Forbidden\n",
"rc": 1,
"results": []
}
192.168.8.94 | FAILED! => {
"ansible_facts": {
"discovered_interpreter_python": "/usr/bin/python"
},
"changed": false,
"msg": "Could not find the requested service yunion-lbagent: host"
}
`
The text was updated successfully, but these errors were encountered: