<div dir="ltr"><div><div><div>It's enough for you to just create a new role in openstack.yaml and maybe some descriptions in UI components.<br><br></div>Then you should capture this role in Puppet manifests. Look at the 'case' operator [1]. Just add a new case for your role and call your 'vim' class here.<br></div><br>[1] <a href="https://github.com/stackforge/fuel-library/blob/master/deployment/puppet/osnailyfacter/manifests/cluster_simple.pp#L227">https://github.com/stackforge/fuel-library/blob/master/deployment/puppet/osnailyfacter/manifests/cluster_simple.pp#L227</a><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Dec 18, 2014 at 10:03 PM, Satyasanjibani Rautaray <span dir="ltr"><<a href="mailto:engg.sanj@gmail.com" target="_blank">engg.sanj@gmail.com</a>></span> wrote:<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-family:courier new,monospace">Hi Mike<br><br></div><div class="gmail_default" style="font-family:courier new,monospace">this Document helped a lot<br><br></div><div class="gmail_default" style="font-family:courier new,monospace">I may be missing something thing for which i need some help below is the details for which i require some help.<br><br></div><div class="gmail_default" style="font-family:courier new,monospace">i have a vim.pp file for testing which will install vim on the particular node which is not a part of controller or compute or any openstack component nodes<br><br></div><div class="gmail_default" style="font-family:courier new,monospace">The current zabbix-server under the manager.py did something as below<br></div><div class="gmail_default" style="font-family:courier new,monospace"><snip><br></div><div class="gmail_default" style="font-family:courier new,monospace"><span>from</span><span> nailgun</span><span>.</span><span>utils</span><span>.</span><span>zabbix </span><span>import</span><span> </span><span>ZabbixManager</span><br><br>@classmethod <br>def get_zabbix_url(cls, cluster): <br>zabbix_node = ZabbixManager.get_zabbix_node(cluster) <br>if zabbix_node is None: <br> return None <br>ip_cidr = cls.get_node_network_by_netname( <br>zabbix_node, 'public' <br>)['ip'] <br>ip = ip_cidr.split('/')[0] <br>return 'http://{0}/zabbix'.format(ip) <br><br></div><div class="gmail_default" style="font-family:courier new,monospace"></snip><br><br></div><div class="gmail_default" style="font-family:courier new,monospace">at receiver.py<br><br></div><div class="gmail_default" style="font-family:courier new,monospace"><snip><br> zabbix_url = objects.Cluster.get_network_manager( <br>task.cluster <br>).get_zabbix_url(task.cluster) <br><br>if zabbix_url: <br>zabbix_suffix = " Access Zabbix dashboard at {0}".format( <br>zabbix_url <br>) <br>message += zabbix_suffix<br><br></div><div class="gmail_default" style="font-family:courier new,monospace"></snip><br><br></div><div class="gmail_default" style="font-family:courier new,monospace">at task.py<br></div><div class="gmail_default" style="font-family:courier new,monospace"><br></div><div class="gmail_default" style="font-family:courier new,monospace"><snip><br><br><span>from</span><span> nailgun</span><span>.</span><span>utils</span><span>.</span><span>zabbix </span><span>import</span><span> </span><span>ZabbixManager<br># check if there's a zabbix server in an environment <br># and if there is, remove hosts <br>if ZabbixManager.get_zabbix_node(task.cluster): <br>zabbix_credentials = ZabbixManager.get_zabbix_credentials( <br>task.cluster <br>) <br>logger.debug("Removing nodes %s from zabbix" % (nodes_to_delete)) <br>try: <br>ZabbixManager.remove_from_zabbix( <br>zabbix_credentials, nodes_to_delete <br>) <br>except (errors.CannotMakeZabbixRequest, <br>errors.ZabbixRequestError) as e: <br>logger.warning("%s, skipping removing nodes from Zabbix", e)<br><br></span></div><div class="gmail_default" style="font-family:courier new,monospace"><span></snip><br></span></div><div class="gmail_default" style="font-family:courier new,monospace"><span><br></span></div><div class="gmail_default" style="font-family:courier new,monospace"><span>and<br><br><a href="https://review.openstack.org/#/c/84408/39/nailgun/nailgun/utils/zabbix.py" target="_blank">https://review.openstack.org/#/c/84408/39/nailgun/nailgun/utils/zabbix.py</a><br></span></div><div class="gmail_default" style="font-family:courier new,monospace"><br><br></div><div class="gmail_default" style="font-family:courier new,monospace">i am not able to get how can i connect to the vim.pp file<br><br></div><div class="gmail_default" style="font-family:courier new,monospace">Thanks<br></div><div class="gmail_default" style="font-family:courier new,monospace">Satya<br></div><div class="gmail_default" style="font-family:courier new,monospace"><br></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Dec 17, 2014 at 7:27 AM, Mike Scherbakov <span dir="ltr"><<a href="mailto:mscherbakov@mirantis.com" target="_blank">mscherbakov@mirantis.com</a>></span> wrote:<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi,<div>did you come across</div><div><a href="http://docs.mirantis.com/fuel-dev/develop/addition_examples.html" target="_blank">http://docs.mirantis.com/fuel-dev/develop/addition_examples.html</a> ?</div><div><br></div><div>I believe it should cover your use case.</div><div><br></div><div>Thanks,</div></div><div class="gmail_extra"><div><div><br><div class="gmail_quote">On Tue, Dec 16, 2014 at 11:43 PM, Satyasanjibani Rautaray <span dir="ltr"><<a href="mailto:engg.sanj@gmail.com" target="_blank">engg.sanj@gmail.com</a>></span> wrote:<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">I just need to deploy the node and install my required packages.</p>
<div class="gmail_quote"><span>On 17-Dec-2014 1:31 am, "Andrey Danin" <<a href="mailto:adanin@mirantis.com" target="_blank">adanin@mirantis.com</a>> wrote:<br type="attribution"></span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div>Hello. <div><br></div><div>What version of Fuel do you use? Did you reupload openstack.yaml into Nailgun? Do you want just to deploy an operating system and configure a network on a new node?</div><div><br></div><div>I would really appreciate<span></span> if you use a period at the end of sentences.<br><br>On Tuesday, December 16, 2014, Satyasanjibani Rautaray <<a href="mailto:engg.sanj@gmail.com" target="_blank">engg.sanj@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi,<br><b><span style="color:rgb(0,0,0);font-family:Consolas,"Lucida Console",monospace;font-size:13px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-transform:none;white-space:normal;word-spacing:0px;display:inline!important;float:none;background-color:rgb(240,247,255)"><br>i
am in a process of creating an additional node by editing the code
where the new node will be solving a different propose than installing
openstack components just for testing currently the new node will
install vim for me please help me what else i need to look into to
create the complete setup and deploy with fuel i have edited
openstack.yaml at /root/fuel-web/nailgun/nailgun/fixtures<span> </span></span><a href="http://pastebin.com/P1MmDBzP" style="font-family:Consolas,"Lucida Console",monospace;font-size:13px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(240,247,255)" target="_blank">http://pastebin.com/P1MmDBzP</a></b><br>-- <br><div>Thanks<br>Satya<br>Mob:<a href="tel:9844101001" value="+19844101001" target="_blank">9844101001</a><br><br>No one is the best by birth, Its his brain/ knowledge which make him the best.</div>
</div>
</blockquote></div><br><br>-- <br>Andrey Danin<br><a href="mailto:adanin@mirantis.com" target="_blank">adanin@mirantis.com</a><br>skype: gcon.monolake<br><br>
<br></div></div><span>_______________________________________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org" target="_blank">OpenStack-dev@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></span></blockquote></div>
<br>_______________________________________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org" target="_blank">OpenStack-dev@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></blockquote></div><br clear="all"><div><br></div></div></div><span><font color="#888888">-- <br><div><div dir="ltr">Mike Scherbakov<br>#mihgen<br><br></div></div>
</font></span></div>
<br>_______________________________________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org" target="_blank">OpenStack-dev@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></blockquote></div><br clear="all"><br>-- <br><div>Thanks<br>Satya<br>Mob:9844101001<br><br>No one is the best by birth, Its his brain/ knowledge which make him the best.</div>
</div>
</div></div><br>_______________________________________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></blockquote></div><br clear="all"><br>-- <br><div class="gmail_signature">Andrey Danin<br><a href="mailto:adanin@mirantis.com" target="_blank">adanin@mirantis.com</a><br>skype: gcon.monolake<br></div>
</div>