Hello, I have been trying to install the tacker project in a VM, following the instruction from this url: https://docs.openstack.org/tacker/train/install/devstack.html based on devstack but unsuccessful. Is there a link to download an already installed VM with tacker? BR
Hi, Could you make a bug report for sharing your problem exactly if possible? On 2020/04/18 12:51, Ivandro wrote:
Hello,
I have been trying to install the tacker project in a VM, following the instruction from this url: https://docs.openstack.org/tacker/train/install/devstack.html based on devstack but unsuccessful. Is there a link to download an already installed VM with tacker? I'd like to confirm that we have already have such a VM, or can provide.
Regards, Yasufumi
BR
Hello Mr. Yasufumi, Sorry for later replay. I will be replaying to your feedback timely. hope to have your support and if possible, guide on how to troubleshooting. here are my scenario: I want to install tacker project using the following guide: https://docs.openstack.org/tacker/train/install/devstack.html My environment info: 2 ubuntu server 18.04.4 LTS, VMWare workstation, 6G RAM, 100G SSD HD, 2vCPU. Am trying to install both master branch and stable/train, on each server. Please find in attachment the local.conf file used for each installation.. MASTER BRANCH REPORT: Commands used: ##User add sudo useradd -s /bin/bash -d /opt/stack -m stack echo "stack ALL=(ALL) NOPASSWD: ALL" | sudo tee /etc/sudoers.d/stack sudo su - stack ##Download openstack Train branch git clone https://opendev.org/openstack-dev/devstack -b stable/train cd devstack vi local.conf #Use the all in one config from manual page ## RECLONE=yes ##Start installation ./stack.sh ERROR INFO: ++/opt/stack/kuryr-kubernetes/devstack/plugin.sh:wait_for:552 die 'Timed out waiting for Kubernetes API Server' ++functions-common:die:193 local exitcode=1 [Call Trace] ./stack.sh:1400:run_phase /opt/stack/devstack/functions-common:1785:run_plugins /opt/stack/devstack/functions-common:1752:source /opt/stack/kuryr-kubernetes/devstack/plugin.sh:1068:run_k8s_controller_manager /opt/stack/kuryr-kubernetes/devstack/plugin.sh:643:wait_for /opt/stack/kuryr-kubernetes/devstack/plugin.sh:552:die [ERROR] /opt/stack/kuryr-kubernetes/devstack/plugin.sh:Timed out Error on exit nova-compute: no process found neutron-dhcp-agent: no process found neutron-l3-agent: no process found neutron-metadata-agent: no process found neutron-openvswitch-agent: no process found full logs in attachment file master.rar TRAIN BRANCH INSTALLATION: Commands used: ##User add sudo useradd -s /bin/bash -d /opt/stack -m stack echo "stack ALL=(ALL) NOPASSWD: ALL" | sudo tee /etc/sudoers.d/stack sudo su - stack ##Download openstack Train branch git clone https://opendev.org/openstack-dev/devstack -b stable/train cd devstack vi local.conf #Use the all in one config from manual page ## RECLONE=yes ##Start installation ./stack.sh then it return the following error: Obtaining file:///opt/stack/python-blazarclient python-blazarclient requires Python '>=3.6' but the running Python is 2.7.17 You are using pip version 9.0.3, however version 20.0.2 is available. You should consider upgrading via the 'pip install --upgrade pip' command. Error on exit please find in attachment the full logs for this error in file named train.rar Please let me know if you need additional information. BR On 4/19/2020 4:38 AM, Yasufumi Ogawa wrote:
Hi,
Could you make a bug report for sharing your problem exactly if possible?
On 2020/04/18 12:51, Ivandro wrote:
Hello,
I have been trying to install the tacker project in a VM, following the instruction from this url: https://docs.openstack.org/tacker/train/install/devstack.html based on devstack but unsuccessful. Is there a link to download an already installed VM with tacker? I'd like to confirm that we have already have such a VM, or can provide.
Regards, Yasufumi
BR
---- On Wed, 22 Apr 2020 06:59:36 -0500 Ivandro <i201822117@hust.edu.cn> wrote ----
Hello Mr. Yasufumi,
Sorry for later replay. I will be replaying to your feedback timely.
hope to have your support and if possible, guide on how to troubleshooting.
here are my scenario:
I want to install tacker project using the following guide: https://docs.openstack.org/tacker/train/install/devstack.html
My environment info: 2 ubuntu server 18.04.4 LTS, VMWare workstation, 6G RAM, 100G SSD HD, 2vCPU.
Am trying to install both master branch and stable/train, on each server. Please find in attachment the local.conf file used for each installation..
MASTER BRANCH REPORT:
Commands used:
##User add sudo useradd -s /bin/bash -d /opt/stack -m stack echo "stack ALL=(ALL) NOPASSWD: ALL" | sudo tee /etc/sudoers.d/stack sudo su - stack
##Download openstack Train branch git clone https://opendev.org/openstack-dev/devstack -b stable/train cd devstack vi local.conf #Use the all in one config from manual page ## RECLONE=yes
##Start installation ./stack.sh
ERROR INFO:
++/opt/stack/kuryr-kubernetes/devstack/plugin.sh:wait_for:552 die 'Timed out waiting for Kubernetes API Server' ++functions-common:die:193 local exitcode=1 [Call Trace] ./stack.sh:1400:run_phase /opt/stack/devstack/functions-common:1785:run_plugins /opt/stack/devstack/functions-common:1752:source /opt/stack/kuryr-kubernetes/devstack/plugin.sh:1068:run_k8s_controller_manager /opt/stack/kuryr-kubernetes/devstack/plugin.sh:643:wait_for /opt/stack/kuryr-kubernetes/devstack/plugin.sh:552:die [ERROR] /opt/stack/kuryr-kubernetes/devstack/plugin.sh:Timed out Error on exit nova-compute: no process found neutron-dhcp-agent: no process found neutron-l3-agent: no process found neutron-metadata-agent: no process found neutron-openvswitch-agent: no process found full logs in attachment file master.rar
TRAIN BRANCH INSTALLATION:
Commands used:
##User add sudo useradd -s /bin/bash -d /opt/stack -m stack echo "stack ALL=(ALL) NOPASSWD: ALL" | sudo tee /etc/sudoers.d/stack sudo su - stack
##Download openstack Train branch git clone https://opendev.org/openstack-dev/devstack -b stable/train cd devstack vi local.conf #Use the all in one config from manual page ## RECLONE=yes
##Start installation ./stack.sh
then it return the following error:
Obtaining file:///opt/stack/python-blazarclient python-blazarclient requires Python '>=3.6' but the running Python is 2.7.17 You are using pip version 9.0.3, however version 20.0.2 is available. You should consider upgrading via the 'pip install --upgrade pip' command. Error on exit please find in attachment the full logs for this error in file named train.rar
python-blazarclient (even all OpenStack services and lib except swift and Storlets) are now python3-only means their latest version will not be installed on <py3.6 env. You need to use python-blazarclient==2.2.1 for the node running with py2.7. Here are the release notes for python-blazarclient declare the py3 required for 3.0.0 onwards. - https://docs.openstack.org/releasenotes/python-blazarclient/unreleased.html#... -gmann
Please let me know if you need additional information.
BR
On 4/19/2020 4:38 AM, Yasufumi Ogawa wrote:
Hi,
Could you make a bug report for sharing your problem exactly if possible?
On 2020/04/18 12:51, Ivandro wrote:
Hello,
I have been trying to install the tacker project in a VM, following the instruction from this url: https://docs.openstack.org/tacker/train/install/devstack.html based on devstack but unsuccessful. Is there a link to download an already installed VM with tacker? I'd like to confirm that we have already have such a VM, or can provide.
Regards, Yasufumi
BR
Hi, Thank you for the report Ivandro, and suggestion from Ghanshyam. I'd like to reply about asking an image installed Tacker. Unfortunately, we don't have such an image currently. If you still have any problem after following Ghanshyam's suggestion, I'd like to support for your installation, and update documentation if required. Thanks, Yasufumi On 2020/04/23 3:54, Ghanshyam Mann wrote:
---- On Wed, 22 Apr 2020 06:59:36 -0500 Ivandro <i201822117@hust.edu.cn> wrote ----
Hello Mr. Yasufumi,
Sorry for later replay. I will be replaying to your feedback timely.
hope to have your support and if possible, guide on how to troubleshooting.
here are my scenario:
I want to install tacker project using the following guide: https://docs.openstack.org/tacker/train/install/devstack.html
My environment info: 2 ubuntu server 18.04.4 LTS, VMWare workstation, 6G RAM, 100G SSD HD, 2vCPU.
Am trying to install both master branch and stable/train, on each server. Please find in attachment the local.conf file used for each installation..
MASTER BRANCH REPORT:
Commands used:
##User add sudo useradd -s /bin/bash -d /opt/stack -m stack echo "stack ALL=(ALL) NOPASSWD: ALL" | sudo tee /etc/sudoers.d/stack sudo su - stack
##Download openstack Train branch git clone https://opendev.org/openstack-dev/devstack -b stable/train cd devstack vi local.conf #Use the all in one config from manual page ## RECLONE=yes
##Start installation ./stack.sh
ERROR INFO:
++/opt/stack/kuryr-kubernetes/devstack/plugin.sh:wait_for:552 die 'Timed out waiting for Kubernetes API Server' ++functions-common:die:193 local exitcode=1 [Call Trace] ./stack.sh:1400:run_phase /opt/stack/devstack/functions-common:1785:run_plugins /opt/stack/devstack/functions-common:1752:source /opt/stack/kuryr-kubernetes/devstack/plugin.sh:1068:run_k8s_controller_manager /opt/stack/kuryr-kubernetes/devstack/plugin.sh:643:wait_for /opt/stack/kuryr-kubernetes/devstack/plugin.sh:552:die [ERROR] /opt/stack/kuryr-kubernetes/devstack/plugin.sh:Timed out Error on exit nova-compute: no process found neutron-dhcp-agent: no process found neutron-l3-agent: no process found neutron-metadata-agent: no process found neutron-openvswitch-agent: no process found full logs in attachment file master.rar
TRAIN BRANCH INSTALLATION:
Commands used:
##User add sudo useradd -s /bin/bash -d /opt/stack -m stack echo "stack ALL=(ALL) NOPASSWD: ALL" | sudo tee /etc/sudoers.d/stack sudo su - stack
##Download openstack Train branch git clone https://opendev.org/openstack-dev/devstack -b stable/train cd devstack vi local.conf #Use the all in one config from manual page ## RECLONE=yes
##Start installation ./stack.sh
then it return the following error:
Obtaining file:///opt/stack/python-blazarclient python-blazarclient requires Python '>=3.6' but the running Python is 2.7.17 You are using pip version 9.0.3, however version 20.0.2 is available. You should consider upgrading via the 'pip install --upgrade pip' command. Error on exit please find in attachment the full logs for this error in file named train.rar
python-blazarclient (even all OpenStack services and lib except swift and Storlets) are now python3-only means their latest version will not be installed on <py3.6 env.
You need to use python-blazarclient==2.2.1 for the node running with py2.7.
Here are the release notes for python-blazarclient declare the py3 required for 3.0.0 onwards. - https://docs.openstack.org/releasenotes/python-blazarclient/unreleased.html#...
-gmann
Please let me know if you need additional information.
BR
On 4/19/2020 4:38 AM, Yasufumi Ogawa wrote:
Hi,
Could you make a bug report for sharing your problem exactly if possible?
On 2020/04/18 12:51, Ivandro wrote:
Hello,
I have been trying to install the tacker project in a VM, following the instruction from this url: https://docs.openstack.org/tacker/train/install/devstack.html based on devstack but unsuccessful. Is there a link to download an already installed VM with tacker? I'd like to confirm that we have already have such a VM, or can provide.
Regards, Yasufumi
BR
Hi Folks, I do wonder how Blazar became part of Tacker discussion. As for Tacker image, Kolla has working Tacker images [1] [2] (also available with other distros), also in Kolla-Ansible [3], ready for deployment. :-) [1] https://hub.docker.com/r/kolla/ubuntu-source-tacker-conductor [2] https://hub.docker.com/r/kolla/ubuntu-source-tacker-server [3] https://docs.openstack.org/kolla-ansible/latest/reference/orchestration-and-... -yoctozepto On Wed, Apr 22, 2020 at 10:26 PM Yasufumi Ogawa <yasufum.o@gmail.com> wrote:
Hi,
Thank you for the report Ivandro, and suggestion from Ghanshyam.
I'd like to reply about asking an image installed Tacker. Unfortunately, we don't have such an image currently. If you still have any problem after following Ghanshyam's suggestion, I'd like to support for your installation, and update documentation if required.
Thanks, Yasufumi
On 2020/04/23 3:54, Ghanshyam Mann wrote:
---- On Wed, 22 Apr 2020 06:59:36 -0500 Ivandro <i201822117@hust.edu.cn> wrote ----
Hello Mr. Yasufumi,
Sorry for later replay. I will be replaying to your feedback timely.
hope to have your support and if possible, guide on how to troubleshooting.
here are my scenario:
I want to install tacker project using the following guide: https://docs.openstack.org/tacker/train/install/devstack.html
My environment info: 2 ubuntu server 18.04.4 LTS, VMWare workstation, 6G RAM, 100G SSD HD, 2vCPU.
Am trying to install both master branch and stable/train, on each server. Please find in attachment the local.conf file used for each installation..
MASTER BRANCH REPORT:
Commands used:
##User add sudo useradd -s /bin/bash -d /opt/stack -m stack echo "stack ALL=(ALL) NOPASSWD: ALL" | sudo tee /etc/sudoers.d/stack sudo su - stack
##Download openstack Train branch git clone https://opendev.org/openstack-dev/devstack -b stable/train cd devstack vi local.conf #Use the all in one config from manual page ## RECLONE=yes
##Start installation ./stack.sh
ERROR INFO:
++/opt/stack/kuryr-kubernetes/devstack/plugin.sh:wait_for:552 die 'Timed out waiting for Kubernetes API Server' ++functions-common:die:193 local exitcode=1 [Call Trace] ./stack.sh:1400:run_phase /opt/stack/devstack/functions-common:1785:run_plugins /opt/stack/devstack/functions-common:1752:source /opt/stack/kuryr-kubernetes/devstack/plugin.sh:1068:run_k8s_controller_manager /opt/stack/kuryr-kubernetes/devstack/plugin.sh:643:wait_for /opt/stack/kuryr-kubernetes/devstack/plugin.sh:552:die [ERROR] /opt/stack/kuryr-kubernetes/devstack/plugin.sh:Timed out Error on exit nova-compute: no process found neutron-dhcp-agent: no process found neutron-l3-agent: no process found neutron-metadata-agent: no process found neutron-openvswitch-agent: no process found full logs in attachment file master.rar
TRAIN BRANCH INSTALLATION:
Commands used:
##User add sudo useradd -s /bin/bash -d /opt/stack -m stack echo "stack ALL=(ALL) NOPASSWD: ALL" | sudo tee /etc/sudoers.d/stack sudo su - stack
##Download openstack Train branch git clone https://opendev.org/openstack-dev/devstack -b stable/train cd devstack vi local.conf #Use the all in one config from manual page ## RECLONE=yes
##Start installation ./stack.sh
then it return the following error:
Obtaining file:///opt/stack/python-blazarclient python-blazarclient requires Python '>=3.6' but the running Python is 2.7.17 You are using pip version 9.0.3, however version 20.0.2 is available. You should consider upgrading via the 'pip install --upgrade pip' command. Error on exit please find in attachment the full logs for this error in file named train.rar
python-blazarclient (even all OpenStack services and lib except swift and Storlets) are now python3-only means their latest version will not be installed on <py3.6 env.
You need to use python-blazarclient==2.2.1 for the node running with py2.7.
Here are the release notes for python-blazarclient declare the py3 required for 3.0.0 onwards. - https://docs.openstack.org/releasenotes/python-blazarclient/unreleased.html#...
-gmann
Please let me know if you need additional information.
BR
On 4/19/2020 4:38 AM, Yasufumi Ogawa wrote:
Hi,
Could you make a bug report for sharing your problem exactly if possible?
On 2020/04/18 12:51, Ivandro wrote:
Hello,
I have been trying to install the tacker project in a VM, following the instruction from this url: https://docs.openstack.org/tacker/train/install/devstack.html based on devstack but unsuccessful. Is there a link to download an already installed VM with tacker? I'd like to confirm that we have already have such a VM, or can provide.
Regards, Yasufumi
BR
On Thu, Apr 23, 2020 at 5:54 AM Radosław Piliszek <radoslaw.piliszek@gmail.com> wrote:
Hi Folks,
I do wonder how Blazar became part of Tacker discussion.
It is because local.conf suggested in https://docs.openstack.org/tacker/train/install/devstack.html enables blazar devstack plugin. Back to the original query, it is caused by the inconsistent branch usage. The cause of the problem asked looks like that local.conf fetches the master branch of devstack plugins but stable/train devstack is used. The default value of USE_PYTHON3 is False in DevStack stable/train, so python 2.7 is used, but DevStack plugins from the master branch is used, so modules with python3 support only are being installed into python 2.7 environment. What I can say now are: - If you use the stable/train branch, specify stable/train for devstack plugins in local.conf instead of the master branch if you use the stable/train branch. - If you use the master branch, checkout the master branch of DevStack instead of stable/train. -amotoki
As for Tacker image, Kolla has working Tacker images [1] [2] (also available with other distros), also in Kolla-Ansible [3], ready for deployment. :-)
[1] https://hub.docker.com/r/kolla/ubuntu-source-tacker-conductor [2] https://hub.docker.com/r/kolla/ubuntu-source-tacker-server [3] https://docs.openstack.org/kolla-ansible/latest/reference/orchestration-and-...
-yoctozepto
On Wed, Apr 22, 2020 at 10:26 PM Yasufumi Ogawa <yasufum.o@gmail.com> wrote:
Hi,
Thank you for the report Ivandro, and suggestion from Ghanshyam.
I'd like to reply about asking an image installed Tacker. Unfortunately, we don't have such an image currently. If you still have any problem after following Ghanshyam's suggestion, I'd like to support for your installation, and update documentation if required.
Thanks, Yasufumi
On 2020/04/23 3:54, Ghanshyam Mann wrote:
---- On Wed, 22 Apr 2020 06:59:36 -0500 Ivandro <i201822117@hust.edu.cn> wrote ----
Hello Mr. Yasufumi,
Sorry for later replay. I will be replaying to your feedback timely.
hope to have your support and if possible, guide on how to troubleshooting.
here are my scenario:
I want to install tacker project using the following guide: https://docs.openstack.org/tacker/train/install/devstack.html
My environment info: 2 ubuntu server 18.04.4 LTS, VMWare workstation, 6G RAM, 100G SSD HD, 2vCPU.
Am trying to install both master branch and stable/train, on each server. Please find in attachment the local.conf file used for each installation..
MASTER BRANCH REPORT:
Commands used:
##User add sudo useradd -s /bin/bash -d /opt/stack -m stack echo "stack ALL=(ALL) NOPASSWD: ALL" | sudo tee /etc/sudoers.d/stack sudo su - stack
##Download openstack Train branch git clone https://opendev.org/openstack-dev/devstack -b stable/train cd devstack vi local.conf #Use the all in one config from manual page ## RECLONE=yes
##Start installation ./stack.sh
ERROR INFO:
++/opt/stack/kuryr-kubernetes/devstack/plugin.sh:wait_for:552 die 'Timed out waiting for Kubernetes API Server' ++functions-common:die:193 local exitcode=1 [Call Trace] ./stack.sh:1400:run_phase /opt/stack/devstack/functions-common:1785:run_plugins /opt/stack/devstack/functions-common:1752:source /opt/stack/kuryr-kubernetes/devstack/plugin.sh:1068:run_k8s_controller_manager /opt/stack/kuryr-kubernetes/devstack/plugin.sh:643:wait_for /opt/stack/kuryr-kubernetes/devstack/plugin.sh:552:die [ERROR] /opt/stack/kuryr-kubernetes/devstack/plugin.sh:Timed out Error on exit nova-compute: no process found neutron-dhcp-agent: no process found neutron-l3-agent: no process found neutron-metadata-agent: no process found neutron-openvswitch-agent: no process found full logs in attachment file master.rar
TRAIN BRANCH INSTALLATION:
Commands used:
##User add sudo useradd -s /bin/bash -d /opt/stack -m stack echo "stack ALL=(ALL) NOPASSWD: ALL" | sudo tee /etc/sudoers.d/stack sudo su - stack
##Download openstack Train branch git clone https://opendev.org/openstack-dev/devstack -b stable/train cd devstack vi local.conf #Use the all in one config from manual page ## RECLONE=yes
##Start installation ./stack.sh
then it return the following error:
Obtaining file:///opt/stack/python-blazarclient python-blazarclient requires Python '>=3.6' but the running Python is 2.7.17 You are using pip version 9.0.3, however version 20.0.2 is available. You should consider upgrading via the 'pip install --upgrade pip' command. Error on exit please find in attachment the full logs for this error in file named train.rar
python-blazarclient (even all OpenStack services and lib except swift and Storlets) are now python3-only means their latest version will not be installed on <py3.6 env.
You need to use python-blazarclient==2.2.1 for the node running with py2.7.
Here are the release notes for python-blazarclient declare the py3 required for 3.0.0 onwards. - https://docs.openstack.org/releasenotes/python-blazarclient/unreleased.html#...
-gmann
Please let me know if you need additional information.
BR
On 4/19/2020 4:38 AM, Yasufumi Ogawa wrote:
Hi,
Could you make a bug report for sharing your problem exactly if possible?
On 2020/04/18 12:51, Ivandro wrote:
Hello,
I have been trying to install the tacker project in a VM, following the instruction from this url: https://docs.openstack.org/tacker/train/install/devstack.html based on devstack but unsuccessful. Is there a link to download an already installed VM with tacker? I'd like to confirm that we have already have such a VM, or can provide.
Regards, Yasufumi
BR
---- On Wed, 22 Apr 2020 15:52:16 -0500 Radosław Piliszek <radoslaw.piliszek@gmail.com> wrote ----
Hi Folks,
I do wonder how Blazar became part of Tacker discussion.
As for Tacker image, Kolla has working Tacker images [1] [2] (also available with other distros), also in Kolla-Ansible [3], ready for deployment. :-)
If reservation policy feature is being used then tacker need blazar also to do the reservation for tacker. Blazar is not in tacker's requirements.txt maybe because it is not always required (maybe tacker team correct me if wrong) and the feature is based on if Tosca template asked to do the reservation. -gmann
[1] https://hub.docker.com/r/kolla/ubuntu-source-tacker-conductor [2] https://hub.docker.com/r/kolla/ubuntu-source-tacker-server [3] https://docs.openstack.org/kolla-ansible/latest/reference/orchestration-and-...
-yoctozepto
On Wed, Apr 22, 2020 at 10:26 PM Yasufumi Ogawa <yasufum.o@gmail.com> wrote:
Hi,
Thank you for the report Ivandro, and suggestion from Ghanshyam.
I'd like to reply about asking an image installed Tacker. Unfortunately, we don't have such an image currently. If you still have any problem after following Ghanshyam's suggestion, I'd like to support for your installation, and update documentation if required.
Thanks, Yasufumi
On 2020/04/23 3:54, Ghanshyam Mann wrote:
---- On Wed, 22 Apr 2020 06:59:36 -0500 Ivandro <i201822117@hust.edu.cn> wrote ----
Hello Mr. Yasufumi,
Sorry for later replay. I will be replaying to your feedback timely.
hope to have your support and if possible, guide on how to troubleshooting.
here are my scenario:
I want to install tacker project using the following guide: https://docs.openstack.org/tacker/train/install/devstack.html
My environment info: 2 ubuntu server 18.04.4 LTS, VMWare workstation, 6G RAM, 100G SSD HD, 2vCPU.
Am trying to install both master branch and stable/train, on each server. Please find in attachment the local.conf file used for each installation..
MASTER BRANCH REPORT:
Commands used:
##User add sudo useradd -s /bin/bash -d /opt/stack -m stack echo "stack ALL=(ALL) NOPASSWD: ALL" | sudo tee /etc/sudoers.d/stack sudo su - stack
##Download openstack Train branch git clone https://opendev.org/openstack-dev/devstack -b stable/train cd devstack vi local.conf #Use the all in one config from manual page ## RECLONE=yes
##Start installation ./stack.sh
ERROR INFO:
++/opt/stack/kuryr-kubernetes/devstack/plugin.sh:wait_for:552 die 'Timed out waiting for Kubernetes API Server' ++functions-common:die:193 local exitcode=1 [Call Trace] ./stack.sh:1400:run_phase /opt/stack/devstack/functions-common:1785:run_plugins /opt/stack/devstack/functions-common:1752:source /opt/stack/kuryr-kubernetes/devstack/plugin.sh:1068:run_k8s_controller_manager /opt/stack/kuryr-kubernetes/devstack/plugin.sh:643:wait_for /opt/stack/kuryr-kubernetes/devstack/plugin.sh:552:die [ERROR] /opt/stack/kuryr-kubernetes/devstack/plugin.sh:Timed out Error on exit nova-compute: no process found neutron-dhcp-agent: no process found neutron-l3-agent: no process found neutron-metadata-agent: no process found neutron-openvswitch-agent: no process found full logs in attachment file master.rar
TRAIN BRANCH INSTALLATION:
Commands used:
##User add sudo useradd -s /bin/bash -d /opt/stack -m stack echo "stack ALL=(ALL) NOPASSWD: ALL" | sudo tee /etc/sudoers.d/stack sudo su - stack
##Download openstack Train branch git clone https://opendev.org/openstack-dev/devstack -b stable/train cd devstack vi local.conf #Use the all in one config from manual page ## RECLONE=yes
##Start installation ./stack.sh
then it return the following error:
Obtaining file:///opt/stack/python-blazarclient python-blazarclient requires Python '>=3.6' but the running Python is 2.7.17 You are using pip version 9.0.3, however version 20.0.2 is available. You should consider upgrading via the 'pip install --upgrade pip' command. Error on exit please find in attachment the full logs for this error in file named train.rar
python-blazarclient (even all OpenStack services and lib except swift and Storlets) are now python3-only means their latest version will not be installed on <py3.6 env.
You need to use python-blazarclient==2.2.1 for the node running with py2.7.
Here are the release notes for python-blazarclient declare the py3 required for 3.0.0 onwards. - https://docs.openstack.org/releasenotes/python-blazarclient/unreleased.html#...
-gmann
Please let me know if you need additional information.
BR
On 4/19/2020 4:38 AM, Yasufumi Ogawa wrote:
Hi,
Could you make a bug report for sharing your problem exactly if possible?
On 2020/04/18 12:51, Ivandro wrote:
Hello,
I have been trying to install the tacker project in a VM, following the instruction from this url: https://docs.openstack.org/tacker/train/install/devstack.html based on devstack but unsuccessful. Is there a link to download an already installed VM with tacker? I'd like to confirm that we have already have such a VM, or can provide.
Regards, Yasufumi
BR
Hello Mr. Ghanshyam, Appreciate your quickly replay. Regarding your comments: *"p**ython-blazarclient (even all OpenStack services and lib except swift and Storlets) are now **python3-only means their latest version _will not be installed on <py3.6 env_.*" it means that I should use python 3.0 and not 3.6? I prefer to use python 3. Following the instruction on manual (updated ubuntu server and start the installation) automatically selected python 2.7 which was default on ubuntu. I think I will remove version 2.7 and install 3.0, then start a new installation. thank you very much for your support!!! BR On 4/23/2020 2:54 AM, Ghanshyam Mann wrote:
---- On Wed, 22 Apr 2020 06:59:36 -0500 Ivandro <i201822117@hust.edu.cn> wrote ----
Hello Mr. Yasufumi,
Sorry for later replay. I will be replaying to your feedback timely.
hope to have your support and if possible, guide on how to troubleshooting.
here are my scenario:
I want to install tacker project using the following guide: https://docs.openstack.org/tacker/train/install/devstack.html
My environment info: 2 ubuntu server 18.04.4 LTS, VMWare workstation, 6G RAM, 100G SSD HD, 2vCPU.
Am trying to install both master branch and stable/train, on each server. Please find in attachment the local.conf file used for each installation..
MASTER BRANCH REPORT:
Commands used:
##User add sudo useradd -s /bin/bash -d /opt/stack -m stack echo "stack ALL=(ALL) NOPASSWD: ALL" | sudo tee /etc/sudoers.d/stack sudo su - stack
##Download openstack Train branch git clone https://opendev.org/openstack-dev/devstack -b stable/train cd devstack vi local.conf #Use the all in one config from manual page ## RECLONE=yes
##Start installation ./stack.sh
ERROR INFO:
++/opt/stack/kuryr-kubernetes/devstack/plugin.sh:wait_for:552 die 'Timed out waiting for Kubernetes API Server' ++functions-common:die:193 local exitcode=1 [Call Trace] ./stack.sh:1400:run_phase /opt/stack/devstack/functions-common:1785:run_plugins /opt/stack/devstack/functions-common:1752:source /opt/stack/kuryr-kubernetes/devstack/plugin.sh:1068:run_k8s_controller_manager /opt/stack/kuryr-kubernetes/devstack/plugin.sh:643:wait_for /opt/stack/kuryr-kubernetes/devstack/plugin.sh:552:die [ERROR] /opt/stack/kuryr-kubernetes/devstack/plugin.sh:Timed out Error on exit nova-compute: no process found neutron-dhcp-agent: no process found neutron-l3-agent: no process found neutron-metadata-agent: no process found neutron-openvswitch-agent: no process found full logs in attachment file master.rar
TRAIN BRANCH INSTALLATION:
Commands used:
##User add sudo useradd -s /bin/bash -d /opt/stack -m stack echo "stack ALL=(ALL) NOPASSWD: ALL" | sudo tee /etc/sudoers.d/stack sudo su - stack
##Download openstack Train branch git clone https://opendev.org/openstack-dev/devstack -b stable/train cd devstack vi local.conf #Use the all in one config from manual page ## RECLONE=yes
##Start installation ./stack.sh
then it return the following error:
Obtaining file:///opt/stack/python-blazarclient python-blazarclient requires Python '>=3.6' but the running Python is 2.7.17 You are using pip version 9.0.3, however version 20.0.2 is available. You should consider upgrading via the 'pip install --upgrade pip' command. Error on exit please find in attachment the full logs for this error in file named train.rar
python-blazarclient (even all OpenStack services and lib except swift and Storlets) are now python3-only means their latest version will not be installed on <py3.6 env.
You need to use python-blazarclient==2.2.1 for the node running with py2.7.
Here are the release notes for python-blazarclient declare the py3 required for 3.0.0 onwards. - https://docs.openstack.org/releasenotes/python-blazarclient/unreleased.html#...
-gmann
Please let me know if you need additional information.
BR
On 4/19/2020 4:38 AM, Yasufumi Ogawa wrote:
Hi,
Could you make a bug report for sharing your problem exactly if possible?
On 2020/04/18 12:51, Ivandro wrote:
Hello,
I have been trying to install the tacker project in a VM, following the instruction from this url: https://docs.openstack.org/tacker/train/install/devstack.html based on devstack but unsuccessful. Is there a link to download an already installed VM with tacker? I'd like to confirm that we have already have such a VM, or can provide.
Regards, Yasufumi
BR
---- On Wed, 22 Apr 2020 21:18:13 -0500 Ivandro <i201822117@hust.edu.cn> wrote ----
Hello Mr. Ghanshyam,
Appreciate your quickly replay. Regarding your comments: "python-blazarclient (even all OpenStack services and lib except swift and Storlets) are now python3-only means their latest version will not be installed on <py3.6 env." it means that I should use python 3.0 and not 3.6?
If it is later than stein release which is your case as it is stable/train node, py3.6 is required. py3.5 or older py3 have been supported until rocky release only.
I prefer to use python 3. Following the instruction on manual (updated ubuntu server and start the installation) automatically selected python 2.7 which was default on ubuntu. I think I will remove version 2.7 and install 3.0, then start a new installation.
+1. If you have read the amotoki reply, he suggested the way to handle this problem ok keeping both devstack and devstack plugins consistent with master version or stable/train so that compatible versions of dependencies is installed. -gmann
thank you very much for your support!!!
BR
On 4/23/2020 2:54 AM, Ghanshyam Mann wrote:
---- On Wed, 22 Apr 2020 06:59:36 -0500 Ivandro <i201822117@hust.edu.cn> wrote ---- > Hello Mr. Yasufumi, > > Sorry for later replay. I will be replaying to your feedback timely. > > hope to have your support and if possible, guide on how to troubleshooting. > > here are my scenario: > > I want to install tacker project using the following guide: > https://docs.openstack.org/tacker/train/install/devstack.html > > My environment info: 2 ubuntu server 18.04.4 LTS, VMWare workstation, 6G > RAM, 100G SSD HD, 2vCPU. > > Am trying to install both master branch and stable/train, on each > server. Please find in attachment the local.conf file used for each > installation.. > > MASTER BRANCH REPORT: > > Commands used: > > ##User add > sudo useradd -s /bin/bash -d /opt/stack -m stack > echo "stack ALL=(ALL) NOPASSWD: ALL" | sudo tee /etc/sudoers.d/stack > sudo su - stack > > ##Download openstack Train branch > git clone https://opendev.org/openstack-dev/devstack -b stable/train > cd devstack > vi local.conf #Use the all in one config from manual page > ## RECLONE=yes > > ##Start installation > ./stack.sh > > ERROR INFO: > > ++/opt/stack/kuryr-kubernetes/devstack/plugin.sh:wait_for:552 die 'Timed > out waiting for Kubernetes API Server' > ++functions-common:die:193 local exitcode=1 > [Call Trace] > ./stack.sh:1400:run_phase > /opt/stack/devstack/functions-common:1785:run_plugins > /opt/stack/devstack/functions-common:1752:source > /opt/stack/kuryr-kubernetes/devstack/plugin.sh:1068:run_k8s_controller_manager > /opt/stack/kuryr-kubernetes/devstack/plugin.sh:643:wait_for > /opt/stack/kuryr-kubernetes/devstack/plugin.sh:552:die > [ERROR] /opt/stack/kuryr-kubernetes/devstack/plugin.sh:Timed out > Error on exit > nova-compute: no process found > neutron-dhcp-agent: no process found > neutron-l3-agent: no process found > neutron-metadata-agent: no process found > neutron-openvswitch-agent: no process found > full logs in attachment file master.rar > > > > > TRAIN BRANCH INSTALLATION: > > Commands used: > > ##User add > sudo useradd -s /bin/bash -d /opt/stack -m stack > echo "stack ALL=(ALL) NOPASSWD: ALL" | sudo tee /etc/sudoers.d/stack > sudo su - stack > > ##Download openstack Train branch > git clone https://opendev.org/openstack-dev/devstack -b stable/train > cd devstack > vi local.conf #Use the all in one config from manual page > ## RECLONE=yes > > ##Start installation > ./stack.sh > > then it return the following error: > > Obtaining file:///opt/stack/python-blazarclient > python-blazarclient requires Python '>=3.6' but the running Python is 2.7.17 > You are using pip version 9.0.3, however version 20.0.2 is available. > You should consider upgrading via the 'pip install --upgrade pip' command. > Error on exit > please find in attachment the full logs for this error in file named > train.rarpython-blazarclient (even all OpenStack services and lib except swift and Storlets) are nowpython3-only means their latest version will not be installed on <py3.6 env.You need to use python-blazarclient==2.2.1 for the node running with py2.7.Here are the release notes for python-blazarclient declare the py3 required for 3.0.0 onwards.- https://docs.openstack.org/releasenotes/python-blazarclient/unreleased.html#... > > > Please let me know if you need additional information. > > > BR > > > > > On 4/19/2020 4:38 AM, Yasufumi Ogawa wrote: > > Hi, > > > > Could you make a bug report for sharing your problem exactly if possible? > > > > On 2020/04/18 12:51, Ivandro wrote: > >> Hello, > >> > >> I have been trying to install the tacker project in a VM, following > >> the instruction from this url: > >> https://docs.openstack.org/tacker/train/install/devstack.html based > >> on devstack but unsuccessful. Is there a link to download an already > >> installed VM with tacker? > > I'd like to confirm that we have already have such a VM, or can provide. > > > > Regards, > > Yasufumi > > > >> > >> > >> BR >
Hi. lvandro. I think you have a problem with os. Yesterday, I checked the master version of tacker using devstack. And It installed well. I used ubuntu 18.04 and used the master version devstack. I attached my local conf option like below. Please check it . If you have any questions, feel free to contact me and tacker ML. Thank you. ---------------------- [[local|localrc]] HOST_IP= ip.. ADMIN_PASSWORD=1111 DATABASE_PASSWORD=$ADMIN_PASSWORD RABBIT_PASSWORD=$ADMIN_PASSWORD SERVICE_PASSWORD=$ADMIN_PASSWORD SERVICE_TOKEN=$ADMIN_PASSWORD IDENTITY_API_VERSION=3 LOGFILE=$DEST/logs/stack.sh.log LOGDAYS=2 LOG_COLOR=True ENABLE_DEBUG_LOG_LEVEL=false # Disable security groups Q_USE_SECGROUP=False #enable_plugin os-vif https://opendev.org/openstack/os-vif master ## kubernetes master node ########################## ## Loadbalance ########################## ## case of octavia LIBS_FROM_GIT+=python-octaviaclient ENABLED_SERVICES+=,octavia,o-api,o-cw,o-hm,o-hk enable_plugin octavia https://opendev.org/openstack/octavia master enable_plugin octavia-dashboard https://opendev.org/openstack/octavia-dashboard master # Increase Octavia amphorae timeout so that the first LB amphora has time to # build and boot #IMAGE_URLS+=", http://download.cirros-cloud.net/0.3.4/cirros-0.3.4-x86_64-disk.img" IMAGE_URLS+=", http://download.cirros-cloud.net/0.3.6/cirros-0.3.6-x86_64-disk.img" #!# kubernetes and docker environment enable_plugin kuryr-kubernetes https://opendev.org/openstack/kuryr-kubernetes master enable_plugin devstack-plugin-container https://opendev.org/openstack/devstack-plugin-container master #!# Etcd ENABLED_SERVICES+=,etcd3 #!# Kubernetes-master ENABLED_SERVICES+=,kubernetes-api,kubernetes-controller-manager,kubernetes-scheduler #!# Kubelet ENABLED_SERVICES+=,kubelet #!# Kuryr watcher ENABLED_SERVICES+=,kuryr-kubernetes #!# Kuryr Daemon ENABLED_SERVICES+=,kuryr-daemon KUBERNETES_VIM=True # Tacker enable_plugin heat https://opendev.org/openstack/heat master enable_plugin networking-sfc https://opendev.org/openstack/networking-sfc master enable_plugin barbican https://opendev.org/openstack/barbican master enable_plugin mistral https://opendev.org/openstack/mistral.git master enable_plugin tacker https://opendev.org/openstack/tacker.git master USE_BARBICAN=True # alarm enable_plugin ceilometer https://opendev.org/openstack/ceilometer master enable_plugin aodh http://opendev.org/openstack/aodh master disable_service tempest swift [[post-config|$OCTAVIA_CONF]] [controller_worker] amp_active_retries = 9999 [[post-config|$NEUTRON_DHCP_CONF]] [DEFAULT] enable_isolated_metadata = True 2020년 4월 23일 (목) 오전 3:30, Ivandro <i201822117@hust.edu.cn>님이 작성:
Hello Mr. Yasufumi,
Sorry for later replay. I will be replaying to your feedback timely.
hope to have your support and if possible, guide on how to troubleshooting.
here are my scenario:
I want to install tacker project using the following guide: https://docs.openstack.org/tacker/train/install/devstack.html
My environment info: 2 ubuntu server 18.04.4 LTS, VMWare workstation, 6G RAM, 100G SSD HD, 2vCPU.
Am trying to install both master branch and stable/train, on each server. Please find in attachment the local.conf file used for each installation..
MASTER BRANCH REPORT:
Commands used:
##User add sudo useradd -s /bin/bash -d /opt/stack -m stack echo "stack ALL=(ALL) NOPASSWD: ALL" | sudo tee /etc/sudoers.d/stack sudo su - stack
##Download openstack Train branch git clone https://opendev.org/openstack-dev/devstack -b stable/train cd devstack vi local.conf #Use the all in one config from manual page ## RECLONE=yes
##Start installation ./stack.sh
ERROR INFO:
++/opt/stack/kuryr-kubernetes/devstack/plugin.sh:wait_for:552 die 'Timed out waiting for Kubernetes API Server' ++functions-common:die:193 local exitcode=1 [Call Trace] ./stack.sh:1400:run_phase /opt/stack/devstack/functions-common:1785:run_plugins /opt/stack/devstack/functions-common:1752:source
/opt/stack/kuryr-kubernetes/devstack/plugin.sh:1068:run_k8s_controller_manager /opt/stack/kuryr-kubernetes/devstack/plugin.sh:643:wait_for /opt/stack/kuryr-kubernetes/devstack/plugin.sh:552:die [ERROR] /opt/stack/kuryr-kubernetes/devstack/plugin.sh:Timed out Error on exit nova-compute: no process found neutron-dhcp-agent: no process found neutron-l3-agent: no process found neutron-metadata-agent: no process found neutron-openvswitch-agent: no process found full logs in attachment file master.rar
TRAIN BRANCH INSTALLATION:
Commands used:
##User add sudo useradd -s /bin/bash -d /opt/stack -m stack echo "stack ALL=(ALL) NOPASSWD: ALL" | sudo tee /etc/sudoers.d/stack sudo su - stack
##Download openstack Train branch git clone https://opendev.org/openstack-dev/devstack -b stable/train cd devstack vi local.conf #Use the all in one config from manual page ## RECLONE=yes
##Start installation ./stack.sh
then it return the following error:
Obtaining file:///opt/stack/python-blazarclient python-blazarclient requires Python '>=3.6' but the running Python is 2.7.17 You are using pip version 9.0.3, however version 20.0.2 is available. You should consider upgrading via the 'pip install --upgrade pip' command. Error on exit please find in attachment the full logs for this error in file named train.rar
Please let me know if you need additional information.
BR
On 4/19/2020 4:38 AM, Yasufumi Ogawa wrote:
Hi,
Could you make a bug report for sharing your problem exactly if possible?
On 2020/04/18 12:51, Ivandro wrote:
Hello,
I have been trying to install the tacker project in a VM, following the instruction from this url: https://docs.openstack.org/tacker/train/install/devstack.html based on devstack but unsuccessful. Is there a link to download an already installed VM with tacker? I'd like to confirm that we have already have such a VM, or can provide.
Regards, Yasufumi
BR
-- *----------------------------------------------------------------* *Hyunsik Yang (Ph. D candidate)* *DCN laboratory / School of Electronic Engineering* *Soongsil University * *511 Sangdo-dong Dongjak-gu* *Seoul, 156-743 Korea* *TEL : (+82)-2-820-0841 * *M.P: (+82)-10-9005-7439*
Hello Mr. Hyunik, I try to run a new installation using the local.conf file that you suggest and the installation was not successful. here are additional information about my setup: - new installation and update ubuntu 18.04.4; - on vmware workstation, 8Gb RAM, 100G SSD HD, 4 vCPU; - local file and logs in attachment. - I used the same steps as described below (add user, download devstack, start the installation, ...) - before the installation, only the python3.6 was installed: *john@opestack:/lib$ ls /usr/bin/py*** **/usr/bin/py3clean /usr/bin/pydoc3.6 /usr/bin/pyjwt3 /usr/bin/python3-jsonpointer /usr/bin/python3m** **/usr/bin/py3compile /usr/bin/pygettext3 /usr/bin/python3 /usr/bin/python3-jsonschema** **/usr/bin/py3versions /usr/bin/pygettext3.6 /usr/bin/python3-jsondiff /usr/bin/python3.6** **/usr/bin/pydoc3 /usr/bin/pyhtmlizer3 /usr/bin/python3-jsonpatch /usr/bin/python3.6m* * * - after the installation here are the python installation info: *john@DevstackMaster:~$ ls -la /usr/bin/python*** **lrwxrwxrwx 1 root root 9 Apr 16 2018 /usr/bin/python -> python2.7** **lrwxrwxrwx 1 root root 9 Apr 16 2018 /usr/bin/python2 -> python2.7** **-rwxr-xr-x 1 root root 3637096 Apr 16 01:20 /usr/bin/python2.7** **lrwxrwxrwx 1 root root 9 Oct 25 2018 /usr/bin/python3 -> python3.6** **lrwxrwxrwx 1 root root 16 Oct 25 2018 /usr/bin/python3-config -> python3.6-config** **-rwxr-xr-x 1 root root 1018 Oct 29 2017 /usr/bin/python3-jsondiff** **-rwxr-xr-x 1 root root 3661 Oct 29 2017 /usr/bin/python3-jsonpatch** **-rwxr-xr-x 1 root root 1342 May 2 2016 /usr/bin/python3-jsonpointer** **-rwxr-xr-x 1 root root 398 Nov 16 2017 /usr/bin/python3-jsonschema** **-rwxr-xr-x 2 root root 4526456 Apr 18 09:56 /usr/bin/python3.6** **lrwxrwxrwx 1 root root 33 Apr 18 09:56 /usr/bin/python3.6-config -> x86_64-linux-gnu-python3.6-config** **-rwxr-xr-x 2 root root 4526456 Apr 18 09:56 /usr/bin/python3.6m** **lrwxrwxrwx 1 root root 34 Apr 18 09:56 /usr/bin/python3.6m-config -> x86_64-linux-gnu-python3.6m-config** **lrwxrwxrwx 1 root root 10 Oct 25 2018 /usr/bin/python3m -> python3.6m** **lrwxrwxrwx 1 root root 17 Oct 25 2018 /usr/bin/python3m-config -> python3.6m-config** * It occurred two errors (Fie "ERROR ONE AND TWO.txt" in attachment: Here are the description: 1: on the first error, I changed line 98 on file *"/opt/stack/devstack/tools/outfilter.py" from **"*outfile.write(ts_line.encode('utf-8'))" to "outfile.write(ts_line.encode('utf-8','surrogatepass'))". then executed the command ./unstack, ./stack *Created symlink /etc/systemd/system/multi-user.target.wants/memcached.service → /lib/systemd/system/memcached.service.** **Traceback (most recent call last):** ** File "/opt/stack/devstack/tools/outfilter.py", line 104, in <module>** ** sys.exit(main())** ** File "/opt/stack/devstack/tools/outfilter.py", line 98, in main** ** outfile.write(ts_line.encode('utf-8'))** **UnicodeEncodeError: 'utf-8' codec can't encode characters in position 104-106: surrogates not allowed** **stack@DevstackMaster:~/devstack$* 2: here are the second error: +./stack.sh:main:796 PYPI_ALTERNATIVE_URL= +./stack.sh:main:796 /opt/stack/devstack/tools/install_pip.sh bash: warning: setlocale: LC_ALL: cannot change locale (en_US.utf8) /opt/stack/devstack/.localrc.auto: line 2: 192.168.11.111: command not found ++./stack.sh:main:796 err_trap ++./stack.sh:err_trap:574 local r=127 stack.sh failed: full log in /opt/stack/logs/stack.sh.log.2020-04-23-132112 Error on exit stack@DevstackMaster:~/devstack$ Hope you can help e solve this issue. BR On 4/23/2020 9:58 AM, hyunsikYang wrote:
Hi. lvandro.
I think you have a problem with os.
Yesterday, I checked the master version of tacker using devstack. And It installed well.
I used ubuntu 18.04 and used the master version devstack.
I attached my local conf option like below. Please check it .
If you have any questions, feel free to contact me and tacker ML.
Thank you.
---------------------- [[local|localrc]] HOST_IP= ip..
ADMIN_PASSWORD=1111 DATABASE_PASSWORD=$ADMIN_PASSWORD RABBIT_PASSWORD=$ADMIN_PASSWORD SERVICE_PASSWORD=$ADMIN_PASSWORD SERVICE_TOKEN=$ADMIN_PASSWORD IDENTITY_API_VERSION=3
LOGFILE=$DEST/logs/stack.sh.log LOGDAYS=2 LOG_COLOR=True
ENABLE_DEBUG_LOG_LEVEL=false
# Disable security groups Q_USE_SECGROUP=False
#enable_plugin os-vif https://opendev.org/openstack/os-vif master
## kubernetes master node ########################## ## Loadbalance ########################## ## case of octavia LIBS_FROM_GIT+=python-octaviaclient ENABLED_SERVICES+=,octavia,o-api,o-cw,o-hm,o-hk enable_plugin octavia https://opendev.org/openstack/octavia master enable_plugin octavia-dashboard https://opendev.org/openstack/octavia-dashboard master # Increase Octavia amphorae timeout so that the first LB amphora has time to # build and boot #IMAGE_URLS+=",http://download.cirros-cloud.net/0.3.4/cirros-0.3.4-x86_64-disk.img" IMAGE_URLS+=",http://download.cirros-cloud.net/0.3.6/cirros-0.3.6-x86_64-disk.img"
#!# kubernetes and docker environment enable_plugin kuryr-kubernetes https://opendev.org/openstack/kuryr-kubernetes master enable_plugin devstack-plugin-container https://opendev.org/openstack/devstack-plugin-container master
#!# Etcd ENABLED_SERVICES+=,etcd3
#!# Kubernetes-master ENABLED_SERVICES+=,kubernetes-api,kubernetes-controller-manager,kubernetes-scheduler
#!# Kubelet ENABLED_SERVICES+=,kubelet
#!# Kuryr watcher ENABLED_SERVICES+=,kuryr-kubernetes
#!# Kuryr Daemon ENABLED_SERVICES+=,kuryr-daemon KUBERNETES_VIM=True
# Tacker enable_plugin heat https://opendev.org/openstack/heat master enable_plugin networking-sfc https://opendev.org/openstack/networking-sfc master enable_plugin barbican https://opendev.org/openstack/barbican master enable_plugin mistral https://opendev.org/openstack/mistral.git master enable_plugin tacker https://opendev.org/openstack/tacker.git master USE_BARBICAN=True
# alarm enable_plugin ceilometer https://opendev.org/openstack/ceilometer master enable_plugin aodh http://opendev.org/openstack/aodh master
disable_service tempest swift
[[post-config|$OCTAVIA_CONF]] [controller_worker] amp_active_retries = 9999
[[post-config|$NEUTRON_DHCP_CONF]] [DEFAULT] enable_isolated_metadata = True
2020년 4월 23일 (목) 오전 3:30, Ivandro <i201822117@hust.edu.cn <mailto:i201822117@hust.edu.cn>>님이 작성:
Hello Mr. Yasufumi,
Sorry for later replay. I will be replaying to your feedback timely.
hope to have your support and if possible, guide on how to troubleshooting.
here are my scenario:
I want to install tacker project using the following guide: https://docs.openstack.org/tacker/train/install/devstack.html
My environment info: 2 ubuntu server 18.04.4 LTS, VMWare workstation, 6G RAM, 100G SSD HD, 2vCPU.
Am trying to install both master branch and stable/train, on each server. Please find in attachment the local.conf file used for each installation..
MASTER BRANCH REPORT:
Commands used:
##User add sudo useradd -s /bin/bash -d /opt/stack -m stack echo "stack ALL=(ALL) NOPASSWD: ALL" | sudo tee /etc/sudoers.d/stack sudo su - stack
##Download openstack Train branch git clone https://opendev.org/openstack-dev/devstack -b stable/train cd devstack vi local.conf #Use the all in one config from manual page ## RECLONE=yes
##Start installation ./stack.sh
ERROR INFO:
++/opt/stack/kuryr-kubernetes/devstack/plugin.sh:wait_for:552 die 'Timed out waiting for Kubernetes API Server' ++functions-common:die:193 local exitcode=1 [Call Trace] ./stack.sh:1400:run_phase /opt/stack/devstack/functions-common:1785:run_plugins /opt/stack/devstack/functions-common:1752:source /opt/stack/kuryr-kubernetes/devstack/plugin.sh:1068:run_k8s_controller_manager /opt/stack/kuryr-kubernetes/devstack/plugin.sh:643:wait_for /opt/stack/kuryr-kubernetes/devstack/plugin.sh:552:die [ERROR] /opt/stack/kuryr-kubernetes/devstack/plugin.sh:Timed out Error on exit nova-compute: no process found neutron-dhcp-agent: no process found neutron-l3-agent: no process found neutron-metadata-agent: no process found neutron-openvswitch-agent: no process found full logs in attachment file master.rar
TRAIN BRANCH INSTALLATION:
Commands used:
##User add sudo useradd -s /bin/bash -d /opt/stack -m stack echo "stack ALL=(ALL) NOPASSWD: ALL" | sudo tee /etc/sudoers.d/stack sudo su - stack
##Download openstack Train branch git clone https://opendev.org/openstack-dev/devstack -b stable/train cd devstack vi local.conf #Use the all in one config from manual page ## RECLONE=yes
##Start installation ./stack.sh
then it return the following error:
Obtaining file:///opt/stack/python-blazarclient python-blazarclient requires Python '>=3.6' but the running Python is 2.7.17 You are using pip version 9.0.3, however version 20.0.2 is available. You should consider upgrading via the 'pip install --upgrade pip' command. Error on exit please find in attachment the full logs for this error in file named train.rar
Please let me know if you need additional information.
BR
On 4/19/2020 4:38 AM, Yasufumi Ogawa wrote: > Hi, > > Could you make a bug report for sharing your problem exactly if possible? > > On 2020/04/18 12:51, Ivandro wrote: >> Hello, >> >> I have been trying to install the tacker project in a VM, following >> the instruction from this url: >> https://docs.openstack.org/tacker/train/install/devstack.html based >> on devstack but unsuccessful. Is there a link to download an already >> installed VM with tacker? > I'd like to confirm that we have already have such a VM, or can provide. > > Regards, > Yasufumi > >> >> >> BR
--
*----------------------------------------------------------------*
*Hyunsik Yang (Ph. D candidate)*
*DCN laboratory / School of Electronic Engineering*
*Soongsil University *
*511 Sangdo-dong Dongjak-gu*
*Seoul, 156-743 Korea*
*TEL : (+82)-2-820-0841 *
*M.P: (+82)-10-9005-7439*
Hi. for First error , You can modify code like below and it works. outfile.write(ts_line.encode('utf-8','surrogatepass')) For the second error, I can't see the error log. Please check above that you captured. thanks 2020년 4월 23일 (목) 오후 3:14, Ivandro <i201822117@hust.edu.cn>님이 작성:
Hello Mr. Hyunik,
I try to run a new installation using the local.conf file that you suggest and the installation was not successful. here are additional information about my setup:
- new installation and update ubuntu 18.04.4;
- on vmware workstation, 8Gb RAM, 100G SSD HD, 4 vCPU;
- local file and logs in attachment.
- I used the same steps as described below (add user, download devstack, start the installation, ...)
- before the installation, only the python3.6 was installed:
*john@opestack:/lib$ ls /usr/bin/py** */usr/bin/py3clean /usr/bin/pydoc3.6 /usr/bin/pyjwt3 /usr/bin/python3-jsonpointer /usr/bin/python3m* */usr/bin/py3compile /usr/bin/pygettext3 /usr/bin/python3 /usr/bin/python3-jsonschema* */usr/bin/py3versions /usr/bin/pygettext3.6 /usr/bin/python3-jsondiff /usr/bin/python3.6* */usr/bin/pydoc3 /usr/bin/pyhtmlizer3 /usr/bin/python3-jsonpatch /usr/bin/python3.6m*
- after the installation here are the python installation info:
*john@DevstackMaster:~$ ls -la /usr/bin/python** *lrwxrwxrwx 1 root root 9 Apr 16 2018 /usr/bin/python -> python2.7* *lrwxrwxrwx 1 root root 9 Apr 16 2018 /usr/bin/python2 -> python2.7* *-rwxr-xr-x 1 root root 3637096 Apr 16 01:20 /usr/bin/python2.7* *lrwxrwxrwx 1 root root 9 Oct 25 2018 /usr/bin/python3 -> python3.6* *lrwxrwxrwx 1 root root 16 Oct 25 2018 /usr/bin/python3-config -> python3.6-config* *-rwxr-xr-x 1 root root 1018 Oct 29 2017 /usr/bin/python3-jsondiff* *-rwxr-xr-x 1 root root 3661 Oct 29 2017 /usr/bin/python3-jsonpatch* *-rwxr-xr-x 1 root root 1342 May 2 2016 /usr/bin/python3-jsonpointer* *-rwxr-xr-x 1 root root 398 Nov 16 2017 /usr/bin/python3-jsonschema* *-rwxr-xr-x 2 root root 4526456 Apr 18 09:56 /usr/bin/python3.6* *lrwxrwxrwx 1 root root 33 Apr 18 09:56 /usr/bin/python3.6-config -> x86_64-linux-gnu-python3.6-config* *-rwxr-xr-x 2 root root 4526456 Apr 18 09:56 /usr/bin/python3.6m* *lrwxrwxrwx 1 root root 34 Apr 18 09:56 /usr/bin/python3.6m-config -> x86_64-linux-gnu-python3.6m-config* *lrwxrwxrwx 1 root root 10 Oct 25 2018 /usr/bin/python3m -> python3.6m* *lrwxrwxrwx 1 root root 17 Oct 25 2018 /usr/bin/python3m-config -> python3.6m-config*
It occurred two errors (Fie "ERROR ONE AND TWO.txt" in attachment: Here are the description: 1: on the first error, I changed line 98 on file *"/opt/stack/devstack/tools/outfilter.py" from **"*outfile.write(ts_line.encode('utf-8'))" to "outfile.write(ts_line.encode('utf-8','surrogatepass'))". then executed the command ./unstack, ./stack
*Created symlink /etc/systemd/system/multi-user.target.wants/memcached.service → /lib/systemd/system/memcached.service.* *Traceback (most recent call last):* * File "/opt/stack/devstack/tools/outfilter.py", line 104, in <module>* * sys.exit(main())* * File "/opt/stack/devstack/tools/outfilter.py", line 98, in main* * outfile.write(ts_line.encode('utf-8'))* *UnicodeEncodeError: 'utf-8' codec can't encode characters in position 104-106: surrogates not allowed* *stack@DevstackMaster:~/devstack$*
2: here are the second error:
+./stack.sh:main:796 PYPI_ALTERNATIVE_URL= +./stack.sh:main:796 /opt/stack/devstack/tools/install_pip.sh bash: warning: setlocale: LC_ALL: cannot change locale (en_US.utf8) /opt/stack/devstack/.localrc.auto: line 2: 192.168.11.111: command not found ++./stack.sh:main:796 err_trap ++./stack.sh:err_trap:574 local r=127 stack.sh failed: full log in /opt/stack/logs/stack.sh.log.2020-04-23-132112 Error on exit stack@DevstackMaster:~/devstack$
Hope you can help e solve this issue.
BR
On 4/23/2020 9:58 AM, hyunsikYang wrote:
Hi. lvandro.
I think you have a problem with os.
Yesterday, I checked the master version of tacker using devstack. And It installed well.
I used ubuntu 18.04 and used the master version devstack.
I attached my local conf option like below. Please check it .
If you have any questions, feel free to contact me and tacker ML.
Thank you.
---------------------- [[local|localrc]] HOST_IP= ip..
ADMIN_PASSWORD=1111 DATABASE_PASSWORD=$ADMIN_PASSWORD RABBIT_PASSWORD=$ADMIN_PASSWORD SERVICE_PASSWORD=$ADMIN_PASSWORD SERVICE_TOKEN=$ADMIN_PASSWORD IDENTITY_API_VERSION=3
LOGFILE=$DEST/logs/stack.sh.log LOGDAYS=2 LOG_COLOR=True
ENABLE_DEBUG_LOG_LEVEL=false
# Disable security groups Q_USE_SECGROUP=False
#enable_plugin os-vif https://opendev.org/openstack/os-vif master
## kubernetes master node ########################## ## Loadbalance ########################## ## case of octavia LIBS_FROM_GIT+=python-octaviaclient ENABLED_SERVICES+=,octavia,o-api,o-cw,o-hm,o-hk enable_plugin octavia https://opendev.org/openstack/octavia master enable_plugin octavia-dashboard https://opendev.org/openstack/octavia-dashboard master # Increase Octavia amphorae timeout so that the first LB amphora has time to # build and boot #IMAGE_URLS+=", http://download.cirros-cloud.net/0.3.4/cirros-0.3.4-x86_64-disk.img" IMAGE_URLS+=", http://download.cirros-cloud.net/0.3.6/cirros-0.3.6-x86_64-disk.img"
#!# kubernetes and docker environment enable_plugin kuryr-kubernetes https://opendev.org/openstack/kuryr-kubernetes master enable_plugin devstack-plugin-container https://opendev.org/openstack/devstack-plugin-container master
#!# Etcd ENABLED_SERVICES+=,etcd3
#!# Kubernetes-master
ENABLED_SERVICES+=,kubernetes-api,kubernetes-controller-manager,kubernetes-scheduler
#!# Kubelet ENABLED_SERVICES+=,kubelet
#!# Kuryr watcher ENABLED_SERVICES+=,kuryr-kubernetes
#!# Kuryr Daemon ENABLED_SERVICES+=,kuryr-daemon KUBERNETES_VIM=True
# Tacker enable_plugin heat https://opendev.org/openstack/heat master enable_plugin networking-sfc https://opendev.org/openstack/networking-sfc master enable_plugin barbican https://opendev.org/openstack/barbican master enable_plugin mistral https://opendev.org/openstack/mistral.git master enable_plugin tacker https://opendev.org/openstack/tacker.git master USE_BARBICAN=True
# alarm enable_plugin ceilometer https://opendev.org/openstack/ceilometer master enable_plugin aodh http://opendev.org/openstack/aodh master
disable_service tempest swift
[[post-config|$OCTAVIA_CONF]] [controller_worker] amp_active_retries = 9999
[[post-config|$NEUTRON_DHCP_CONF]] [DEFAULT] enable_isolated_metadata = True
2020년 4월 23일 (목) 오전 3:30, Ivandro <i201822117@hust.edu.cn>님이 작성:
Hello Mr. Yasufumi,
Sorry for later replay. I will be replaying to your feedback timely.
hope to have your support and if possible, guide on how to troubleshooting.
here are my scenario:
I want to install tacker project using the following guide: https://docs.openstack.org/tacker/train/install/devstack.html
My environment info: 2 ubuntu server 18.04.4 LTS, VMWare workstation, 6G RAM, 100G SSD HD, 2vCPU.
Am trying to install both master branch and stable/train, on each server. Please find in attachment the local.conf file used for each installation..
MASTER BRANCH REPORT:
Commands used:
##User add sudo useradd -s /bin/bash -d /opt/stack -m stack echo "stack ALL=(ALL) NOPASSWD: ALL" | sudo tee /etc/sudoers.d/stack sudo su - stack
##Download openstack Train branch git clone https://opendev.org/openstack-dev/devstack -b stable/train cd devstack vi local.conf #Use the all in one config from manual page ## RECLONE=yes
##Start installation ./stack.sh
ERROR INFO:
++/opt/stack/kuryr-kubernetes/devstack/plugin.sh:wait_for:552 die 'Timed out waiting for Kubernetes API Server' ++functions-common:die:193 local exitcode=1 [Call Trace] ./stack.sh:1400:run_phase /opt/stack/devstack/functions-common:1785:run_plugins /opt/stack/devstack/functions-common:1752:source
/opt/stack/kuryr-kubernetes/devstack/plugin.sh:1068:run_k8s_controller_manager /opt/stack/kuryr-kubernetes/devstack/plugin.sh:643:wait_for /opt/stack/kuryr-kubernetes/devstack/plugin.sh:552:die [ERROR] /opt/stack/kuryr-kubernetes/devstack/plugin.sh:Timed out Error on exit nova-compute: no process found neutron-dhcp-agent: no process found neutron-l3-agent: no process found neutron-metadata-agent: no process found neutron-openvswitch-agent: no process found full logs in attachment file master.rar
TRAIN BRANCH INSTALLATION:
Commands used:
##User add sudo useradd -s /bin/bash -d /opt/stack -m stack echo "stack ALL=(ALL) NOPASSWD: ALL" | sudo tee /etc/sudoers.d/stack sudo su - stack
##Download openstack Train branch git clone https://opendev.org/openstack-dev/devstack -b stable/train cd devstack vi local.conf #Use the all in one config from manual page ## RECLONE=yes
##Start installation ./stack.sh
then it return the following error:
Obtaining file:///opt/stack/python-blazarclient python-blazarclient requires Python '>=3.6' but the running Python is 2.7.17 You are using pip version 9.0.3, however version 20.0.2 is available. You should consider upgrading via the 'pip install --upgrade pip' command. Error on exit please find in attachment the full logs for this error in file named train.rar
Please let me know if you need additional information.
BR
Hi,
Could you make a bug report for sharing your problem exactly if
On 4/19/2020 4:38 AM, Yasufumi Ogawa wrote: possible?
On 2020/04/18 12:51, Ivandro wrote:
Hello,
I have been trying to install the tacker project in a VM, following the instruction from this url: https://docs.openstack.org/tacker/train/install/devstack.html based on devstack but unsuccessful. Is there a link to download an already installed VM with tacker? I'd like to confirm that we have already have such a VM, or can provide.
Regards, Yasufumi
BR
--
*----------------------------------------------------------------*
*Hyunsik Yang (Ph. D candidate)*
*DCN laboratory / School of Electronic Engineering*
*Soongsil University *
*511 Sangdo-dong Dongjak-gu*
*Seoul, 156-743 Korea*
*TEL : (+82)-2-820-0841 *
*M.P: (+82)-10-9005-7439*
-- *----------------------------------------------------------------* *Hyunsik Yang (Ph. D candidate)* *DCN laboratory / School of Electronic Engineering* *Soongsil University * *511 Sangdo-dong Dongjak-gu* *Seoul, 156-743 Korea* *TEL : (+82)-2-820-0841 * *M.P: (+82)-10-9005-7439*
Hello, The second error is fixed. it was an space on the local.conf file before ip addres value: "HOST_IP=**192.168.11.111". Now, here are the new error (full logs in attachment): /++/opt/stack/kuryr-kubernetes/devstack/plugin.sh:wait_for:553 sleep 1// //++/opt/stack/kuryr-kubernetes/devstack/plugin.sh:wait_for:548 curl -o /dev/null -s http://192.168.11.111:8080// //++/opt/stack/kuryr-kubernetes/devstack/plugin.sh:wait_for:549 echo -n .// //.+++/opt/stack/kuryr-kubernetes/devstack/plugin.sh:wait_for:550 date +%s// //++/opt/stack/kuryr-kubernetes/devstack/plugin.sh:wait_for:550 local curr_time=1587649065// //++/opt/stack/kuryr-kubernetes/devstack/plugin.sh:wait_for:551 local time_diff=301// //++/opt/stack/kuryr-kubernetes/devstack/plugin.sh:wait_for:552 [[ 301 -le 300 ]]// //++/opt/stack/kuryr-kubernetes/devstack/plugin.sh:wait_for:552 die 'Timed out waiting for Kubernetes API Server'// //++functions-common:die:193 local exitcode=1// //[Call Trace]// //./stack.sh:1397:run_phase// ///opt/stack/devstack/functions-common:1785:run_plugins// ///opt/stack/devstack/functions-common:1752:source// ///opt/stack/kuryr-kubernetes/devstack/plugin.sh:1068:run_k8s_controller_manager// ///opt/stack/kuryr-kubernetes/devstack/plugin.sh:643:wait_for// ///opt/stack/kuryr-kubernetes/devstack/plugin.sh:552:die// //[ERROR] /opt/stack/kuryr-kubernetes/devstack/plugin.sh:Timed out// //Error on exit// //nova-compute: no process found// //neutron-dhcp-agent: no process found// //neutron-l3-agent: no process found// //neutron-metadata-agent: no process found// //neutron-openvswitch-agent: no process found// //stack@DevstackMaster:~/devstack$/ BR. On 4/23/2020 8:13 PM, hyunsikYang wrote:
Hi. for First error , You can modify code like below and it works. outfile.write(ts_line.encode('utf-8','surrogatepass'))
For the second error, I can't see the error log. Please check above that you captured.
thanks
2020년 4월 23일 (목) 오후 3:14, Ivandro <i201822117@hust.edu.cn <mailto:i201822117@hust.edu.cn>>님이 작성:
Hello Mr. Hyunik,
I try to run a new installation using the local.conf file that you suggest and the installation was not successful. here are additional information about my setup:
- new installation and update ubuntu 18.04.4;
- on vmware workstation, 8Gb RAM, 100G SSD HD, 4 vCPU;
- local file and logs in attachment.
- I used the same steps as described below (add user, download devstack, start the installation, ...)
- before the installation, only the python3.6 was installed:
*john@opestack:/lib$ ls /usr/bin/py*** **/usr/bin/py3clean /usr/bin/pydoc3.6 /usr/bin/pyjwt3 /usr/bin/python3-jsonpointer /usr/bin/python3m** **/usr/bin/py3compile /usr/bin/pygettext3 /usr/bin/python3 /usr/bin/python3-jsonschema** **/usr/bin/py3versions /usr/bin/pygettext3.6 /usr/bin/python3-jsondiff /usr/bin/python3.6** **/usr/bin/pydoc3 /usr/bin/pyhtmlizer3 /usr/bin/python3-jsonpatch /usr/bin/python3.6m*
* *
- after the installation here are the python installation info:
*john@DevstackMaster:~$ ls -la /usr/bin/python*** **lrwxrwxrwx 1 root root 9 Apr 16 2018 /usr/bin/python -> python2.7** **lrwxrwxrwx 1 root root 9 Apr 16 2018 /usr/bin/python2 -> python2.7** **-rwxr-xr-x 1 root root 3637096 Apr 16 01:20 /usr/bin/python2.7** **lrwxrwxrwx 1 root root 9 Oct 25 2018 /usr/bin/python3 -> python3.6** **lrwxrwxrwx 1 root root 16 Oct 25 2018 /usr/bin/python3-config -> python3.6-config** **-rwxr-xr-x 1 root root 1018 Oct 29 2017 /usr/bin/python3-jsondiff** **-rwxr-xr-x 1 root root 3661 Oct 29 2017 /usr/bin/python3-jsonpatch** **-rwxr-xr-x 1 root root 1342 May 2 2016 /usr/bin/python3-jsonpointer** **-rwxr-xr-x 1 root root 398 Nov 16 2017 /usr/bin/python3-jsonschema** **-rwxr-xr-x 2 root root 4526456 Apr 18 09:56 /usr/bin/python3.6** **lrwxrwxrwx 1 root root 33 Apr 18 09:56 /usr/bin/python3.6-config -> x86_64-linux-gnu-python3.6-config** **-rwxr-xr-x 2 root root 4526456 Apr 18 09:56 /usr/bin/python3.6m** **lrwxrwxrwx 1 root root 34 Apr 18 09:56 /usr/bin/python3.6m-config -> x86_64-linux-gnu-python3.6m-config** **lrwxrwxrwx 1 root root 10 Oct 25 2018 /usr/bin/python3m -> python3.6m** **lrwxrwxrwx 1 root root 17 Oct 25 2018 /usr/bin/python3m-config -> python3.6m-config** *
It occurred two errors (Fie "ERROR ONE AND TWO.txt" in attachment: Here are the description:
1: on the first error, I changed line 98 on file *"/opt/stack/devstack/tools/outfilter.py" from **"*outfile.write(ts_line.encode('utf-8'))" to "outfile.write(ts_line.encode('utf-8','surrogatepass'))". then executed the command ./unstack, ./stack
*Created symlink /etc/systemd/system/multi-user.target.wants/memcached.service → /lib/systemd/system/memcached.service.** **Traceback (most recent call last):** ** File "/opt/stack/devstack/tools/outfilter.py", line 104, in <module>** ** sys.exit(main())** ** File "/opt/stack/devstack/tools/outfilter.py", line 98, in main** ** outfile.write(ts_line.encode('utf-8'))** **UnicodeEncodeError: 'utf-8' codec can't encode characters in position 104-106: surrogates not allowed** **stack@DevstackMaster:~/devstack$*
2: here are the second error:
+./stack.sh:main:796 PYPI_ALTERNATIVE_URL= +./stack.sh:main:796 /opt/stack/devstack/tools/install_pip.sh bash: warning: setlocale: LC_ALL: cannot change locale (en_US.utf8) /opt/stack/devstack/.localrc.auto: line 2: 192.168.11.111 <http://192.168.11.111>: command not found ++./stack.sh:main:796 err_trap ++./stack.sh:err_trap:574 local r=127 stack.sh failed: full log in /opt/stack/logs/stack.sh.log.2020-04-23-132112 Error on exit stack@DevstackMaster:~/devstack$
Hope you can help e solve this issue.
BR
On 4/23/2020 9:58 AM, hyunsikYang wrote:
Hi. lvandro.
I think you have a problem with os.
Yesterday, I checked the master version of tacker using devstack. And It installed well.
I used ubuntu 18.04 and used the master version devstack.
I attached my local conf option like below. Please check it .
If you have any questions, feel free to contact me and tacker ML.
Thank you.
---------------------- [[local|localrc]] HOST_IP= ip..
ADMIN_PASSWORD=1111 DATABASE_PASSWORD=$ADMIN_PASSWORD RABBIT_PASSWORD=$ADMIN_PASSWORD SERVICE_PASSWORD=$ADMIN_PASSWORD SERVICE_TOKEN=$ADMIN_PASSWORD IDENTITY_API_VERSION=3
LOGFILE=$DEST/logs/stack.sh.log LOGDAYS=2 LOG_COLOR=True
ENABLE_DEBUG_LOG_LEVEL=false
# Disable security groups Q_USE_SECGROUP=False
#enable_plugin os-vif https://opendev.org/openstack/os-vif master
## kubernetes master node ########################## ## Loadbalance ########################## ## case of octavia LIBS_FROM_GIT+=python-octaviaclient ENABLED_SERVICES+=,octavia,o-api,o-cw,o-hm,o-hk enable_plugin octavia https://opendev.org/openstack/octavia master enable_plugin octavia-dashboard https://opendev.org/openstack/octavia-dashboard master # Increase Octavia amphorae timeout so that the first LB amphora has time to # build and boot #IMAGE_URLS+=",http://download.cirros-cloud.net/0.3.4/cirros-0.3.4-x86_64-disk.img" IMAGE_URLS+=",http://download.cirros-cloud.net/0.3.6/cirros-0.3.6-x86_64-disk.img"
#!# kubernetes and docker environment enable_plugin kuryr-kubernetes https://opendev.org/openstack/kuryr-kubernetes master enable_plugin devstack-plugin-container https://opendev.org/openstack/devstack-plugin-container master
#!# Etcd ENABLED_SERVICES+=,etcd3
#!# Kubernetes-master ENABLED_SERVICES+=,kubernetes-api,kubernetes-controller-manager,kubernetes-scheduler
#!# Kubelet ENABLED_SERVICES+=,kubelet
#!# Kuryr watcher ENABLED_SERVICES+=,kuryr-kubernetes
#!# Kuryr Daemon ENABLED_SERVICES+=,kuryr-daemon KUBERNETES_VIM=True
# Tacker enable_plugin heat https://opendev.org/openstack/heat master enable_plugin networking-sfc https://opendev.org/openstack/networking-sfc master enable_plugin barbican https://opendev.org/openstack/barbican master enable_plugin mistral https://opendev.org/openstack/mistral.git master enable_plugin tacker https://opendev.org/openstack/tacker.git master USE_BARBICAN=True
# alarm enable_plugin ceilometer https://opendev.org/openstack/ceilometer master enable_plugin aodh http://opendev.org/openstack/aodh master
disable_service tempest swift
[[post-config|$OCTAVIA_CONF]] [controller_worker] amp_active_retries = 9999
[[post-config|$NEUTRON_DHCP_CONF]] [DEFAULT] enable_isolated_metadata = True
2020년 4월 23일 (목) 오전 3:30, Ivandro <i201822117@hust.edu.cn <mailto:i201822117@hust.edu.cn>>님이 작성:
Hello Mr. Yasufumi,
Sorry for later replay. I will be replaying to your feedback timely.
hope to have your support and if possible, guide on how to troubleshooting.
here are my scenario:
I want to install tacker project using the following guide: https://docs.openstack.org/tacker/train/install/devstack.html
My environment info: 2 ubuntu server 18.04.4 LTS, VMWare workstation, 6G RAM, 100G SSD HD, 2vCPU.
Am trying to install both master branch and stable/train, on each server. Please find in attachment the local.conf file used for each installation..
MASTER BRANCH REPORT:
Commands used:
##User add sudo useradd -s /bin/bash -d /opt/stack -m stack echo "stack ALL=(ALL) NOPASSWD: ALL" | sudo tee /etc/sudoers.d/stack sudo su - stack
##Download openstack Train branch git clone https://opendev.org/openstack-dev/devstack -b stable/train cd devstack vi local.conf #Use the all in one config from manual page ## RECLONE=yes
##Start installation ./stack.sh
ERROR INFO:
++/opt/stack/kuryr-kubernetes/devstack/plugin.sh:wait_for:552 die 'Timed out waiting for Kubernetes API Server' ++functions-common:die:193 local exitcode=1 [Call Trace] ./stack.sh:1400:run_phase /opt/stack/devstack/functions-common:1785:run_plugins /opt/stack/devstack/functions-common:1752:source /opt/stack/kuryr-kubernetes/devstack/plugin.sh:1068:run_k8s_controller_manager /opt/stack/kuryr-kubernetes/devstack/plugin.sh:643:wait_for /opt/stack/kuryr-kubernetes/devstack/plugin.sh:552:die [ERROR] /opt/stack/kuryr-kubernetes/devstack/plugin.sh:Timed out Error on exit nova-compute: no process found neutron-dhcp-agent: no process found neutron-l3-agent: no process found neutron-metadata-agent: no process found neutron-openvswitch-agent: no process found full logs in attachment file master.rar
TRAIN BRANCH INSTALLATION:
Commands used:
##User add sudo useradd -s /bin/bash -d /opt/stack -m stack echo "stack ALL=(ALL) NOPASSWD: ALL" | sudo tee /etc/sudoers.d/stack sudo su - stack
##Download openstack Train branch git clone https://opendev.org/openstack-dev/devstack -b stable/train cd devstack vi local.conf #Use the all in one config from manual page ## RECLONE=yes
##Start installation ./stack.sh
then it return the following error:
Obtaining file:///opt/stack/python-blazarclient python-blazarclient requires Python '>=3.6' but the running Python is 2.7.17 You are using pip version 9.0.3, however version 20.0.2 is available. You should consider upgrading via the 'pip install --upgrade pip' command. Error on exit please find in attachment the full logs for this error in file named train.rar
Please let me know if you need additional information.
BR
On 4/19/2020 4:38 AM, Yasufumi Ogawa wrote: > Hi, > > Could you make a bug report for sharing your problem exactly if possible? > > On 2020/04/18 12:51, Ivandro wrote: >> Hello, >> >> I have been trying to install the tacker project in a VM, following >> the instruction from this url: >> https://docs.openstack.org/tacker/train/install/devstack.html based >> on devstack but unsuccessful. Is there a link to download an already >> installed VM with tacker? > I'd like to confirm that we have already have such a VM, or can provide. > > Regards, > Yasufumi > >> >> >> BR
--
*----------------------------------------------------------------*
*Hyunsik Yang (Ph. D candidate)*
*DCN laboratory / School of Electronic Engineering*
*Soongsil University *
*511 Sangdo-dong Dongjak-gu*
*Seoul, 156-743 Korea*
*TEL : (+82)-2-820-0841 *
*M.P: (+82)-10-9005-7439*
--
*----------------------------------------------------------------*
*Hyunsik Yang (Ph. D candidate)*
*DCN laboratory / School of Electronic Engineering*
*Soongsil University *
*511 Sangdo-dong Dongjak-gu*
*Seoul, 156-743 Korea*
*TEL : (+82)-2-820-0841 *
*M.P: (+82)-10-9005-7439*
I am not sure What kind of error you got, but, according to your error, it is just a timeout error. After you get the error message, You can check kubernetes component status. if it is not working properly, we should find a reason. 2020년 4월 23일 (목) 오후 11:15, Ivandro <i201822117@hust.edu.cn>님이 작성:
Hello,
The second error is fixed. it was an space on the local.conf file before ip addres value: "HOST_IP= 192.168.11.111".
Now, here are the new error (full logs in attachment):
*++/opt/stack/kuryr-kubernetes/devstack/plugin.sh:wait_for:553 sleep 1* *++/opt/stack/kuryr-kubernetes/devstack/plugin.sh:wait_for:548 curl -o /dev/null -s http://192.168.11.111:8080 <http://192.168.11.111:8080>* *++/opt/stack/kuryr-kubernetes/devstack/plugin.sh:wait_for:549 echo -n .* *.+++/opt/stack/kuryr-kubernetes/devstack/plugin.sh:wait_for:550 date +%s* *++/opt/stack/kuryr-kubernetes/devstack/plugin.sh:wait_for:550 local curr_time=1587649065* *++/opt/stack/kuryr-kubernetes/devstack/plugin.sh:wait_for:551 local time_diff=301* *++/opt/stack/kuryr-kubernetes/devstack/plugin.sh:wait_for:552 [[ 301 -le 300 ]]* *++/opt/stack/kuryr-kubernetes/devstack/plugin.sh:wait_for:552 die 'Timed out waiting for Kubernetes API Server'* *++functions-common:die:193 local exitcode=1* *[Call Trace]* *./stack.sh:1397:run_phase* */opt/stack/devstack/functions-common:1785:run_plugins* */opt/stack/devstack/functions-common:1752:source*
*/opt/stack/kuryr-kubernetes/devstack/plugin.sh:1068:run_k8s_controller_manager* */opt/stack/kuryr-kubernetes/devstack/plugin.sh:643:wait_for* */opt/stack/kuryr-kubernetes/devstack/plugin.sh:552:die* *[ERROR] /opt/stack/kuryr-kubernetes/devstack/plugin.sh:Timed out* *Error on exit* *nova-compute: no process found* *neutron-dhcp-agent: no process found* *neutron-l3-agent: no process found* *neutron-metadata-agent: no process found* *neutron-openvswitch-agent: no process found* *stack@DevstackMaster:~/devstack$*
BR.
On 4/23/2020 8:13 PM, hyunsikYang wrote:
Hi. for First error , You can modify code like below and it works. outfile.write(ts_line.encode('utf-8','surrogatepass'))
For the second error, I can't see the error log. Please check above that you captured.
thanks
2020년 4월 23일 (목) 오후 3:14, Ivandro <i201822117@hust.edu.cn>님이 작성:
Hello Mr. Hyunik,
I try to run a new installation using the local.conf file that you suggest and the installation was not successful. here are additional information about my setup:
- new installation and update ubuntu 18.04.4;
- on vmware workstation, 8Gb RAM, 100G SSD HD, 4 vCPU;
- local file and logs in attachment.
- I used the same steps as described below (add user, download devstack, start the installation, ...)
- before the installation, only the python3.6 was installed:
*john@opestack:/lib$ ls /usr/bin/py** */usr/bin/py3clean /usr/bin/pydoc3.6 /usr/bin/pyjwt3 /usr/bin/python3-jsonpointer /usr/bin/python3m* */usr/bin/py3compile /usr/bin/pygettext3 /usr/bin/python3 /usr/bin/python3-jsonschema* */usr/bin/py3versions /usr/bin/pygettext3.6 /usr/bin/python3-jsondiff /usr/bin/python3.6* */usr/bin/pydoc3 /usr/bin/pyhtmlizer3 /usr/bin/python3-jsonpatch /usr/bin/python3.6m*
- after the installation here are the python installation info:
*john@DevstackMaster:~$ ls -la /usr/bin/python** *lrwxrwxrwx 1 root root 9 Apr 16 2018 /usr/bin/python -> python2.7* *lrwxrwxrwx 1 root root 9 Apr 16 2018 /usr/bin/python2 -> python2.7* *-rwxr-xr-x 1 root root 3637096 Apr 16 01:20 /usr/bin/python2.7* *lrwxrwxrwx 1 root root 9 Oct 25 2018 /usr/bin/python3 -> python3.6* *lrwxrwxrwx 1 root root 16 Oct 25 2018 /usr/bin/python3-config -> python3.6-config* *-rwxr-xr-x 1 root root 1018 Oct 29 2017 /usr/bin/python3-jsondiff* *-rwxr-xr-x 1 root root 3661 Oct 29 2017 /usr/bin/python3-jsonpatch* *-rwxr-xr-x 1 root root 1342 May 2 2016 /usr/bin/python3-jsonpointer* *-rwxr-xr-x 1 root root 398 Nov 16 2017 /usr/bin/python3-jsonschema* *-rwxr-xr-x 2 root root 4526456 Apr 18 09:56 /usr/bin/python3.6* *lrwxrwxrwx 1 root root 33 Apr 18 09:56 /usr/bin/python3.6-config -> x86_64-linux-gnu-python3.6-config* *-rwxr-xr-x 2 root root 4526456 Apr 18 09:56 /usr/bin/python3.6m* *lrwxrwxrwx 1 root root 34 Apr 18 09:56 /usr/bin/python3.6m-config -> x86_64-linux-gnu-python3.6m-config* *lrwxrwxrwx 1 root root 10 Oct 25 2018 /usr/bin/python3m -> python3.6m* *lrwxrwxrwx 1 root root 17 Oct 25 2018 /usr/bin/python3m-config -> python3.6m-config*
It occurred two errors (Fie "ERROR ONE AND TWO.txt" in attachment: Here are the description: 1: on the first error, I changed line 98 on file *"/opt/stack/devstack/tools/outfilter.py" from **"*outfile.write(ts_line.encode('utf-8'))" to "outfile.write(ts_line.encode('utf-8','surrogatepass'))". then executed the command ./unstack, ./stack
*Created symlink /etc/systemd/system/multi-user.target.wants/memcached.service → /lib/systemd/system/memcached.service.* *Traceback (most recent call last):* * File "/opt/stack/devstack/tools/outfilter.py", line 104, in <module>* * sys.exit(main())* * File "/opt/stack/devstack/tools/outfilter.py", line 98, in main* * outfile.write(ts_line.encode('utf-8'))* *UnicodeEncodeError: 'utf-8' codec can't encode characters in position 104-106: surrogates not allowed* *stack@DevstackMaster:~/devstack$*
2: here are the second error:
+./stack.sh:main:796 PYPI_ALTERNATIVE_URL= +./stack.sh:main:796 /opt/stack/devstack/tools/install_pip.sh bash: warning: setlocale: LC_ALL: cannot change locale (en_US.utf8) /opt/stack/devstack/.localrc.auto: line 2: 192.168.11.111: command not found ++./stack.sh:main:796 err_trap ++./stack.sh:err_trap:574 local r=127 stack.sh failed: full log in /opt/stack/logs/stack.sh.log.2020-04-23-132112 Error on exit stack@DevstackMaster:~/devstack$
Hope you can help e solve this issue.
BR
On 4/23/2020 9:58 AM, hyunsikYang wrote:
Hi. lvandro.
I think you have a problem with os.
Yesterday, I checked the master version of tacker using devstack. And It installed well.
I used ubuntu 18.04 and used the master version devstack.
I attached my local conf option like below. Please check it .
If you have any questions, feel free to contact me and tacker ML.
Thank you.
---------------------- [[local|localrc]] HOST_IP= ip..
ADMIN_PASSWORD=1111 DATABASE_PASSWORD=$ADMIN_PASSWORD RABBIT_PASSWORD=$ADMIN_PASSWORD SERVICE_PASSWORD=$ADMIN_PASSWORD SERVICE_TOKEN=$ADMIN_PASSWORD IDENTITY_API_VERSION=3
LOGFILE=$DEST/logs/stack.sh.log LOGDAYS=2 LOG_COLOR=True
ENABLE_DEBUG_LOG_LEVEL=false
# Disable security groups Q_USE_SECGROUP=False
#enable_plugin os-vif https://opendev.org/openstack/os-vif master
## kubernetes master node ########################## ## Loadbalance ########################## ## case of octavia LIBS_FROM_GIT+=python-octaviaclient ENABLED_SERVICES+=,octavia,o-api,o-cw,o-hm,o-hk enable_plugin octavia https://opendev.org/openstack/octavia master enable_plugin octavia-dashboard https://opendev.org/openstack/octavia-dashboard master # Increase Octavia amphorae timeout so that the first LB amphora has time to # build and boot #IMAGE_URLS+=", http://download.cirros-cloud.net/0.3.4/cirros-0.3.4-x86_64-disk.img" IMAGE_URLS+=", http://download.cirros-cloud.net/0.3.6/cirros-0.3.6-x86_64-disk.img"
#!# kubernetes and docker environment enable_plugin kuryr-kubernetes https://opendev.org/openstack/kuryr-kubernetes master enable_plugin devstack-plugin-container https://opendev.org/openstack/devstack-plugin-container master
#!# Etcd ENABLED_SERVICES+=,etcd3
#!# Kubernetes-master
ENABLED_SERVICES+=,kubernetes-api,kubernetes-controller-manager,kubernetes-scheduler
#!# Kubelet ENABLED_SERVICES+=,kubelet
#!# Kuryr watcher ENABLED_SERVICES+=,kuryr-kubernetes
#!# Kuryr Daemon ENABLED_SERVICES+=,kuryr-daemon KUBERNETES_VIM=True
# Tacker enable_plugin heat https://opendev.org/openstack/heat master enable_plugin networking-sfc https://opendev.org/openstack/networking-sfc master enable_plugin barbican https://opendev.org/openstack/barbican master enable_plugin mistral https://opendev.org/openstack/mistral.git master enable_plugin tacker https://opendev.org/openstack/tacker.git master USE_BARBICAN=True
# alarm enable_plugin ceilometer https://opendev.org/openstack/ceilometer master enable_plugin aodh http://opendev.org/openstack/aodh master
disable_service tempest swift
[[post-config|$OCTAVIA_CONF]] [controller_worker] amp_active_retries = 9999
[[post-config|$NEUTRON_DHCP_CONF]] [DEFAULT] enable_isolated_metadata = True
2020년 4월 23일 (목) 오전 3:30, Ivandro <i201822117@hust.edu.cn>님이 작성:
Hello Mr. Yasufumi,
Sorry for later replay. I will be replaying to your feedback timely.
hope to have your support and if possible, guide on how to troubleshooting.
here are my scenario:
I want to install tacker project using the following guide: https://docs.openstack.org/tacker/train/install/devstack.html
My environment info: 2 ubuntu server 18.04.4 LTS, VMWare workstation, 6G RAM, 100G SSD HD, 2vCPU.
Am trying to install both master branch and stable/train, on each server. Please find in attachment the local.conf file used for each installation..
MASTER BRANCH REPORT:
Commands used:
##User add sudo useradd -s /bin/bash -d /opt/stack -m stack echo "stack ALL=(ALL) NOPASSWD: ALL" | sudo tee /etc/sudoers.d/stack sudo su - stack
##Download openstack Train branch git clone https://opendev.org/openstack-dev/devstack -b stable/train cd devstack vi local.conf #Use the all in one config from manual page ## RECLONE=yes
##Start installation ./stack.sh
ERROR INFO:
++/opt/stack/kuryr-kubernetes/devstack/plugin.sh:wait_for:552 die 'Timed out waiting for Kubernetes API Server' ++functions-common:die:193 local exitcode=1 [Call Trace] ./stack.sh:1400:run_phase /opt/stack/devstack/functions-common:1785:run_plugins /opt/stack/devstack/functions-common:1752:source
/opt/stack/kuryr-kubernetes/devstack/plugin.sh:1068:run_k8s_controller_manager /opt/stack/kuryr-kubernetes/devstack/plugin.sh:643:wait_for /opt/stack/kuryr-kubernetes/devstack/plugin.sh:552:die [ERROR] /opt/stack/kuryr-kubernetes/devstack/plugin.sh:Timed out Error on exit nova-compute: no process found neutron-dhcp-agent: no process found neutron-l3-agent: no process found neutron-metadata-agent: no process found neutron-openvswitch-agent: no process found full logs in attachment file master.rar
TRAIN BRANCH INSTALLATION:
Commands used:
##User add sudo useradd -s /bin/bash -d /opt/stack -m stack echo "stack ALL=(ALL) NOPASSWD: ALL" | sudo tee /etc/sudoers.d/stack sudo su - stack
##Download openstack Train branch git clone https://opendev.org/openstack-dev/devstack -b stable/train cd devstack vi local.conf #Use the all in one config from manual page ## RECLONE=yes
##Start installation ./stack.sh
then it return the following error:
Obtaining file:///opt/stack/python-blazarclient python-blazarclient requires Python '>=3.6' but the running Python is 2.7.17 You are using pip version 9.0.3, however version 20.0.2 is available. You should consider upgrading via the 'pip install --upgrade pip' command. Error on exit please find in attachment the full logs for this error in file named train.rar
Please let me know if you need additional information.
BR
Hi,
Could you make a bug report for sharing your problem exactly if
On 4/19/2020 4:38 AM, Yasufumi Ogawa wrote: possible?
On 2020/04/18 12:51, Ivandro wrote:
Hello,
I have been trying to install the tacker project in a VM, following the instruction from this url: https://docs.openstack.org/tacker/train/install/devstack.html based on devstack but unsuccessful. Is there a link to download an already installed VM with tacker? I'd like to confirm that we have already have such a VM, or can
provide.
Regards, Yasufumi
BR
--
*----------------------------------------------------------------*
*Hyunsik Yang (Ph. D candidate)*
*DCN laboratory / School of Electronic Engineering*
*Soongsil University *
*511 Sangdo-dong Dongjak-gu*
*Seoul, 156-743 Korea*
*TEL : (+82)-2-820-0841 *
*M.P: (+82)-10-9005-7439*
--
*----------------------------------------------------------------*
*Hyunsik Yang (Ph. D candidate)*
*DCN laboratory / School of Electronic Engineering*
*Soongsil University *
*511 Sangdo-dong Dongjak-gu*
*Seoul, 156-743 Korea*
*TEL : (+82)-2-820-0841 *
*M.P: (+82)-10-9005-7439*
-- *----------------------------------------------------------------* *Hyunsik Yang (Ph. D candidate)* *DCN laboratory / School of Electronic Engineering* *Soongsil University * *511 Sangdo-dong Dongjak-gu* *Seoul, 156-743 Korea* *TEL : (+82)-2-820-0841 * *M.P: (+82)-10-9005-7439*
Hello, here are the results from kubernetes commands: stack@Devstackmaster:~$ which kubelet stack@Devstackmaster:~$ which kubeadm stack@Devstackmaster:~$ sudo kubeadm sudo: kubeadm: command not found stack@Devstackmaster:~$ sudo kubectl sudo: kubectl: command not found stack@Devstackmaster:~$ sudo kubelet sudo: kubelet: command not found stack@Devstackmaster:~$ Please advice on how should I proceed BR On 4/24/2020 7:21 PM, hyunsikYang wrote:
kubernetes component statu
participants (6)
-
Akihiro Motoki
-
Ghanshyam Mann
-
hyunsikYang
-
Ivandro
-
Radosław Piliszek
-
Yasufumi Ogawa