CRITICAL [quantum] 'NoneType' object has no attribute 'rpartition'

Asked by Jake Warner

I'm not sure which location (launchpad vs ask.openstack.org) is better to ask questions like this, so I figured I'd post my question here too. If questions like this are meant to stay on ask.openstack.org, just let me know. :)

Since ask.openstack.org allows better syntax highlighting and my question is already there, I'm going to link to it:

https://ask.openstack.org/question/1043/critical-quantum-nonetype-object-has-no-attribute-rpartition/

Thanks in advance!

Question information

Language:
English Edit question
Status:
Solved
For:
neutron Edit question
Assignee:
No assignee Edit question
Solved by:
Eugene Nikanorov
Solved:
Last query:
Last reply:
Revision history for this message
Eugene Nikanorov (enikanorov) said :
#1

From the console output it's not quite clear which agent are you trying to run, l3 or lbaas?

Revision history for this message
Jake Warner (6-jake) said :
#2

I'm trying to run the L3 agent which appears to try to run lbaas too.

Revision history for this message
Best Eugene Nikanorov (enikanorov) said :
#3

I see now:

For some reason quantum-l3-agent refers to /usr/bin/quantum-lbaas-agent which is lbaas agent, not l3.
Still it's being run with l3_agent.ini conf file which is a possible reason of failure.

You should probably be running /usr/bin/quantum-l3-agent providing path for l3_agent.ini and correspoding log file

Revision history for this message
Jake Warner (6-jake) said :
#4

So, running this directly works:

/usr/bin/quantum-l3-agent --config-file /etc/quantum/quantum.conf --config-file /etc/quantum/l3_agent.ini --log-file /var/log/quantum/l3-agent.log'

But running this seems to want to start the lbaas:
service quantum-l3-agent start

After investigating more, I see that /usr/lib/systemd/system/quantum-l3-agent.service contains:
[Service]
Type=simple
User=quantum
ExecStart=/usr/bin/quantum-lbaas-agent --config-file /etc/quantum/quantum.conf --config-file /etc/quantum/l3_agent.ini --log-file /var/log/quantum/lbaas-agent.log
PrivateTmp=false

Is this a bug? I pulled straight from the fedora repo for installing this.

Revision history for this message
Eugene Nikanorov (enikanorov) said :
#5

Yes, defenitely a bug.

Revision history for this message
Jake Warner (6-jake) said :
#6

Thank you very much -- what should I do about this bug (where's the correct place to report it)?

Revision history for this message
Jake Warner (6-jake) said :
#7

Thanks Eugene Nikanorov, that solved my question.

Revision history for this message
Jake Warner (6-jake) said :
#8
Revision history for this message
Eugene Nikanorov (enikanorov) said :
#9

I think you may file it against quantum project