![]() |
个性的啄木鸟 · 斯盖拉·格蕾_百度百科· 4 月前 · |
![]() |
性感的小熊猫 · 深圳市人力资源和社会保障局关于印发《深圳市职 ...· 7 月前 · |
![]() |
霸气的胡萝卜 · 恋空新垣结衣歌曲_头条· 1 年前 · |
![]() |
成熟的熊猫 · 昆山英孚英语培训中心· 1 年前 · |
![]() |
无邪的消炎药 · Fluency Definition ...· 1 年前 · |
![]() |
风流的凳子
1 年前 |
I have running the same procedure with centos 8 but had other issue.
Now I moved to a clean and according to the official document, that's ubuntu 20.4 environment.
I am using the most-generic-
[WARNING]: Unable to find '/etc/openstack
[WARNING]: Unable to find '/etc/openstack
[WARNING]: No inventory was parsed, only implicit localhost is available
[WARNING]: provided hosts list is empty, only localhost is available. Note that the implicit localhost does not match 'all'
[WARNING]: Skipping callback plugin '/dev/null', unable to load
[WARNING]: No inventory was parsed, only implicit localhost is available
[WARNING]: provided hosts list is empty, only localhost is available. Note that the implicit localhost does not match 'all'
[WARNING]: Skipping callback plugin '/dev/null', unable to load
Can someone tell me why I’m encountering:
Unable to find '/etc/openstack
Is it a bug, can it be worked around?
Thanks
No, missing user-role-
You don't need to have these files, but in case you have them, they will be processed appropriately.
anisble-bootstrap runs on the localhost only, so it does not need any inventory at this point either. So from what I see in the output, bootstrap was successfull and finished without any issues.
There's also a message at the end of the script `System is bootstrapped and ready for use.`
Hi Thanks for answering.
I understand. but still i get:
+ echo 'System is bootstrapped and ready for use.'
System is bootstrapped and ready for use.
root@infra1:
root@infra1:
[WARNING]: * Failed to parse /opt/openstack-
sources: '(['/etc/
[WARNING]: * Failed to parse /opt/openstack-
[WARNING]: Unable to parse /opt/openstack-
[WARNING]: Unable to parse /etc/openstack_
[WARNING]: provided hosts list is empty, only localhost is available. Note that the implicit localhost does not match 'all'
[WARNING]: Could not match supplied host pattern, ignoring: etcd
[WARNING]: Could not match supplied host pattern, ignoring: ceph-mds
[WARNING]: Could not match supplied host pattern, ignoring: ceph-nfs
playbook: setup-infrastru
EXIT NOTICE [Playbook execution success] *******
=======
When I was going the same procedure with CentOS 8, there was no inventory issues.
I am trying to install a 3 hosts cluster according to the official guide.
from here:
https:/
I have copied the openstack_
and i'm getting:
root@infra1:
Variable files: "-e @/etc/openstack
[WARNING]: Unable to parse /etc/openstack_
playbook: setup-infrastru
EXIT NOTICE [Playbook execution success] *******
=======
root@infra1:
I really don't understand why.
Thanks
You should be able to run ./inventory/
Anyway, for futher community support it's worth joining to Freenode IRC #openstack-ansible channel.
So i guess trying to follow the guide 100% is not a guarantee that it will work.
There are additional customisation needed
Now seriously, you can't tell me that's not a bug.
The /etc/openstack_
root@infra1:
Variable files: "-e @/etc/openstack
[WARNING]: Unable to parse /etc/openstack_
hosts (16):
infra1_
infra1
infra1_
compute1
infra1_
infra1_
infra1_
infra1_
infra1_
infra1_
infra1_
infra1_
infra1_
infra1_
infra1_
storage1
All hosts are the I have /inventory/
There should not be any hosts in /etc/openstack_
Inventory is cached in /etc/openstack_
Please provide output of the /opt/openstack-
I didn't change anything with /etc/openstack_
I was just listing the hosts with the command "ansible all --list-hosts"which shows that there are some hosts there
root@infra1:
Variable files: "-e @/etc/openstack
[WARNING]: Unable to parse /etc/openstack_
hosts (16):
infra1_
infra1
infra1_
compute1
infra1_
infra1_
infra1_
infra1_
infra1_
infra1_
infra1_
infra1_
infra1_
infra1_
infra1_
storage1
No i didn't run setup-hosts.yml, according to the guide, i didn't see the request to run setup-hosts.yml.
Yes, i start with a small setup three hosts just to test first, if everything goes well and I get the grasp of it, then I will build a bigger environment.
Thanks,
Opps, sorry.
I didn't move to this stage due the failure on "openstack-ansible setup-infrastru
I didn't want to move on when the recheck don't only sees localhost
So couldn't wait, had to run it again.
The good news is that it goes on and do access all hosts :)
RUNNING HANDLER [ansible-hardening : restart auditd] *******
changed: [infra1]
changed: [storage1]
changed: [compute1]
The bad is that it will fail on starting the lxc containers (log attached)
Thanks,
According to this guide the host shouldn't have an br-storage bridge interface.
but it fails as you also stated, exactly on the br-storage.
I really wonder if the error is in the guide...
It's stated in the guide
https:/
You can configure without that bridge, but you would need to adjust openstack_
Thanks,
This is how I configured this.
I skipped on the br-bridge l3 Interface, as l2 only 802.1q Interface is required:
https:/
I will follow your advice and try tomorrow uncommenting the br-bridge from the openstack_
Hopefully that’s the cause of this Problem...
unfortunately i still get error:
With or without bridges.
fatal: [infra1_
fatal: [infra1_
Ok, I got it.
It was the gateway on the br-bridge interface, i'll just post the config before and after:
I know that a host machine cannot handle two gateways at on time, so this is why i left only on GW.
Don't know What's the use of that.
But yes OVS can handle this, didn't think about this.
Anyway it's working now and can finally test.
Many thanks on helping in the troubleshoot, thumbs up.
root@infra1:~# git checkout 22.0.1
ansible
/opt/openstack-
ansible# git checkout 22.0.1
/opt/openstack-
ansible# git describe --abbrev=0 --tags
/opt/openstack-
ansible# cd /opt/openstack-
ansible
/opt/openstack-
ansible# scripts/
bootstrap-
ansible.
sh
PACKAGE=
ansible-
base==2.
10.5
PACKAGE=
ansible-
base==2.
10.5
ROLE_FILE=
ansible-
role-requiremen
ts.yml
ROLE_FILE=
ansible-
role-requiremen
ts.yml
COLLECTION_
FILE=ansible-
collection-
requirements.
yml
COLLECTION_
FILE=ansible-
collection-
requirements.
yml
FILE=user-
role-requiremen
ts.yml
FILE=user-
role-requiremen
ts.yml
_FILE=user-
collection-
requirements.
yml
_FILE=user-
collection-
requirements.
yml
FRONTEND=
noninteractive
FRONTEND=
noninteractive
BIN=scripts/
openstack-
ansible.
sh
BIN=scripts/
openstack-
ansible.
sh
bootstrap-
ansible.
sh
scripts-
library.
sh
-------
-------
-------
-------
-------
-------
-------
-------
-------
-----
1613584103
LOGS=/openstack
/log/ansible_
cmd_logs
/opt/ansible-
runtime/
bin/pip
LOG_COPY=
false
LOG_GZIP=
true
RUN_ARA=
true
RUN_DSTAT=
true
local/sbin:
/usr/local/
bin:/usr/
sbin:/usr/
bin:/sbin:
/bin:/usr/
local/sbin:
/usr/local/
bin:/usr/
sbin:/usr/
bin:/sbin:
/bin:/usr/
games:/
usr/local/
games:/
snap/bin
local/sbin:
/usr/local/
bin:/usr/
sbin:/usr/
bin:/sbin:
/bin:/usr/
local/sbin:
/usr/local/
bin:/usr/
sbin:/usr/
bin:/sbin:
/bin:/usr/
games:/
usr/local/
games:/
snap/bin
bin/openstack-
ansible.
rc ]]
-------
-------
-------
-------
-------
-------
-------
-------
-------
-------
-------
-------
-------
-------
-------
-------
-------
-------
-------
-------
-------
-
fatal: not a git repository (or any of the parent directories): .git
root@infra1:~# cd /opt/openstack-
root@infra1:
Previous HEAD position was ac43c0ce9 Bump OSA for RC1
HEAD is now at e1dc35d8e Bump SHAs for stable/victoria
root@infra1:
22.0.1
root@infra1:
root@infra1:
+ export HTTP_PROXY=
+ HTTP_PROXY=
+ export HTTPS_PROXY=
+ HTTPS_PROXY=
+ export ANSIBLE_
+ ANSIBLE_
+ export ANSIBLE_
+ ANSIBLE_
+ export ANSIBLE_
+ ANSIBLE_
+ export USER_ROLE_
+ USER_ROLE_
+ export USER_COLLECTION
+ USER_COLLECTION
+ export SSH_DIR=/root/.ssh
+ SSH_DIR=/root/.ssh
+ export DEBIAN_
+ DEBIAN_
+ export SETUP_ARA=false
+ SETUP_ARA=false
+ export PIP_OPTS=
+ PIP_OPTS=
+ export OSA_WRAPPER_
+ OSA_WRAPPER_
++ dirname scripts/
+ cd scripts/..
+ info_block 'Checking for required libraries.'
+ source scripts/
++ LINE=--
++ ANSIBLE_PARAMETERS=
+++ date +%s
++ STARTTIME=
++ COMMAND_
++ PIP_COMMAND=
++ ZUUL_PROJECT=
++ GATE_EXIT_
++ GATE_EXIT_
++ GATE_EXIT_
++ GATE_EXIT_
++ [[ -n '' ]]
++ '[' -z '' ']'
+++ grep -c '^processor' /proc/cpuinfo
++ CPU_NUM=4
++ '[' 4 -lt 10 ']'
++ ANSIBLE_FORKS=4
++ trap 'exit_fail 401 0 '\''Received STOP Signal'\''' SIGHUP SIGINT SIGTERM
++ trap 'exit_fail 402 0' ERR
+++ id -u
++ '[' 0 '!=' 0 ']'
++ '[' '!' -d etc -a '!' -d scripts -a '!' -d playbooks ']'
++ export PATH=/usr/
++ PATH=/usr/
++ export HOME=/root
++ HOME=/root
++ [[ -f /usr/local/
+ info_block 'Bootstrapping System with Ansible'
+ echo -------
-------
+ print_info 'Bootstrapping System with Ansible'
+ PROC_NAME='- [ Bootstrapping System with Ansible ] -'
+ printf '\n%s%s\n' '- [ Bootstrapping System with Ansible ] -' -------
- [ Bootstrapping System with Ansible ] -------
-------
-------
-------
--
-------
-------
-------
-------
-------
-------
-------
-------
-...
+ echo -------