Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

contiv-compose not working with netmaster API #43

Open
cgascoig opened this issue Feb 19, 2017 · 0 comments
Open

contiv-compose not working with netmaster API #43

cgascoig opened this issue Feb 19, 2017 · 0 comments
Assignees
Milestone

Comments

@cgascoig
Copy link

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

@rhim rhim added this to the GA milestone Feb 22, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants