install
install copied to clipboard
contiv-compose not working with netmaster API
After installing 1.0.0-beta.2, contiv-compose does not seem to work and gets lots of "Page not found" errors when attempting to build contiv policies:
[cgascoig@aci-docker-1 test]$ contiv-compose up -d
WARN[0000] Note: This is an experimental alternate implementation of the Compose CLI (https://github.com/docker/compose)
ERRO[0000] Unable to create endpoint group. Tenant 'default' Network 'private' Epg 'test_web'. Error Page not found!
ERRO[0000] Unable to add epg for service 'web'. Error Page not found!
ERRO[0000] Unable to apply policies for unspecified tiers. Error Page not found!
ERRO[0000] Unable to apply links based policy. Error: Page not found!
INFO[0000] Applying labels based policies
INFO[0000] Project [test]: Starting project
INFO[0000] [0/2] [redis]: Starting
ERRO[0001] Failed Starting web : 500 Internal Server Error: Error response from daemon: network test_web.private not found
ERRO[0002] Failed Starting redis : 500 Internal Server Error: Error response from daemon: network test_redis.private not found
ERRO[0002] Failed to start: redis : 500 Internal Server Error: Error response from daemon: network test_redis.private not found
ERRO[0002] Failed to start: web : 500 Internal Server Error: Error response from daemon: network test_web.private not found
FATA[0002] 500 Internal Server Error: Error response from daemon: network test_redis.private not found
It looks like contiv-compose is not using the correct netmaster API - using strace I can see that it is using API calls like: POST /api/endpointGroups/default which I believe should be POST /api/v1/endpointGroups/default