Docker id output should be in logging format
It's annoying to see this:
1457647049 - [DEBUG] - atomicapp/utils.py - Recursively removing directory: /tmp/nulecule-152a8ebc-e70b-11e5-acfd-3402868080db
1457647049 - [DEBUG] - nulecule/container.py - Removing Docker container: /usr/bin/docker rm -f 41fb827975d57e57c9e6fbb8e0afbf1c7235ce64a8ca5b6ae915bf5cd8e63836
41fb827975d57e57c9e6fbb8e0afbf1c7235ce64a8ca5b6ae915bf5cd8e63836
The container that is created should either be hidden (put in verbose output) or in-line with the logging formatter.
This should be fixed by the second part of #594
I'm +1 on this. Would be nice to have it only output on debug.. and even then maybe we can chop it off so it is just a short uuid (i.e use the first 12 characters)
Hi @dustymabe can I help with this?
@abhi1004 go for it!
This is also spotted else where, which can be re-created as follows:
(atomic) ✔ ~/nulecule-library/apache-centos7-atomicapp [master ↑·14|…4]
04:45 $ sudo atomicapp run . -v --provider docker
1460364339 - [INFO] - cli/main.py - Action/Mode Selected is: run
1460364339 - [DEBUG] - cli/main.py - Final parsed cmdline: run . -v --provider docker
1460364339 - [DEBUG] - nulecule/main.py - NuleculeManager init app_path: .
1460364339 - [DEBUG] - nulecule/main.py - NuleculeManager init image: None
1460364339 - [DEBUG] - nulecule/main.py - Request to unpack to None to .
1460364339 - [DEBUG] - atomicapp/plugin.py - Loading providers from /home/vagrant/atomicapp/atomicapp/providers
1460364339 - [DEBUG] - atomicapp/plugin.py - Loading providers from /home/vagrant/atomicapp/atomicapp/providers
1460364339 - [DEBUG] - atomicapp/plugin.py - Found provider <class 'docker.DockerProvider'>
1460364339 - [WARNING] - atomicapp/plugin.py - Configuration option 'providerconfig' not found
1460364339 - [DEBUG] - atomicapp/plugin.py - Found provider <class 'docker.DockerProvider'>
1460364339 - [WARNING] - atomicapp/plugin.py - Configuration option 'providerconfig' not found
1460364339 - [DEBUG] - providers/docker.py - Given config: {u'image': u'centos/httpd', u'hostport': 80, 'namespace': 'default', u'provider': u'kubernetes'}
1460364339 - [DEBUG] - providers/docker.py - Namespace: default
1460364339 - [INFO] - providers/docker.py - Deploying to provider: Docker
75501bab8fd3d427841d943af34c943e7246c65c6f1e632f8cb615b4ff037220
1460364340 - [DEBUG] - nulecule/main.py - Writing answers to file.
1460364340 - [DEBUG] - nulecule/main.py - FILE: ./answers.conf.gen
1460364340 - [DEBUG] - nulecule/main.py - ANSWERS: {u'apache-centos7-atomicapp': {u'image': u'centos/httpd', u'hostport': 80}, 'general': {'namespace': 'default', u'provider': 'docker'}}
Your application resides in .
Please use this directory for managing your application
@surajssd, yes.. @abhi1004 can we cover the "creating a container" printed uuid as well?