settingsLogin | Registersettings

[openstack-dev] [Fuel] Adding code to add node to fuel UI

0 votes

Hi,

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 http://pastebin.com/P1MmDBzP
http://pastebin.com/P1MmDBzP

--
Thanks
Satya
Mob:9844101001

No one is the best by birth, Its his brain/ knowledge which make him the
best.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openstack.org/pipermail/openstack-dev/attachments/20141217/85b6fa20/attachment.html

asked Dec 16, 2014 in openstack-dev by Satyasanjibani_Rauta (240 points)   1
retagged Feb 25, 2015 by admin

6 Responses

0 votes

Hello.

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?

I would really appreciate if you use a period at the end of sentences.

On Tuesday, December 16, 2014, Satyasanjibani Rautaray <engg.sanj at gmail.com>
wrote:

Hi,

*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 http://pastebin.com/P1MmDBzP
*
--
Thanks
Satya
Mob:9844101001

No one is the best by birth, Its his brain/ knowledge which make him the
best.

--
Andrey Danin
adanin at mirantis.com
skype: gcon.monolake
-------------- next part --------------
An HTML attachment was scrubbed...
URL:

responded Dec 16, 2014 by Andrey_Danin (1,620 points)   4
0 votes

I am using community version 6.
Basically I am trying to create a iso file after code change so wants to
understand the complete way to add new note and class to fuel.
On 17-Dec-2014 1:31 am, "Andrey Danin" wrote:

Hello.

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?

I would really appreciate if you use a period at the end of sentences.

On Tuesday, December 16, 2014, Satyasanjibani Rautaray <
engg.sanj at gmail.com> wrote:

Hi,

*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 http://pastebin.com/P1MmDBzP
*
--
Thanks
Satya
Mob:9844101001

No one is the best by birth, Its his brain/ knowledge which make him the
best.

--
Andrey Danin
adanin at mirantis.com
skype: gcon.monolake


OpenStack-dev mailing list
OpenStack-dev at lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL:

responded Dec 16, 2014 by Satyasanjibani_Rauta (240 points)   1
0 votes

I just need to deploy the node and install my required packages.
On 17-Dec-2014 1:31 am, "Andrey Danin" wrote:

Hello.

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?

I would really appreciate if you use a period at the end of sentences.

On Tuesday, December 16, 2014, Satyasanjibani Rautaray <
engg.sanj at gmail.com> wrote:

Hi,

*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 http://pastebin.com/P1MmDBzP
*
--
Thanks
Satya
Mob:9844101001

No one is the best by birth, Its his brain/ knowledge which make him the
best.

--
Andrey Danin
adanin at mirantis.com
skype: gcon.monolake


OpenStack-dev mailing list
OpenStack-dev at lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL:

responded Dec 16, 2014 by Satyasanjibani_Rauta (240 points)   1
0 votes

Hi,
did you come across
http://docs.mirantis.com/fuel-dev/develop/addition_examples.html ?

I believe it should cover your use case.

Thanks,

On Tue, Dec 16, 2014 at 11:43 PM, Satyasanjibani Rautaray <
engg.sanj at gmail.com> wrote:

I just need to deploy the node and install my required packages.
On 17-Dec-2014 1:31 am, "Andrey Danin" wrote:

Hello.

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?

I would really appreciate if you use a period at the end of sentences.

On Tuesday, December 16, 2014, Satyasanjibani Rautaray <
engg.sanj at gmail.com> wrote:

Hi,

*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 http://pastebin.com/P1MmDBzP
*
--
Thanks
Satya
Mob:9844101001

No one is the best by birth, Its his brain/ knowledge which make him the
best.

--
Andrey Danin
adanin at mirantis.com
skype: gcon.monolake


OpenStack-dev mailing list
OpenStack-dev at lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


OpenStack-dev mailing list
OpenStack-dev at lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

--
Mike Scherbakov

mihgen

-------------- next part --------------
An HTML attachment was scrubbed...
URL:

responded Dec 17, 2014 by Mike_Scherbakov (9,460 points)   1 4 6
0 votes

Hi Mike

this Document helped a lot

I may be missing something thing for which i need some help below is the
details for which i require some help.

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

The current zabbix-server under the manager.py did something as below

from nailgun.utils.zabbix import ZabbixManager

@classmethod
def getzabbixurl(cls, cluster):
zabbixnode = ZabbixManager.getzabbixnode(cluster)
if zabbix
node is None:
return None
ipcidr = cls.getnodenetworkbynetname(
zabbix
node, 'public'
)['ip']
ip = ip_cidr.split('/')[0]
return 'http://{0}/zabbix'.format(ip)

at receiver.py

 zabbix_url = objects.Cluster.get_network_manager(

task.cluster
).getzabbixurl(task.cluster)

if zabbixurl:
zabbix
suffix = " Access Zabbix dashboard at {0}".format(
zabbixurl
)
message += zabbix
suffix

at task.py

from nailgun.utils.zabbix import ZabbixManager

check if there's a zabbix server in an environment

and if there is, remove hosts

if ZabbixManager.getzabbixnode(task.cluster):
zabbixcredentials = ZabbixManager.getzabbixcredentials(
task.cluster
)
logger.debug("Removing nodes %s from zabbix" % (nodes
todelete))
try:
ZabbixManager.remove
fromzabbix(
zabbix
credentials, nodestodelete
)
except (errors.CannotMakeZabbixRequest,
errors.ZabbixRequestError) as e:
logger.warning("%s, skipping removing nodes from Zabbix", e)

