Closed alonsocamaro closed 7 years ago
Hi Alonso,
Thanks for your issue report. It looks like you are missing a dependency. The agent is trying to import the constants from neutron_lbaas; however, they do not exist. If you are not installing the agent on the neutron controller, you will need to install this also.
@alonsocamaro The instructions for installing the service provider package from neutron_lbaas are here: http://lbaasv2-test.readthedocs.io/en/release-8.0.6/map_quick-start-guide.html#install-the-f5-service-provider-package
Thanks Rich! I will give another try.
@alonsocamaro, was this issue resolved via the link to the installation instructions or are you still having problems? If not, can we close this issue?
Hi Matt
The issue I reported is not about not being able to install it yet I was having problems.
What I wanted to report here is that when agent initialization fails no logs are generated and I had to use strace (which customers should not expected to use) to figure out what was going on.
I would not say this is a high severity or high priority but instead a usability enhancement: I think that all the messages that are currently sent to stderr should be logged with the appropriate logging priority. ie: fatal errors like the one show above should logged with "error" priority
Regards
Ulises
Agreed. We do see logs on CentOS, so perhaps something has been broken on Ubuntu. We'll treat this as a bug and triage, but I'll lower the priority one notch since you were able to complete installation.
Team,
I see this in two parts:
init.d
script not following CSB standards as per a bug following that
init.d
script should be doing something to check and/or validate the proper installation status of all dependencies.ini
file as it provides the necessary information for folks to troubleshoot the issue.ini
file as it should be a clean exit as per the customer's settings/var/log
, logged message should be created to assist in troubleshooting at any level or settingAs such, in this fix, I propose to...
agent.py
.ini
fileagent.py
executable will then gracefully exit with errno.ENOSYS
With the changes in this bug's sister bug, we should be able to handle the situation where the customer does not have the proper dependencies installed at multiple levels to hopefully keeping from user confusion.
Please let me know if this does not satisfy this bug's indicated problem statement.
This issue was not reference in the merge.
Agent Version
f5-openstack-agent (9.0.1)
Operating System
Mirantis 9.0 / Ubuntu 14.04.4 LTS
OpenStack Release
Mitaka
Description
After installing the agent. I did a service start of the agent but no diagnostic message was being shown neither positive or negative. After checking with ps it seemed no new process was created in the controller.
I had to strace it to find out what was happening:
Doing a grep on /var/log/ and /var/log//* didn't show the above error message.
OpenStack Release
Mitaka
Description
Log the messages to somewhere appropriate.