Ask Your Question

Darsh29's profile - activity

2016-01-14 03:21:54 -0500 received badge  Famous Question (source)
2015-12-24 05:10:40 -0500 received badge  Notable Question (source)
2015-12-22 03:54:24 -0500 received badge  Popular Question (source)
2015-12-15 06:17:51 -0500 asked a question Ironic: No valid host was found. There are not enough hosts available.

During the Bare metal provisioning, node fails to boot by saying "No valid host was found. There are not enough hosts available.".

image description

Network and Subnet Creation:

[root@onecloud ~(keystone_admin)]# neutron net-create --tenant-id $TENANT_ID pxenet --shared --provider:network_type flat --provider:physical_network physnet1
Created a new network:
+---------------------------+--------------------------------------+
| Field                     | Value                                |
+---------------------------+--------------------------------------+
| admin_state_up            | True                                 |
| id                        | 19accfbc-a619-4812-9fe5-640fa9d03ca8 |
| mtu                       | 0                                    |
| name                      | pxenet                               |
| provider:network_type     | flat                                 |
| provider:physical_network | physnet1                             |
| provider:segmentation_id  |                                      |
| router:external           | False                                |
| shared                    | True                                 |
| status                    | ACTIVE                               |
| subnets                   |                                      |
| tenant_id                 | ec80a1e3ed004b308f9f87ce51c6b6fa     |
+---------------------------+--------------------------------------+
[root@onecloud ~(keystone_admin)]# neutron subnet-create pxenet 192.168.2.0/24 --name pxenet-sub --ip-version=4 --gateway=192.168.2.1 --allocation-pool start=192.168.2.101,end=192.168.2.109 --enable-dhcp --host-route destination=169.254.169.254/32,nexthop=192.168.2.101
Created a new subnet:
+-------------------+-------------------------------------------------------------------+
| Field             | Value                                                             |
+-------------------+-------------------------------------------------------------------+
| allocation_pools  | {"start": "192.168.2.101", "end": "192.168.2.109"}                |
| cidr              | 192.168.2.0/24                                                    |
| dns_nameservers   |                                                                   |
| enable_dhcp       | True                                                              |
| gateway_ip        | 192.168.2.1                                                       |
| host_routes       | {"destination": "169.254.169.254/32", "nexthop": "192.168.2.101"} |
| id                | 668b31b5-67c2-4518-b652-fc90699efa47                              |
| ip_version        | 4                                                                 |
| ipv6_address_mode |                                                                   |
| ipv6_ra_mode      |                                                                   |
| name              | pxenet-sub                                                        |
| network_id        | 19accfbc-a619-4812-9fe5-640fa9d03ca8                              |
| subnetpool_id     |                                                                   |
| tenant_id         | 08c103656ceb4e68a13cd52e52c08cf8                                  |
+-------------------+-------------------------------------------------------------------+

image description

image description

image description

Ironic Node creation steps:

[root@onecloud ~(keystone_admin)]# ironic node-create -d pxe_ipmitool
+--------------+--------------------------------------+
| Property     | Value                                |
+--------------+--------------------------------------+
| uuid         | ce849a75-3368-451a-8a85-6b8f1a3fb553 |
| driver_info  | {}                                   |
| extra        | {}                                   |
| driver       | pxe_ipmitool                         |
| chassis_uuid |                                      |
| properties   | {}                                   |
+--------------+--------------------------------------+
[root@onecloud ~(keystone_admin)]# NODE_UUID=ce849a75-3368-451a-8a85-6b8f1a3fb553
[root@onecloud ~(keystone_admin)]# ironic node-update $NODE_UUID add driver_info/ipmi_username=root     driver_info/ipmi_password=onecloud driver_info/ipmi_address=192.168.2.80
+------------------------+---------------------------------------------------------------+
| Property               | Value                                                         |
+------------------------+---------------------------------------------------------------+
| instance_uuid          | None                                                          |
| target_power_state     | None                                                          |
| properties             | {}                                                            |
| maintenance            | False                                                         |
| driver_info            | {u'ipmi_address': u'192.168.2.80', u'ipmi_username': u'root', |
|                        | u'ipmi_password': u'******'}                                  |
| extra                  | {}                                                            |
| last_error             | None                                                          |
| created_at             | 2015-12-14T14:01:58+00:00                                     |
| target_provision_state | None                                                          |
| driver                 | pxe_ipmitool                                                  |
| updated_at             | 2015-12-15T07:13:11+00:00                                     |
| instance_info          | {}                                                            |
| chassis_uuid           |                                                               |
| provision_state        | None                                                          |
| reservation            | None                                                          |
| power_state            | None                                                          |
| console_enabled        | False                                                         |
| uuid                   | ce849a75-3368-451a-8a85-6b8f1a3fb553                          |
+------------------------+---------------------------------------------------------------+
[root@onecloud ~(keystone_admin)]# RAM_MB=16384
[root@onecloud ~(keystone_admin)]# CPU=4
[root@onecloud ~(keystone_admin)]# DISK_GB=450
[root@onecloud ~(keystone_admin)]# ARCH=x86_64

Launching Instance:

image description

image description

image description

2015-03-19 09:38:06 -0500 answered a question devstack all-in-one - external network packet trace

From my understanding, you have missed to provide the rules under Security Groups. Under Compute -> Access & Security -> Security Groups, click on Manage/Edit Rules -> Add ingress and egress for SSH and ICMP. ( http://docs.openstack.org/user-guide/... )

Through CLI: http://docs.openstack.org/user-guide/...

Also FYI, I believe you have enabled the Packet forwarding configuration for VB host-only networking.

2015-02-25 23:03:11 -0500 received badge  Enthusiast
2015-02-23 02:18:48 -0500 answered a question Running my own script for ceilometer alarm

Yes you can. At first, you need to create a metering label, then add this metering label for a specific tenant and finally add your customised rules to it. This works as simple as manual installation does.

2015-02-18 05:26:25 -0500 received badge  Supporter (source)
2014-10-20 23:08:09 -0500 received badge  Famous Question (source)
2014-09-19 21:52:29 -0500 received badge  Notable Question (source)
2014-09-19 21:52:29 -0500 received badge  Popular Question (source)
2014-09-15 11:41:41 -0500 received badge  Student (source)