[openstack-dev] [neutron] DuplicateOptError: duplicate option: fake_rabbit

Ihar Hrachyshka ihrachys at redhat.com
Mon Jun 30 14:00:35 UTC 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Hi,

in case you wonder why your neutron checkout fails recently with
'DuplicateOptError: duplicate option: fake_rabbit' error, this is
because neutron migrated to oslo.messaging recently, and old RPC layer
was removed from the tree. The problem is that while .py files were
removed, .pyc files, being untracked by git, were left on the disk. So
now you import both RPC implementations at the same time, and the
error shows up.

To fix the issue, do the following in your local checkout:

$ rm -r neutron/openstack/common/notifier
$ rm -r neutron/openstack/common/rpc

This should fix the issue.

Cheers,
/Ihar
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.22 (Darwin)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBCgAGBQJTsW2DAAoJEC5aWaUY1u57ehwIAKxPkfIQgZquWfh60YEqrYhm
HdBdH/nZlInqNpZzfhXDmRApMD4Nncs2NUMmtBAhSRbSDsf1zJ87aDInNj24Fv9P
4i1D2fBjBbqzDxwyXSjkmq+fbVTSzWWXL2n5hBHUWka95PP410W4anKX/k22FmL3
SapteGLMzVVm7QjeHQghlhVHSvPhWKHgxq7RWPswINmZ02TpYawPhTHXWXp0mKIM
BD+WJV7NmJWJvsq4JX8toNsCnO/uKW/1ygppvWRSLEn7FJWlGQp6B+1pBL0ZQgwd
qkYpJpxop3YDJJhD6JbMVRgbldxNDtwVE2kwq4UbOS8d9uQK5RpXRenq1hjMWks=
=nQF1
-----END PGP SIGNATURE-----



More information about the OpenStack-dev mailing list