Ask Your Question
0

Problem during installation Newton on Centos7

asked 2017-05-24 08:41:26 -0500

keinlezard gravatar image

Hi,

I try to install newton on CentOs7 But I see strange things.

When I run "openstack overcloud deploy" this fail. I believe my config is good. I followed a Red Hat guide I have from RHOS course.

The strange thing I see.

when I type " ironic node-list'

I have as result

+---------------------------+------------+--------------------------------------+-------------+--------------------+-------------+ | UUID | Name | Instance UUID | Power State | Provisioning State | Maintenance | +----------------------------+------------+--------------------------------------+-------------+--------------------+-------------+ | de9c8f3d-1a5d-4c5d-8289-6ecaf90e92f8 | compute1 | cacb7383-f7f8-483b-bf4b-3721dde7f873 | power on | active | False | | 85f94d9a-20b1-4187-bb78-69b6655a12a3 | controller | f3d96c79-8332-4aae-933c-2f094775327e | power on | active | False | +----------------+------------+--------------------------------------+-------------+--------------------+-------------+

all seems OK ... but

See at Instance UUID for Compute1 I have cacb7383-f7f8-483b-bf4b-3721dde7f873

And for Controller I have f3d96c79-8332-4aae-933c-2f094775327e

And now when I loot at nova list

+--------------------------------------+-------------------------+--------+------------+-------------+-----------------------+ | ID | Name | Status | Task State | Power State | Networks | +--------------------------------------+-------------------------+--------+------------+-------------+-----------------------+ | cacb7383-f7f8-483b-bf4b-3721dde7f873 | overcloud-controller-0 | ACTIVE | - | Running | ctlplane=192.168.1.86 | | f3d96c79-8332-4aae-933c-2f094775327e | overcloud-novacompute-0 | ACTIVE | - | Running | ctlplane=192.168.1.85 | +--------------------------------------+-------------------------+--------+------------+-------------+-----------------------+

IDs are inverted !

I think that this cause openstack deploy failure but I don't know where the problem is !

Somebody does have this problem too ?? Or Any answer or clue :)

Thank you

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2017-05-24 14:26:17 -0500

Don75080 gravatar image

That sounds like an issue with your profiles. Is this Mitaka or Newton? If Newton, try openstack profile list and make sure they are in the correct order.

edit flag offensive delete link more
0

answered 2017-05-29 06:03:44 -0500

keinlezard gravatar image

hello, Thank you for your answer :) ( with my poor english, I doubted to be understand :) )

It's Newton but when I type "openstack profile list" . openstack answer 'profile' is not an openstack command. See 'openstack --help'

Maybe it's "openstack overcloud profiles list"

this last command answer +--------------------------------------+------------+-----------------+-----------------+-------------------+ | Node UUID | Node Name | Provision State | Current Profile | Possible Profiles | +--------------------------------------+------------+-----------------+-----------------+-------------------+ | de9c8f3d-1a5d-4c5d-8289-6ecaf90e92f8 | compute1 | active | None | | | 85f94d9a-20b1-4187-bb78-69b6655a12a3 | controller | active | control | | +--------------------------------------+------------+-----------------+-----------------+-------------------+

As I understand I must set Current profile compute1 to compute

I type ironic node-update $controller replace properties/capabilities=profile:control,boot_option:local ironic node-update $computes1 replace properties/capabilities=profile:compute,boot_option:local

and

openstack overcloud profiles match --control-flavor control --control-scale 1 --compute-flavor compute --compute-scale 1

and redeploy .

thanks

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2017-05-24 08:41:26 -0500

Seen: 59 times

Last updated: May 29 '17