[openstack-dev] [Tacker]

Ivandro i201822117 at hust.edu.cn
Wed Apr 22 11:59:36 UTC 2020


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
-------------- next part --------------
[[local|localrc]]
############################################################
# Customize the following HOST_IP based on your installation
############################################################
HOST_IP=192.168.11.111

ADMIN_PASSWORD=devstack
MYSQL_PASSWORD=devstack
RABBIT_PASSWORD=devstack
SERVICE_PASSWORD=$ADMIN_PASSWORD
SERVICE_TOKEN=devstack

############################################################
# Customize the following section based on your installation
############################################################

# Pip
PIP_USE_MIRRORS=False
USE_GET_PIP=1

#OFFLINE=False
#RECLONE=True

# Logging
LOGFILE=$DEST/logs/stack.sh.log
VERBOSE=True
ENABLE_DEBUG_LOG_LEVEL=True
ENABLE_VERBOSE_LOG_LEVEL=True

# Neutron ML2 with OpenVSwitch
Q_PLUGIN=ml2
Q_AGENT=openvswitch

# Disable security groups
Q_USE_SECGROUP=False
LIBVIRT_FIREWALL_DRIVER=nova.virt.firewall.NoopFirewallDriver

# Enable heat, networking-sfc, barbican and mistral
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 master

# Ceilometer
#CEILOMETER_PIPELINE_INTERVAL=300
enable_plugin ceilometer https://opendev.org/openstack/ceilometer master
enable_plugin aodh https://opendev.org/openstack/aodh master

# Blazar
enable_plugin blazar https://github.com/openstack/blazar.git master

# Tacker
enable_plugin tacker https://opendev.org/openstack/tacker master

enable_service n-novnc
enable_service n-cauth

disable_service tempest

# Enable kuryr-kubernetes, docker, octavia
KUBERNETES_VIM=True
enable_plugin kuryr-kubernetes https://opendev.org/openstack/kuryr-kubernetes master
enable_plugin octavia https://opendev.org/openstack/octavia master
enable_plugin devstack-plugin-container https://opendev.org/openstack/devstack-plugin-container master
#KURYR_K8S_CLUSTER_IP_RANGE="10.0.0.0/24"

[[post-config|/etc/neutron/dhcp_agent.ini]]
[DEFAULT]
enable_isolated_metadata = True

[[post-config|$OCTAVIA_CONF]]
[controller_worker]
amp_active_retries=9999
-------------- next part --------------
[[local|localrc]]
############################################################
# Customize the following HOST_IP based on your installation
############################################################
HOST_IP=192.168.11.110

ADMIN_PASSWORD=devstack
MYSQL_PASSWORD=devstack
RABBIT_PASSWORD=devstack
SERVICE_PASSWORD=$ADMIN_PASSWORD
SERVICE_TOKEN=devstack

############################################################
# Customize the following section based on your installation
############################################################

# Pip
PIP_USE_MIRRORS=False
USE_GET_PIP=1

#OFFLINE=False
#RECLONE=True

# Logging
LOGFILE=$DEST/logs/stack.sh.log
VERBOSE=True
ENABLE_DEBUG_LOG_LEVEL=True
ENABLE_VERBOSE_LOG_LEVEL=True

# Neutron ML2 with OpenVSwitch
Q_PLUGIN=ml2
Q_AGENT=openvswitch

# Disable security groups
Q_USE_SECGROUP=False
LIBVIRT_FIREWALL_DRIVER=nova.virt.firewall.NoopFirewallDriver

# Enable heat, networking-sfc, barbican and mistral
enable_plugin heat https://opendev.org/openstack/heat stable/train
enable_plugin networking-sfc https://opendev.org/openstack/networking-sfc stable/train
enable_plugin barbican https://opendev.org/openstack/barbican stable/train
enable_plugin mistral https://opendev.org/openstack/mistral stable/train

# Ceilometer
#CEILOMETER_PIPELINE_INTERVAL=300
enable_plugin ceilometer https://opendev.org/openstack/ceilometer stable/train
enable_plugin aodh https://opendev.org/openstack/aodh stable/train

# Blazar
enable_plugin blazar https://github.com/openstack/blazar.git stable/train

# Tacker
enable_plugin tacker https://opendev.org/openstack/tacker stable/train

enable_service n-novnc
enable_service n-cauth

disable_service tempest

# Enable kuryr-kubernetes, docker, octavia
KUBERNETES_VIM=True
enable_plugin kuryr-kubernetes https://opendev.org/openstack/kuryr-kubernetes stable/train
enable_plugin octavia https://opendev.org/openstack/octavia stable/train
enable_plugin devstack-plugin-container https://opendev.org/openstack/devstack-plugin-container stable/train
#KURYR_K8S_CLUSTER_IP_RANGE="10.0.0.0/24"

[[post-config|/etc/neutron/dhcp_agent.ini]]
[DEFAULT]
enable_isolated_metadata = True

[[post-config|$OCTAVIA_CONF]]
[controller_worker]
amp_active_retries=9999
-------------- next part --------------
A non-text attachment was scrubbed...
Name: train.rar
Type: application/octet-stream
Size: 456390 bytes
Desc: not available
URL: <http://lists.openstack.org/pipermail/openstack-discuss/attachments/20200422/e3655981/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: master.rar
Type: application/octet-stream
Size: 904340 bytes
Desc: not available
URL: <http://lists.openstack.org/pipermail/openstack-discuss/attachments/20200422/e3655981/attachment-0003.obj>


More information about the openstack-discuss mailing list