I 've followed the changes in the aforementioned bug report a few days ago (meaning that I 've created the DB and changed the CONF files) and I was able to launch Cirros instances. I will be more than happy to provide the steps to someone to look at them if requested.

Unfortunately I am not able to launch neither Debian nor CentOS instances and I am getting a "No valid host was found".

Not sure if this is really the same bug but how can I eliminate the option?

Regards,

G.

Reading the initial bug report here:
https://bugs.launchpad.net/openstack-manuals/+bug/1663485
as well as the proposed fix here: https://review.openstack.org/#/c/438328
and the Cells documentation here:
https://docs.openstack.org/developer/nova/cells.html#cells-v2

my understanding is that I need to have at least one extra DB in
order for Cells to work before issuing the command to setup cells.

Is my understanding correct?
Has anybody else overcome this obstacle?

Best regards,

George

Nope, the db will be synced when you issue the cell creation, just
like in the case of nova sync.

The only req is that you need to have all computes up when creating
the cell.

On 2 Mar 2017 23:46, "Georgios Dimitrakakis"  wrote:

Thanks for the feedback, but I am assuming that this by itself is
not enough.
I guess I should have created the DB before.....
Any other actions that must be done before that?

Best,

George

To add cells you need to issue the following command after nova
service-list lists all your compute nodes as up state!

nova-manage cell_v2 simple_cell_setup --transport-url
$transport_url

Where




$transport_url=rabbit://{rabbit_user}:{rabbit_pass}@{rabbit_host}:{rabbit_port}

This command will populate the db and add a transport_url option
in
nova.conf on the controller.

Again, you need to issue this command after all computes node
show as
up state in nova service-list, otherwise you will still be unable
to
spawn instances.

I might have written the command wrong from the top of my head,
but
issue a nova-manage help cell_v2 to see the appropiate option.

I am mailing you directly because for some reason i am unable to
send
to thr mailing list.

When you reply to the mailing list olease put this mail in it so
others can see it too if they have the same problem.

Thanks,
Mihai

On 2 Mar 2017 20:00, "Georgios Dimitrakakis"  wrote:

It seems that I wont be able to spawn an image even if this is
working for now...

As you have pointed out there is also this bug:
https://bugs.launchpad.net/openstack-manuals/+bug/1663485 [1]
[17]

that will not allow me to spawn an image until the Cells have
been
configured properly.

So I am looking for a permanent solution...

Best,

G.

On Thu, 02 Mar 2017 10:56:19 +0200, Georgios Dimitrakakis
wrote:

Mihai, I am putting the list here as well...

No I didnt add the [placement] section in nova.conf on the
controller but adding it only on the compute node brought it
online.

I dont know yet if I can spawn an instance and if what you
are
saying is mandatory in Ocata in order to spawn one since I
havent
reached that part of the installation guide. The verification
though
of the compute services went OK as supposed to by the
installation
guide.

Best,

George

Hi, 

Did you also add the [placement] section in nova.conf on
the
controller?

Also in Ocata AFAIK you also need to create cell_v2 with
nova-manage
or else you wont be able to spawn instances.

But first add the placement section on the controller too
in
nova.conf
and the computes shoukd come online.

On 2 Mar 2017 09:27, "Georgios Dimitrakakis"  wrote:

On 03/01/2017 05:13 PM, Georgios Dimitrakakis wrote:

All,

I am trying to deploy OpenStack Ocata on bare metal
servers
using the official
guide from here:




https://docs.openstack.org/ocata/install-guide-rdo/nova-compute-install.html
[19]

[6]

[1]

Unfortunately I have stuck at deploying the Compute
Node
due to
the following
error in the logs when I try to start nova-compute
service:

2017-03-02 00:27:16.052 4236 INFO nova.service [-]
Starting
compute node
(version 15.0.0-1.el7)
2017-03-02 00:27:16.053 4236 ERROR
oslo_service.service
[-]
Error starting thread.
2017-03-02 00:27:16.053 4236 ERROR
oslo_service.service
Traceback (most recent
call last):
2017-03-02 00:27:16.053 4236 ERROR
oslo_service.service 
 File


"/usr/lib/python2.7/site-packages/oslo_service/service.py",

line 722, in
run_service
2017-03-02 00:27:16.053 4236 ERROR
oslo_service.service
service.start()
2017-03-02 00:27:16.053 4236 ERROR
oslo_service.service 
 File
"/usr/lib/python2.7/site-packages/nova/service.py",
line
144,
in start
2017-03-02 00:27:16.053 4236 ERROR
oslo_service.service
self.manager.init_host()
2017-03-02 00:27:16.053 4236 ERROR
oslo_service.service 
 File


"/usr/lib/python2.7/site-packages/nova/compute/manager.py",

Hi Chris,

it is constantly printing this output in the log and also
prevents
the openstack-nova-compute.service
from being shown as Active (running) when doing a
"systemctl
status
openstack-nova-compute.service"

There is already a proposed bug fix
https://review.openstack.org/#/c/440140/ [2] [1] [2]
which seems
to solve
this problem

For reference I ve added the following in the "placement"
section
of nova.conf in the compute node

        [placement]
        # ...
        os_region_name = RegionOne
        project_domain_name = Default
        user_domain_name = Default
        project_name = service
        auth_type = password
        username = nova
        password = NOVA_PASS
        auth_url = http://controller:35357/v3 [3] [2]
[3]

Best regards,

George

_______________________________________________
Mailing list:


http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
[4]
[3] [4]
Post to     : openstack@lists.openstack.org [5] [4]
[5]
Unsubscribe :


http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
[6]
[5] [6]

Links:
------
[1]




https://docs.openstack.org/ocata/install-guide-rdo/nova-compute-install.html
[20]
[7]
[2]

_______________________________________________
Mailing list:
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack [39]
Post to     : openstack@lists.openstack.org [40]
Unsubscribe :
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack [41]


Links:
------
[1] https://bugs.launchpad.net/openstack-manuals/+bug/1663485
[2] https://review.openstack.org/#/c/440140/
[3] http://controller:35357/v3
[4] http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
[5] mailto:openstack@lists.openstack.org
[6] http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
[7] http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
[8] mailto:openstack@lists.openstack.org
[9] http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
[10] mailto:gior...@acmac.uoc.gr
[11] http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
[12] mailto:openstack@lists.openstack.org
[13] http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
[14] http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
[15] mailto:openstack@lists.openstack.org
[16] http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
[17] https://review.openstack.org/#/c/440140/
[18] http://controller:35357/v3
[19]

https://docs.openstack.org/ocata/install-guide-rdo/nova-compute-install.html
[20]

https://docs.openstack.org/ocata/install-guide-rdo/nova-compute-install.html
[21] mailto:openstack@lists.openstack.org
[22] http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
[23]

https://docs.openstack.org/ocata/install-guide-rdo/nova-compute-install.html
[24]

https://docs.openstack.org/ocata/install-guide-rdo/nova-compute-install.html
[25] https://review.openstack.org/#/c/440140/
[26] http://controller:35357/v3
[27] http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
[28] mailto:openstack@lists.openstack.org
[29] http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
[30] mailto:gior...@acmac.uoc.gr
[31] http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
[32] mailto:openstack@lists.openstack.org
[33] http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
[34] https://bugs.launchpad.net/openstack-manuals/+bug/1663485
[35] http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
[36] mailto:openstack@lists.openstack.org
[37] http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
[38] mailto:gior...@acmac.uoc.gr
[39] http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
[40] mailto:openstack@lists.openstack.org
[41] http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
[42] mailto:gior...@acmac.uoc.gr

_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to     : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack

_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to     : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack

Reply via email to