{"action":"created","issue":{"url":"https://api.github.com/repos/01org/ciao/issues/125","repository_url":"https://api.github.com/repos/01org/ciao","labels_url":"https://api.github.com/repos/01org/ciao/issues/125/labels{/name}","comments_url":"https://api.github.com/repos/01org/ciao/issues/125/comments","events_url":"https://api.github.com/repos/01org/ciao/issues/125/events","html_url":"https://github.com/01org/ciao/issues/125","id":155099483,"number":125,"title":"ciao: Single VM Developer Setup","user":{"login":"mcastelino","id":7387737,"avatar_url":"https://avatars.githubusercontent.com/u/7387737?v=3","gravatar_id":"","url":"https://api.github.com/users/mcastelino","html_url":"https://github.com/mcastelino","followers_url":"https://api.github.com/users/mcastelino/followers","following_url":"https://api.github.com/users/mcastelino/following{/other_user}","gists_url":"https://api.github.com/users/mcastelino/gists{/gist_id}","starred_url":"https://api.github.com/users/mcastelino/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mcastelino/subscriptions","organizations_url":"https://api.github.com/users/mcastelino/orgs","repos_url":"https://api.github.com/users/mcastelino/repos","events_url":"https://api.github.com/users/mcastelino/events{/privacy}","received_events_url":"https://api.github.com/users/mcastelino/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/01org/ciao/labels/ciao-cli","name":"ciao-cli","color":"fbca04"},{"url":"https://api.github.com/repos/01org/ciao/labels/ciao-launcher","name":"ciao-launcher","color":"d4c5f9"},{"url":"https://api.github.com/repos/01org/ciao/labels/ciao-scheduler","name":"ciao-scheduler","color":"5319e7"},{"url":"https://api.github.com/repos/01org/ciao/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/01org/ciao/labels/networking","name":"networking","color":"fef2c0"},{"url":"https://api.github.com/repos/01org/ciao/labels/ssntp","name":"ssntp","color":"0052cc"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":15,"created_at":"2016-05-16T19:12:56Z","updated_at":"2016-06-04T00:10:03Z","closed_at":null,"body":"Issues #124 documents how to setup a ciao developer setup on a bare metal system. However this setup is not optimal in some cases. \r\n1. When the user does **not** want to run the ciao setup on bare metal (i.e wants to run ciao in a VM)\r\n2. When the user runs ciao on bare metal but the hardware cannot support running a VM within a VM efficiently (The CNCI's running in the NN VM)\r\n\r\nIn this case the ciao should be configured to a special all in one mode where a node has dual role (i.e launcher can be a NN and a CN)\r\n\r\n# High Level Setup\r\n\r\n## Host Node (VM)\r\nA clear VM running running on a NATed Virtual network with its own DHCP server. \r\n\r\nThis [NATed Virtual Network](http://libvirt.org/formatnetwork.html#examplesNAT) network configuration is available by default using virt-manager or virsh on most linux distributions.\r\n\r\n1. Controller: \tRunning directly on the host\r\n2. Scheduler: \tRunning directly on the host\r\n3. Compute+Network Node (i.e. CN + NN Launcher): \tRunning directly on the host\r\n4. Workloads: \tRunning directly on the host\r\n5. WebUI:\t Running directly on the host\r\n6. Openstack Services: Running on the host. \r\n\r\nSo the host is also the CN, NN, Controller , WebUI and Scheduler (and other openstack services) all run native on the host.\r\n\r\n## Setup\r\nWhen the system is functioning the overall setup manifest as follows\r\n\r\nAs you can see below the CNCI VM's will end up on the NATed network. If this setup is run on a bare metal system the CNCI VM's will end up on the physical network. The Tenant VM's are invisible to host network or the NATed network The Bridge on which the NATed network is created should support [hairpin mode](http://man7.org/linux/man-pages/man8/bridge.8.html) and be configured as such.\r\n\r\n```\r\n\r\n                _____________________________________________________________________________________\r\n                |                                                                                     |\r\n                |                                                                                     |\r\n                |                                                                                     |\r\n                |                                   [Tenant VMs]                         [CNCI VMs]   |\r\n                |                                                                           ||        |\r\n                |                                                                           ||        |\r\n                |                                                                           ||        |\r\n                |                                                                           ||        |\r\n                |    [scheduler]  [controller] [keystone] [CN+NN Launcher]                  ||        |\r\n                  __________________________________________________________________________||________|\r\n                                                              ||                            ||\r\n                                                              ||                            ||\r\n           ------------------------------------------------------------------------------------------------\r\n                                                  Host NATed Virtual Network (Or physical network)\r\n\r\n```\r\n\r\n# Changes Needed to ciao components\r\nIn addition to the changes needed in #124 \r\n1. The ciao launcher should report to the scheduler that is both a NN and a CN node\r\n2. SSNTP should allow an agent to be both a CN and NN\r\n3. The ciao-scheduler should recognize that a node can be both a CN and NN comprehend the same when scheduling CNCI's as well as workloads\r\n4. The Networking library should support creating both CN and NN VNIC interfaces from the same agent.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/01org/ciao/issues/comments/223722554","html_url":"https://github.com/01org/ciao/issues/125#issuecomment-223722554","issue_url":"https://api.github.com/repos/01org/ciao/issues/125","id":223722554,"user":{"login":"mcastelino","id":7387737,"avatar_url":"https://avatars.githubusercontent.com/u/7387737?v=3","gravatar_id":"","url":"https://api.github.com/users/mcastelino","html_url":"https://github.com/mcastelino","followers_url":"https://api.github.com/users/mcastelino/followers","following_url":"https://api.github.com/users/mcastelino/following{/other_user}","gists_url":"https://api.github.com/users/mcastelino/gists{/gist_id}","starred_url":"https://api.github.com/users/mcastelino/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mcastelino/subscriptions","organizations_url":"https://api.github.com/users/mcastelino/orgs","repos_url":"https://api.github.com/users/mcastelino/repos","events_url":"https://api.github.com/users/mcastelino/events{/privacy}","received_events_url":"https://api.github.com/users/mcastelino/received_events","type":"User","site_admin":false},"created_at":"2016-06-04T00:10:03Z","updated_at":"2016-06-04T00:10:03Z","body":"All patches except scheduler have been merged into master with PR https://github.com/01org/ciao/pull/196. Once the scheduler changes are pulled in and tested this issue can be closed."}}
{"actor":{"display_login":"mcastelino"}}