Overcloud deploy error

asked 2018-03-01 05:53:18 -0500

Krish gravatar image

updated 2018-03-02 05:37:54 -0500

Here I executed the overcloud deploy in undercloud.

[stack@localhost ~]$ virsh list --all
 Id    Name                           State
----------------------------------------------------
 -     compute_0                      shut off
 -     control_0                      shut off
 -     undercloud                     shut off

[stack@localhost ~]$ 




[stack@localhost ~]$ ssh -F .quickstart/ssh.config.ansible undercloud
Warning: Permanently added 'undercloud' (ECDSA) to the list of known hosts.
Last login: Fri Mar  2 11:08:17 2018 from gateway
[stack@undercloud ~]$ 
[stack@undercloud ~]$ source 
stackrc
(undercloud) [stack@undercloud ~]$ 
(undercloud) [stack@undercloud ~]$ openstack overcloud image upload
Image "overcloud-full-vmlinuz" is up-to-date, skipping.
Image "overcloud-full-initrd" is up-to-date, skipping.
Image "overcloud-full" is up-to-date, skipping.
Image "bm-deploy-kernel" is up-to-date, skipping.
Image "bm-deploy-ramdisk" is up-to-date, skipping.
Image file "/httpboot/agent.kernel" is up-to-date, skipping.
Image file "/httpboot/agent.ramdisk" is up-to-date, skipping.
(undercloud) [stack@undercloud ~]$ 
(undercloud) [stack@undercloud ~]$ 
(undercloud) [stack@undercloud ~]$ openstack baremetal import --json instackenv.json
This command is deprecated. Please use "openstack overcloud node import" to register nodes instead.
Started Mistral Workflow tripleo.baremetal.v1.register_or_update. Execution ID: dfee3b85-4e6f-4e60-b406-429fd67e9a91
Waiting for messages on queue '352b5229-a337-4136-8cf1-2c310e01cbf0' with no timeout.
Successfully set nodes state to available.
Nodes set to available.
Successfully registered node UUID 6d6d22ed-29b9-4253-b146-a621f189d355
Successfully registered node UUID bed70c6d-69b3-4bde-9f23-6d2e728cb4ea
(undercloud) [stack@undercloud ~]$ 
(undercloud) [stack@undercloud ~]$ 
(undercloud) [stack@undercloud ~]$ 
(undercloud) [stack@undercloud ~]$ openstack baremetal configure boot
This command is deprecated. Please use "openstack overcloud node configure" to configure manageable nodes instead.
Started Mistral Workflow tripleo.baremetal.v1.configure. Execution ID: 78322e7d-8ffe-4487-9195-d4d9033903df
Waiting for messages on queue '85904b70-2881-49ed-983b-f07a9ab040d9' with no timeout.
Successfully configured the nodes.
Started Mistral Workflow tripleo.baremetal.v1.configure. Execution ID: 8dfce3b4-d357-441a-b99c-7e7cdecab801
Waiting for messages on queue '85904b70-2881-49ed-983b-f07a9ab040d9' with no timeout.
Successfully configured the nodes.
(undercloud) [stack@undercloud ~]$ 
(undercloud) [stack@undercloud ~]$ 
(undercloud) [stack@undercloud ~]$ neutron subnet-list
neutron CLI is deprecated and will be removed in the future. Use openstack CLI instead.
+--------------------------------------+-----------------+----------------------------------+-----------------+---------------------------------------------------+
| id                                   | name            | tenant_id                        | cidr            | allocation_pools                                  |
+--------------------------------------+-----------------+----------------------------------+-----------------+---------------------------------------------------+
| 6b5bd968-bbd7-4224-b31b-8791fc38febe | ctlplane-subnet | 93615b4f570b4d1488c3b1fc5cac01ad | 192.168.24.0/24 | {"start": "192.168.24.5", "end": "192.168.24.30"} |
+--------------------------------------+-----------------+----------------------------------+-----------------+---------------------------------------------------+
(undercloud) [stack@undercloud ~]$ 
(undercloud) [stack@undercloud ~]$ 
(undercloud) [stack@undercloud ~]$ 
(undercloud) [stack@undercloud ~]$ neutron subnet-update 6b5bd968-bbd7-4224-b31b-8791fc38febe --dns-nameserver 8.8.8.8
neutron CLI is deprecated and will be removed in the future. Use openstack CLI instead.
Updated subnet: 6b5bd968-bbd7-4224-b31b-8791fc38febe
(undercloud) [stack@undercloud ~]$ 
(undercloud) [stack@undercloud ~]$ 
(undercloud) [stack@undercloud ~]$ 
(undercloud) [stack@undercloud ~]$ 
(undercloud) [stack@undercloud ~]$ openstack overcloud deploy --control-scale 1 --compute-scale 1 --templates --libvirt-type qemu --ceph-storage-scale 1 -e /usr/share/openstack-tripleo-heat-templates/environments/storage-environment.yaml
Started Mistral Workflow tripleo.validations.v1.check_pre_deployment_validations. Execution ID: c811a015-8b04-4262-855a-ad55e3f83c09
Waiting for messages on queue 'b818100b-6e31-4c58-bf50-f30536b5ddf8' with no timeout.
{u'errors': [u'Not enough baremetal nodes - available: 2, requested: 3'], u'result': {u'enough_nodes': False, u'statistics': {u'count': 2, u'vcpus_used': 0, u'local_gb_used': 0, u'manager': {u'api': {u'server_groups': None, u'keypairs': None, u'servers': None, u'server_external_events': None, u'server_migrations': None, u'agents': None, u'instance_action': None, u'glance': None, u'hypervisor_stats': None, u'virtual_interfaces': None, u'flavors': None, u'availability_zones': None, u'user_id': None, u'cloudpipe': None, u'os_cache': False, u'quotas': None, u'migrations': None, u'usage': None, u'logger': None, u'project_id': None, u'neutron': None, u'quota_classes': None, u'project_name': None ...
(more)
edit retag flag offensive close merge delete

Comments

My guess: You want to deploy on 3 nodes (control, compute, ceph) but you configured only two.

Bernd Bausch gravatar imageBernd Bausch ( 2018-03-02 01:20:28 -0500 )edit

You are saying that Ceph is missed here? I use desktop PC (Ram 64gb, 24 Cpus, 1 Tb Hard disk space), all nodes are VMs.

Krish gravatar imageKrish ( 2018-03-02 05:40:54 -0500 )edit

I am saying that you only registered 2 nodes. Add more nodes with openstack baremetal import.

Bernd Bausch gravatar imageBernd Bausch ( 2018-03-02 07:01:20 -0500 )edit