and

https://review.openstack.org/#/c/84408/39/nailgun/nailgun/utils/zabbix.py

i am not able to get how can i connect to the vim.pp file

Thanks
Satya

On Wed, Dec 17, 2014 at 7:27 AM, Mike Scherbakov
wrote:

Hi,
did you come across
http://docs.mirantis.com/fuel-dev/develop/addition_examples.html ?

I believe it should cover your use case.

Thanks,

On Tue, Dec 16, 2014 at 11:43 PM, Satyasanjibani Rautaray <
engg.sanj at gmail.com> wrote:

I just need to deploy the node and install my required packages.
On 17-Dec-2014 1:31 am, "Andrey Danin" wrote:

Hello.

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?

I would really appreciate if you use a period at the end of sentences.

On Tuesday, December 16, 2014, Satyasanjibani Rautaray <
engg.sanj at gmail.com> wrote:

Hi,

*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 http://pastebin.com/P1MmDBzP
*
--
Thanks
Satya
Mob:9844101001

No one is the best by birth, Its his brain/ knowledge which make him
the best.

--
Andrey Danin
adanin at mirantis.com
skype: gcon.monolake


OpenStack-dev mailing list
OpenStack-dev at lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


OpenStack-dev mailing list
OpenStack-dev at lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

--
Mike Scherbakov

mihgen


OpenStack-dev mailing list
OpenStack-dev at lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

--
Thanks
Satya
Mob:9844101001

No one is the best by birth, Its his brain/ knowledge which make him the
best.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:

responded Dec 18, 2014 by Satyasanjibani_Rauta (240 points)   1
0 votes

It's enough for you to just create a new role in openstack.yaml and maybe
some descriptions in UI components.

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.

[1]
https://github.com/stackforge/fuel-library/blob/master/deployment/puppet/osnailyfacter/manifests/cluster_simple.pp#L227

On Thu, Dec 18, 2014 at 10:03 PM, Satyasanjibani Rautaray <
engg.sanj at gmail.com> wrote:

Hi Mike

this Document helped a lot

I may be missing something thing for which i need some help below is the
details for which i require some help.

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

The current zabbix-server under the manager.py did something as below

from nailgun.utils.zabbix import ZabbixManager

@classmethod
def getzabbixurl(cls, cluster):
zabbixnode = ZabbixManager.getzabbixnode(cluster)
if zabbix
node is None:
return None
ipcidr = cls.getnodenetworkbynetname(
zabbix
node, 'public'
)['ip']
ip = ip_cidr.split('/')[0]
return 'http://{0}/zabbix'.format(ip)

at receiver.py


zabbixurl = objects.Cluster.getnetworkmanager(
task.cluster
).get
zabbix_url(task.cluster)

if zabbixurl:
zabbix
suffix = " Access Zabbix dashboard at {0}".format(
zabbixurl
)
message += zabbix
suffix

at task.py

from nailgun.utils.zabbix import ZabbixManager

check if there's a zabbix server in an environment

and if there is, remove hosts

if ZabbixManager.getzabbixnode(task.cluster):
zabbixcredentials = ZabbixManager.getzabbixcredentials(
task.cluster
)
logger.debug("Removing nodes %s from zabbix" % (nodes
todelete))
try:
ZabbixManager.remove
fromzabbix(
zabbix
credentials, nodestodelete
)
except (errors.CannotMakeZabbixRequest,
errors.ZabbixRequestError) as e:
logger.warning("%s, skipping removing nodes from Zabbix", e)

and

https://review.openstack.org/#/c/84408/39/nailgun/nailgun/utils/zabbix.py

i am not able to get how can i connect to the vim.pp file

Thanks
Satya

On Wed, Dec 17, 2014 at 7:27 AM, Mike Scherbakov <mscherbakov at mirantis.com

wrote:

Hi,
did you come across
http://docs.mirantis.com/fuel-dev/develop/addition_examples.html ?

I believe it should cover your use case.

Thanks,

On Tue, Dec 16, 2014 at 11:43 PM, Satyasanjibani Rautaray <
engg.sanj at gmail.com> wrote:

I just need to deploy the node and install my required packages.
On 17-Dec-2014 1:31 am, "Andrey Danin" wrote:

Hello.

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?

I would really appreciate if you use a period at the end of sentences.

On Tuesday, December 16, 2014, Satyasanjibani Rautaray <
engg.sanj at gmail.com> wrote:

Hi,

*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 http://pastebin.com/P1MmDBzP
*
--
Thanks
Satya
Mob:9844101001

No one is the best by birth, Its his brain/ knowledge which make him
the best.

--
Andrey Danin
adanin at mirantis.com
skype: gcon.monolake


OpenStack-dev mailing list
OpenStack-dev at lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


OpenStack-dev mailing list
OpenStack-dev at lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

--
Mike Scherbakov

mihgen


OpenStack-dev mailing list
OpenStack-dev at lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

--
Thanks
Satya
Mob:9844101001

No one is the best by birth, Its his brain/ knowledge which make him the
best.


OpenStack-dev mailing list
OpenStack-dev at lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

--
Andrey Danin
adanin at mirantis.com
skype: gcon.monolake
-------------- next part --------------
An HTML attachment was scrubbed...
URL:

responded Dec 18, 2014 by Andrey_Danin (1,620 points)   4
...