ravindert's profile - activity

2016-08-05 07:24:13 -0500 received badge  Notable Question (source)
2016-08-05 07:24:13 -0500 received badge  Famous Question (source)
2016-06-19 22:36:55 -0500 received badge  Notable Question (source)
2016-04-29 14:09:01 -0500 received badge  Popular Question (source)
2016-04-23 13:20:19 -0500 received badge  Popular Question (source)
2016-04-11 01:44:28 -0500 commented question Error: Unable to launch instance named

Hi Bipin,

Below is the entry i have in nova.conf on all hosts.

auth_uri = http://controller:5000 auth_url = http://controller:35357 auth_plugin = password project_domain_id = default user_domain_id = default project_name = service username = nova password = password

2016-04-11 00:42:26 -0500 commented question Error: Unable to launch instance named

I have pasted Bipin , Please check and let me know if more info required

2016-04-10 23:43:52 -0500 answered a question Error: Unable to launch instance named

[root@controller ~]# nova-manage service list No handlers could be found for logger "oslo_config.cfg" Binary Host Zone Status State Updated_At nova-consoleauth controller internal enabled :-) 2016-04-11 04:40:49 nova-conductor controller internal enabled :-) 2016-04-11 04:40:54 nova-scheduler controller internal enabled :-) 2016-04-11 04:40:49 nova-cert controller internal enabled :-) 2016-04-11 04:40:48 nova-compute compute nova enabled :-) 2016-04-11 04:40:55 [root@controller ~]#

2016-04-10 23:42:57 -0500 received badge  Commentator
2016-04-10 23:42:57 -0500 commented question Error: Unable to launch instance named

[root@controller ~]# nova-manage service list

No handlers could be found for logger "oslo_config.cfg"
Binary           Host                                 Zone             Status     State Updated_At
nova-consoleauth controller                           internal         enabled    :-)   2016-04-11
2016-04-10 20:42:59 -0500 asked a question Error: Unable to launch instance named

Hi,

I am getting below error when launching the instance in the liberty, so please advice the solution to these problems. nova-api.log

2016-04-10 21:01:42.503 16544 INFO nova.osapi_compute.wsgi.server [req-d5ea4b83-4534-4b32-8455-7a040d8d2483 7abf3cc7099b447c96ffda806cfdd935 358453d87f6248ddb1d7333ad6f589ce - - -] 10.64.20.72 "GET /v2/358453d87f6248ddb1d7333ad6f589ce/os-availability-zone HTTP/1.1" status: 200 len: 293 time: 0.0542819
2016-04-10 21:01:42.548 16544 INFO nova.osapi_compute.wsgi.server [req-df85e181-cbef-4297-93c2-3a687260a2e4 7abf3cc7099b447c96ffda806cfdd935 358453d87f6248ddb1d7333ad6f589ce - - -] 10.64.20.72 "GET /v2/358453d87f6248ddb1d7333ad6f589ce/flavors/detail HTTP/1.1" status: 200 len: 2267 time: 0.0369990
2016-04-10 21:01:42.740 16544 INFO nova.osapi_compute.wsgi.server [req-c89428f2-279a-4361-9bbf-5725d750dd9a 7abf3cc7099b447c96ffda806cfdd935 358453d87f6248ddb1d7333ad6f589ce - - -] 10.64.20.72 "GET /v2/358453d87f6248ddb1d7333ad6f589ce/os-keypairs HTTP/1.1" status: 200 len: 212 time: 0.0101149
2016-04-10 21:01:43.045 16544 INFO nova.osapi_compute.wsgi.server [req-45a2252a-c4c5-4489-9f26-d730338bee28 7abf3cc7099b447c96ffda806cfdd935 358453d87f6248ddb1d7333ad6f589ce - - -] 10.64.20.72 "GET /v2/358453d87f6248ddb1d7333ad6f589ce/extensions HTTP/1.1" status: 200 len: 21880 time: 0.0722170
2016-04-10 21:01:43.171 16544 INFO nova.osapi_compute.wsgi.server [req-4b664bd9-dd18-4b19-bc07-6dc7667d7b2b 7abf3cc7099b447c96ffda806cfdd935 358453d87f6248ddb1d7333ad6f589ce - - -] 10.64.20.72 "GET /v2/358453d87f6248ddb1d7333ad6f589ce/limits HTTP/1.1" status: 200 len: 708 time: 0.0335610
2016-04-10 21:01:52.196 16544 INFO nova.osapi_compute.wsgi.server [req-5b8a85ba-bf21-4ff1-b006-62556af7105d 7abf3cc7099b447c96ffda806cfdd935 358453d87f6248ddb1d7333ad6f589ce - - -] 10.64.20.72 "GET /v2/358453d87f6248ddb1d7333ad6f589ce/os-availability-zone HTTP/1.1" status: 200 len: 293 time: 0.0444050
2016-04-10 21:01:52.235 16544 INFO nova.osapi_compute.wsgi.server [req-c1256297-905c-4bcc-a244-094088925ca2 7abf3cc7099b447c96ffda806cfdd935 358453d87f6248ddb1d7333ad6f589ce - - -] 10.64.20.72 "GET /v2/358453d87f6248ddb1d7333ad6f589ce/flavors/detail HTTP/1.1" status: 200 len: 2267 time: 0.0329561
2016-04-10 21:01:52.457 16544 INFO nova.osapi_compute.wsgi.server [req-b1781d54-036b-4d26-a5f8-fb811d87b5d4 7abf3cc7099b447c96ffda806cfdd935 358453d87f6248ddb1d7333ad6f589ce - - -] 10.64.20.72 "GET /v2/358453d87f6248ddb1d7333ad6f589ce/os-quota-sets/358453d87f6248ddb1d7333ad6f589ce HTTP/1.1" status: 200 len: 568 time: 0.0196421
2016-04-10 21:01:52.567 16544 INFO nova.osapi_compute.wsgi.server [req-a396bb73-5d45-4e4f-a3fc-27953815b7af 7abf3cc7099b447c96ffda806cfdd935 358453d87f6248ddb1d7333ad6f589ce - - -] 10.64.20.72 "GET /v2/358453d87f6248ddb1d7333ad6f589ce/servers/detail?all_tenants=True&tenant_id=358453d87f6248ddb1d7333ad6f589ce HTTP/1.1" status: 200 len: 211 time: 0.1010180
2016-04-10 21:01:52.588 16544 INFO nova.osapi_compute.wsgi.server [req-792a2d5d-f50c-4383-8474-c14c5a5a3c24 7abf3cc7099b447c96ffda806cfdd935 358453d87f6248ddb1d7333ad6f589ce - - -] 10.64.20.72 "GET /v2/358453d87f6248ddb1d7333ad6f589ce/os-keypairs HTTP/1.1" status: 200 len: 212 time: 0.0115221
2016-04-10 21:01:52.892 16544 INFO nova.osapi_compute.wsgi.server [req-0b6eebc3-dc23-4c97-b6a5-d105fbd914ab 7abf3cc7099b447c96ffda806cfdd935 358453d87f6248ddb1d7333ad6f589ce - - -] 10.64.20.72 "GET /v2/358453d87f6248ddb1d7333ad6f589ce/extensions HTTP/1.1" status: 200 len: 21880 time: 0.0718129
2016-04-10 21:01:53.085 16544 ERROR nova.api.openstack.extensions [req-b17155d5-70c1-4e1e-ae9b-f57b04d8e550 7abf3cc7099b447c96ffda806cfdd935 358453d87f6248ddb1d7333ad6f589ce - - -] Unexpected exception in API method
2016-04-10 21:01:53.085 16544 ERROR nova.api.openstack.extensions Traceback (most recent call last):
2016-04-10 21:01:53.085 16544 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/nova/api/openstack/extensions.py", line 478, in wrapped
2016-04-10 21:01:53.085 16544 ERROR nova.api.openstack.extensions     return f(*args, **kwargs)
2016-04-10 21:01:53.085 16544 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/nova/api/validation/__init__.py", line 73, in wrapper
2016-04-10 21:01:53.085 16544 ERROR nova.api.openstack.extensions     return func(*args, **kwargs ...
(more)
2016-04-10 20:42:11 -0500 asked a question Error: Unable to launch instance named

Hi,

I am getting below error when launching the instance in the liberty, so please advice the solution to these problems. ==> nova-api.log <== 2016-04-10 21:01:42.503 16544 INFO nova.osapi_compute.wsgi.server [req-d5ea4b83-4534-4b32-8455-7a040d8d2483 7abf3cc7099b447c96ffda806cfdd935 358453d87f6248ddb1d7333ad6f589ce - - -] 10.64.20.72 "GET /v2/358453d87f6248ddb1d7333ad6f589ce/os-availability-zone HTTP/1.1" status: 200 len: 293 time: 0.0542819 2016-04-10 21:01:42.548 16544 INFO nova.osapi_compute.wsgi.server [req-df85e181-cbef-4297-93c2-3a687260a2e4 7abf3cc7099b447c96ffda806cfdd935 358453d87f6248ddb1d7333ad6f589ce - - -] 10.64.20.72 "GET /v2/358453d87f6248ddb1d7333ad6f589ce/flavors/detail HTTP/1.1" status: 200 len: 2267 time: 0.0369990 2016-04-10 21:01:42.740 16544 INFO nova.osapi_compute.wsgi.server [req-c89428f2-279a-4361-9bbf-5725d750dd9a 7abf3cc7099b447c96ffda806cfdd935 358453d87f6248ddb1d7333ad6f589ce - - -] 10.64.20.72 "GET /v2/358453d87f6248ddb1d7333ad6f589ce/os-keypairs HTTP/1.1" status: 200 len: 212 time: 0.0101149 2016-04-10 21:01:43.045 16544 INFO nova.osapi_compute.wsgi.server [req-45a2252a-c4c5-4489-9f26-d730338bee28 7abf3cc7099b447c96ffda806cfdd935 358453d87f6248ddb1d7333ad6f589ce - - -] 10.64.20.72 "GET /v2/358453d87f6248ddb1d7333ad6f589ce/extensions HTTP/1.1" status: 200 len: 21880 time: 0.0722170 2016-04-10 21:01:43.171 16544 INFO nova.osapi_compute.wsgi.server [req-4b664bd9-dd18-4b19-bc07-6dc7667d7b2b 7abf3cc7099b447c96ffda806cfdd935 358453d87f6248ddb1d7333ad6f589ce - - -] 10.64.20.72 "GET /v2/358453d87f6248ddb1d7333ad6f589ce/limits HTTP/1.1" status: 200 len: 708 time: 0.0335610 2016-04-10 21:01:52.196 16544 INFO nova.osapi_compute.wsgi.server [req-5b8a85ba-bf21-4ff1-b006-62556af7105d 7abf3cc7099b447c96ffda806cfdd935 358453d87f6248ddb1d7333ad6f589ce - - -] 10.64.20.72 "GET /v2/358453d87f6248ddb1d7333ad6f589ce/os-availability-zone HTTP/1.1" status: 200 len: 293 time: 0.0444050 2016-04-10 21:01:52.235 16544 INFO nova.osapi_compute.wsgi.server [req-c1256297-905c-4bcc-a244-094088925ca2 7abf3cc7099b447c96ffda806cfdd935 358453d87f6248ddb1d7333ad6f589ce - - -] 10.64.20.72 "GET /v2/358453d87f6248ddb1d7333ad6f589ce/flavors/detail HTTP/1.1" status: 200 len: 2267 time: 0.0329561 2016-04-10 21:01:52.457 16544 INFO nova.osapi_compute.wsgi.server [req-b1781d54-036b-4d26-a5f8-fb811d87b5d4 7abf3cc7099b447c96ffda806cfdd935 358453d87f6248ddb1d7333ad6f589ce - - -] 10.64.20.72 "GET /v2/358453d87f6248ddb1d7333ad6f589ce/os-quota-sets/358453d87f6248ddb1d7333ad6f589ce HTTP/1.1" status: 200 len: 568 time: 0.0196421 2016-04-10 21:01:52.567 16544 INFO nova.osapi_compute.wsgi.server [req-a396bb73-5d45-4e4f-a3fc-27953815b7af 7abf3cc7099b447c96ffda806cfdd935 358453d87f6248ddb1d7333ad6f589ce - - -] 10.64.20.72 "GET /v2/358453d87f6248ddb1d7333ad6f589ce/servers/detail?all_tenants=True&tenant_id=358453d87f6248ddb1d7333ad6f589ce HTTP/1.1" status: 200 len: 211 time: 0.1010180 2016-04-10 21:01:52.588 16544 INFO nova.osapi_compute.wsgi.server [req-792a2d5d-f50c-4383-8474-c14c5a5a3c24 7abf3cc7099b447c96ffda806cfdd935 358453d87f6248ddb1d7333ad6f589ce - - -] 10.64.20.72 "GET /v2/358453d87f6248ddb1d7333ad6f589ce/os-keypairs HTTP/1.1" status: 200 len: 212 time: 0.0115221 2016-04-10 21:01:52.892 16544 INFO nova.osapi_compute.wsgi.server [req-0b6eebc3-dc23-4c97-b6a5-d105fbd914ab 7abf3cc7099b447c96ffda806cfdd935 358453d87f6248ddb1d7333ad6f589ce - - -] 10.64.20.72 "GET /v2/358453d87f6248ddb1d7333ad6f589ce/extensions HTTP/1.1" status: 200 len: 21880 time: 0.0718129 2016-04-10 21:01:53.085 16544 ERROR nova.api.openstack.extensions [req-b17155d5-70c1-4e1e-ae9b-f57b04d8e550 7abf3cc7099b447c96ffda806cfdd935 358453d87f6248ddb1d7333ad6f589ce - - -] Unexpected exception in API method 2016-04-10 21:01:53.085 16544 ERROR nova.api.openstack.extensions Traceback (most recent call last): 2016-04-10 21:01:53.085 16544 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/nova/api/openstack/extensions.py", line 478, in wrapped 2016-04-10 21:01:53.085 16544 ERROR nova.api.openstack.extensions return f(args, *kwargs) 2016-04-10 21:01:53.085 16544 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/nova/api/validation/__init__.py", line 73, in wrapper 2016-04-10 21:01:53.085 16544 ERROR nova.api.openstack.extensions return func(args, *kwargs ... (more)

2016-02-10 23:39:29 -0500 received badge  Famous Question (source)
2015-12-09 10:45:42 -0500 received badge  Famous Question (source)
2015-11-03 22:23:47 -0500 received badge  Famous Question (source)
2015-10-09 09:25:09 -0500 received badge  Popular Question (source)
2015-10-09 09:25:09 -0500 received badge  Notable Question (source)
2015-10-01 09:34:40 -0500 received badge  Famous Question (source)
2015-09-28 06:33:15 -0500 received badge  Famous Question (source)
2015-09-28 06:33:15 -0500 received badge  Notable Question (source)
2015-09-23 08:46:48 -0500 received badge  Notable Question (source)
2015-09-23 08:46:23 -0500 received badge  Popular Question (source)
2015-09-14 23:56:38 -0500 asked a question heat stack get failed (ERROR: Failed to validate: Failed to validate: Neither image nor bootable )

Hi All,

Thanks in advance. I have create the stack environment and try to boot it with using the following files and it is getting failed with the error

ERROR: Failed to validate: Failed to validate: Neither image nor bootable volume is specified for instance server1

So please suggest what changes i have to make in the yaml's file to work it properly.

Below is the detail of the each file.

[root@controller log(keystone)]# heat stack-create -f simple.yaml -e environment.yaml thakurr ERROR: Failed to validate: Failed to validate: Neither image nor bootable volume is specified for instance server1 [root@controller log(keystone)]# cat simple.yaml heat_template_version: 2014-10-16 description: A simple auto scaling group. resources: group: type: OS::Heat::AutoScalingGroup properties: cooldown: 60 desired_capacity: 2 max_size: 5 min_size: 1 resource: type: OS::Nova::Server::Cirros

scaleup_policy: type: OS::Heat::ScalingPolicy properties: adjustment_type: change_in_capacity auto_scaling_group_id: { get_resource: group } cooldown: 60 scaling_adjustment: 1

cpu_alarm_high: type: OS::Ceilometer::Alarm properties: meter_name: cpu_util statistic: avg period: 60 evaluation_periods: 1 threshold: 50 alarm_actions: - {get_attr: [scaleup_policy, alarm_url]} comparison_operator: gt [root@controller log(keystone)]# cat environment.yaml resource_registry: "OS::Nova::Server::Cirros": "cirros.yaml" [root@controller log(keystone)]# cat cirros.yaml heat_template_version: 2014-10-16

description: Heat Sample Template

parameters: ImageID: type: string description: Image used to boot a server NetID: type: string description: Network ID for the server

resources: server1: type: OS::Nova::Server properties: name: "Heat_Deployed_Server" image: { get_param: ImageID } flavor: "m1.small" networks: - network: { get_param: NetID }

outputs: server1_private_ip: description: IP address of the server in the private network value: { get_attr: [ server1, first_address ] }

[root@controller log(keystone)]#

[root@controller log(keystone)]# nova list +--------------------------------------+----------------------+---------+------------+-------------+------------------------------------+ | ID | Name | Status | Task State | Power State | Networks | +--------------------------------------+----------------------+---------+------------+-------------+------------------------------------+ | 911134c0-ea8c-4cc8-93f4-01b345ccab2e | Heat_Deployed_Server | SHUTOFF | - | Shutdown | int_net=192.168.100.139 | | 92b12dff-11df-4a07-a3fe-bfd4fdf143ea | Heat_Deployed_Server | SHUTOFF | - | Shutdown | int_net=192.168.100.138 | | 848ecad0-da0b-474f-bf71-379e2797c8bf | cloud | SHUTOFF | - | Shutdown | int_net=192.168.100.3, 172.0.0.102 | | 05e6fdc9-bfff-4405-88d7-1109eed02575 | cloud1 | SHUTOFF | - | Shutdown | int_net=192.168.100.4, 172.0.0.103 | | aad39ba0-b64d-445b-b992-7546ba6fcb23 | web01 | ACTIVE | - | Running | int_net=192.168.100.8, 172.0.0.106 | | d886666f-0f1d-46f9-afa9-53ce46e0073e | web02 | ACTIVE | - | Running | int_net=192.168.100.9, 172.0.0.107 | +--------------------------------------+----------------------+---------+------------+-------------+------------------------------------+ [root@controller log(keystone)]# glance image-list +--------------------------------------+----------+-------------+------------------+-----------+--------+ | ID | Name | Disk Format | Container Format | Size | Status | +--------------------------------------+----------+-------------+------------------+-----------+--------+ | e6edb708-cdb9-4866-a2d0-6cf6bda3b530 | cirros | qcow2 | bare | 13167616 | active | | fc761829-869e-42ab-bae8-82b56289d990 | Fedora22 | qcow2 | bare | 228599296 | active | +--------------------------------------+----------+-------------+------------------+-----------+--------+ [root@controller log(keystone)]#

THanks once again.!!!!!!!

2015-09-11 04:46:26 -0500 asked a question ERROR: The Parameter (ImageID) was not defined in template.

Hi ,

I have created the template for the stack and environment file. It is getting failed with below error. So can you please look into the files, templates and let me know why the stack creation is failing??

[root@controller log(keystone)]# echo $Int_Net_ID
8a5b893e-7ea1-45cb-ae5f-aa0c8d7c33da
[root@controller log(keystone)]#

[root@controller log(keystone)]# glance image-list
+--------------------------------------+----------+-------------+------------------+-----------+--------+
| ID                                   | Name     | Disk Format | Container Format | Size      | Status |
+--------------------------------------+----------+-------------+------------------+-----------+--------+
| e6edb708-cdb9-4866-a2d0-6cf6bda3b530 | cirros   | qcow2       | bare             | 13167616  | active |
| fc761829-869e-42ab-bae8-82b56289d990 | Fedora22 | qcow2       | bare             | 228599296 | active |
+--------------------------------------+----------+-------------+------------------+-----------+--------+
[root@controller log(keystone)]#

[root@controller log(keystone)]# heat stack-create -f simple.yaml -P "ImageID=cirros;NetID=$Int_Net_ID" -e environment.yaml  stack1
ERROR: The Parameter (ImageID) was not defined in template.


[root@controller log(keystone)]# cat cirros.yaml
heat_template_version: 2014-10-16

description: Heat Sample Template

parameters:
  ImageID:
    type: string
    description: Image used to boot a server
  NetID:
    type: string
    description: Network ID for the server

resources:
  server1:
    type: OS::Nova::Server
    properties:
      name: "Heat_Deployed_Server"
      image: { get_param: ImageID }
      flavor: "m1.small"
      networks:
      - network: { get_param: NetID }

outputs:
  server1_private_ip:
    description: IP address of the server in the private network
    value: { get_attr: [ server1, first_address ] }

[root@controller log(keystone)]#


[root@controller log(keystone)]# cat simple.yaml
heat_template_version: 2014-10-16
description: A simple auto scaling group.
resources:
  group:
    type: OS::Heat::AutoScalingGroup
    properties:
      cooldown: 60
      desired_capacity: 2
      max_size: 5
      min_size: 1
      resource:
        type: OS::Nova::Server::Cirros

  scaleup_policy:
    type: OS::Heat::ScalingPolicy
    properties:
      adjustment_type: change_in_capacity
      auto_scaling_group_id: { get_resource: group }
      cooldown: 60
      scaling_adjustment: 1

  cpu_alarm_high:
    type: OS::Ceilometer::Alarm
    properties:
      meter_name: cpu_util
      statistic: avg
      period: 60
      evaluation_periods: 1
      threshold: 50
      alarm_actions:
        - {get_attr: [scaleup_policy, alarm_url]}
      comparison_operator: gt
[root@controller log(keystone)]#


[root@controller log(keystone)]# cat environment.yaml
resource_registry:
    "OS::Nova::Server::Cirros": "cirros.yaml"
[root@controller log(keystone)]#

Thanks a lott!!!!

2015-09-09 08:14:07 -0500 received badge  Enthusiast
2015-09-08 12:42:45 -0500 received badge  Famous Question (source)
2015-09-03 01:37:09 -0500 received badge  Notable Question (source)
2015-09-03 01:36:04 -0500 received badge  Popular Question (source)
2015-09-02 10:21:03 -0500 marked best answer openstack keystone endpoint create error kilo

Hi All,

Thanks in advance.

I am getting below error when trying to create the endpoint in kilo openstack version. So please suggest me the solution to this problem asap , as i am not able to create the endpoint for network while able to create the endpoint successfully for other services.

[root@controller ~(keystone)]# openstack endpoint create --publicurl http://$controller:9696 --adminurl http://$controller:9696 --internalurl http://$controller:9696 --region RegionOne network
ERROR: openstack
[root@controller ~(keystone)]#

end point list

[root@controller ~(keystone)]# openstack endpoint list
+----------------------------------+-----------+--------------+---------------+
| ID                               | Region    | Service Name | Service Type  |
+----------------------------------+-----------+--------------+---------------+
| c860cb8be3a345dc92324e13621d72e9 | RegionOne | ceilometer   | metering      |
| e4888c1f150e488d8caf28849860fcf2 | RegionOne | heat         | orchestration |
| c1f7d6b99af64e5d903510949cde805f | RegionOne | ceilometer   | metering      |
| b91f8810892f452fb912f0ee2e8e75b3 | RegionOne | cinderv2     | volumev2      |
| 2e2d6cb671f14154b85ca79ce1f006a0 | RegionOne | glance       | image         |
| 0db597d12ce74f039ff2c8c534daa04e | RegionOne | keystone     | identity      |
| 071d50bf18ba4c64b8e89119756751bc | RegionOne | cinder       | volume        |
| 85408dbfddf34a6099f674cba8bd5a37 | RegionOne | nova         | compute       |
| 7125e0d1cea5416aabc3dbb796079adb | RegionOne | keystone     | identity      |
| e0fcc11875294523910ec2b074687a10 | RegionOne | nova         | compute       |
+----------------------------------+-----------+--------------+---------------+
[root@controller ~(keystone)]#

Thanks once again.

Thanks Eduardo for the reply. Please find below the output with debug option. Kindly let me know your finding on this .

[root@controller ~(keystone)]# openstack endpoint create --publicurl http://$controller:9696 --adminurl http://$controller:9696 --internalurl http://$controller:9696 --region RegionOne network debug
usage: openstack endpoint create [-h] [-f {shell,table,value}] [-c COLUMN]
                                 [--max-width <integer>] [--prefix PREFIX]
                                 --publicurl <url> [--adminurl <url>]
                                 [--internalurl <url>] [--region <region-id>]
                                 <service>
openstack endpoint create: error: unrecognized arguments: debug
[root@controller ~(keystone)]# openstack endpoint create --publicurl http://$controller:9696 --adminurl http://$controller:9696 --internalurl http://$controller:9696 --region RegionOne network --debug
DEBUG: cliff.commandmanager found command 'hypervisor_stats_show'
DEBUG: cliff.commandmanager found command 'security_group_create'
DEBUG: cliff.commandmanager found command 'security_group_rule_list'
DEBUG: cliff.commandmanager found command 'ip_floating_add'
DEBUG: cliff.commandmanager found command 'keypair_list'
DEBUG: cliff.commandmanager found command 'flavor_unset'
DEBUG: cliff.commandmanager found command 'host_show'
DEBUG: cliff.commandmanager found command 'host_list'
DEBUG: cliff.commandmanager found command 'hypervisor_show'
DEBUG: cliff.commandmanager found command 'server_pause'
DEBUG: cliff.commandmanager found command 'server_reboot'
DEBUG: cliff.commandmanager found command 'server_migrate'
DEBUG: cliff.commandmanager found command 'server_set'
DEBUG: cliff.commandmanager found command 'server_add_security_group'
DEBUG: cliff.commandmanager found command 'server_unrescue'
DEBUG: cliff.commandmanager found command 'usage_list'
DEBUG: cliff.commandmanager found command 'keypair_show'
DEBUG: cliff.commandmanager found command 'security_group_set'
DEBUG: cliff.commandmanager found command 'compute_agent_create'
DEBUG: cliff.commandmanager found command 'server_rescue'
DEBUG: cliff.commandmanager found command 'console_log_show'
DEBUG: cliff.commandmanager found command 'compute_agent_delete'
DEBUG: cliff.commandmanager found command 'server_ssh'
DEBUG: cliff.commandmanager found command 'server_lock'
DEBUG: cliff.commandmanager found command 'server_unset'
DEBUG: cliff.commandmanager found command 'server_show'
DEBUG: cliff.commandmanager found command 'server_suspend'
DEBUG: cliff.commandmanager found command 'server_add_volume'
DEBUG: cliff.commandmanager found command 'server_image_create'
DEBUG: cliff.commandmanager found command 'flavor_list'
DEBUG: cliff.commandmanager found command 'server_remove_volume'
DEBUG: cliff.commandmanager found command 'compute_agent_set'
DEBUG: cliff.commandmanager found command 'aggregate_add_host'
DEBUG: cliff.commandmanager found command 'aggregate_remove_host'
DEBUG: cliff.commandmanager found command 'compute_service_set'
DEBUG: cliff.commandmanager found command 'aggregate_create'
DEBUG: cliff.commandmanager found command 'keypair_create'
DEBUG: cliff.commandmanager found command 'ip_floating_list'
DEBUG: cliff.commandmanager found command 'aggregate_delete'
DEBUG: cliff.commandmanager found command 'flavor_set'
DEBUG: cliff.commandmanager found command 'security_group_rule_create'
DEBUG: cliff.commandmanager found command 'security_group_delete'
DEBUG: cliff.commandmanager found command 'server_rebuild'
DEBUG: cliff.commandmanager found command 'flavor_delete'
DEBUG: cliff ...
(more)
2015-09-02 06:53:21 -0500 commented question not able to connect instance neutron networking enabled

Hi, I have already enabled the security group for ping and ssh.

[[root@controller ~(keystone)]# neutron security-group-rule-list  |grep 22
| 0529548f-dc01-4904-a470-19615bee7982 | default        | ingress   | IPv4      | 22/tcp        | 0.0.0.0/0 (CIDR) |
[root@controller ~(keystone)]# neutron secu
2015-09-02 05:29:22 -0500 asked a question not able to connect instance neutron networking enabled

Hi All,

I have enabled the neutron networking and able to boot the instance , also the instance is getting the ip address automatically. But i am not able to ping and ssh it . Below is the rules and configuration i have made for it. So please suggest what i have to do to allow the networking work for the instance.

Please let me know if more info required.

[root@controller ~(keystone)]# nova list
+--------------------------------------+-------+--------+------------+-------------+------------------------------------+
| ID                                   | Name  | Status | Task State | Power State | Networks                           |
+--------------------------------------+-------+--------+------------+-------------+------------------------------------+
| 848ecad0-da0b-474f-bf71-379e2797c8bf | cloud | ACTIVE | -          | Running     | int_net=192.168.100.3, 172.0.0.102 |
+--------------------------------------+-------+--------+------------+-------------+------------------------------------+
[root@controller ~(keystone)]#


[root@controller ~(keystone)]# neutron net-list
+--------------------------------------+---------+-------------------------------------------------------+
| id                                   | name    | subnets                                               |
+--------------------------------------+---------+-------------------------------------------------------+
| 101ac2f6-99c8-41c2-8788-044ae0dbe789 | ext_net | f99c7984-5d66-4c5f-b17e-c4c9aec5ea4f 172.0.0.0/24     |
| 8a5b893e-7ea1-45cb-ae5f-aa0c8d7c33da | int_net | 24de6473-6984-471c-bdd7-477c9b02198b 192.168.100.0/24 |
+--------------------------------------+---------+-------------------------------------------------------+
[root@controller ~(keystone)]#

configuration setting

/etc/neutron/plugins/ml2/ml2_conf.ini
# near line 64: add
[ml2_type_vlan]
network_vlan_ranges = physnet1:1000:2999
# add to the end
[ovs]
tenant_network_type = vlan
bridge_mappings = physnet1:br-eth1


[root@controller ~(keystone)]# cat /etc/sysconfig/network-scripts/ifcfg-eth1
HWADDR=08:00:27:60:0a:72
DEVICE=eth1
TYPE=Ethernet
ONBOOT=yes
PROMISC=yes
BRIDGE=br-eth1
[root@controller ~(keystone)]# cat /etc/sysconfig/network-scripts/ifcfg-eth2
HWADDR=08:00:27:03:20:36
DEVICE=eth2
TYPE=Ethernet
ONBOOT=yes
PROMISC=yes
BRIDGE=br-ext
[root@controller ~(keystone)]# cat /etc/sysconfig/network-scripts/ifcfg-br-ext
DEVICE=br-ext
TYPE=Bridge
BOOTPROTO=dhcp
#BOOTPROTO=static
#IPADDR=10.0.0.65
#NETMASK=255.255.255.0
ONBOOT=yes
[root@controller ~(keystone)]# cat /etc/sysconfig/network-scripts/ifcfg-br-eth1
DEVICE=br-eth1
TYPE=Bridge
BOOTPROTO=dhcp
#BOOTPROTO=static
#IPADDR=192.168.100.45
#NETMASK=255.255.255.0
ONBOOT=yes
[root@controller ~(keystone)]#

[root@controller ~(keystone)]# ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet 169.254.169.254/32 scope link lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
    link/ether 08:00:27:0d:97:ec brd ff:ff:ff:ff:ff:ff
    inet 10.11.138.75/24 brd 10.11.138.255 scope global dynamic eth0
       valid_lft 863428sec preferred_lft 863428sec
    inet 10.0.0.249/32 scope global eth0
       valid_lft forever preferred_lft forever
    inet 10.0.0.250/32 scope global eth0
       valid_lft forever preferred_lft forever
    inet 10.0.0.251/32 scope global eth0
       valid_lft forever preferred_lft forever
    inet 10.0.0.252/32 scope global eth0
       valid_lft forever preferred_lft forever
    inet6 fe80::a00:27ff:fe0d:97ec/64 scope link
       valid_lft forever preferred_lft forever
3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master ovs-system state UP qlen 1000
    link/ether 08:00:27:60:0a:72 brd ff:ff:ff:ff:ff:ff
4: eth2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master ovs-system state UP qlen 1000
    link/ether 08:00:27:03:20:36 brd ff:ff:ff:ff:ff ...
(more)
2015-09-02 05:03:25 -0500 received badge  Notable Question (source)
2015-09-02 02:20:00 -0500 received badge  Popular Question (source)
2015-09-02 00:40:01 -0500 commented question Unable to create instances

Hi ,

I am getting same error even the neutron net-list is showing the network in the output, so help me.

[root@controller nova(keystone)]# nova boot --flavor 1 --image cirros --security_group default --nic net-id=33f99e42-1497-4aea-86e4-a663698bfba5 cirros ERROR (NotFound): The resource could

2015-09-01 08:17:48 -0500 received badge  Notable Question (source)
2015-09-01 07:53:41 -0500 edited answer openstack keystone endpoint create error kilo

Thanks Eduardo for the reply. Please find below the output with debug option. Kindly let me know your finding on this .

This means that you probably created various network services, check it out with openstack service list, now you can delete one of the network services you are not using with openstack service delete <service_id>

Now you can create the endpoint, also if you don't want to delete any of the services, can create the endpoint using <service_id> instead of network in the command.

2015-09-01 07:52:32 -0500 received badge  Famous Question (source)
2015-09-01 06:47:07 -0500 asked a question nova boot instance failing
 [root@controller ~(keystone)]# nova boot --flavor 1 --image cirros --security_group default --nic net-id=2f4e1e1e-fae9-44fd-8c2d-86e564e9d523  cirros
ERROR (NotFound): The resource could not be found. (HTTP 404) (Request-ID: req-a4fec5a4-5834-4517-8c8c-00aa18d2b666)
[root@controller ~(keystone)]#

[root@controller ~(keystone)]# nova net-list
+--------------------------------------+-----------+-------------+
| ID                                   | Label     | CIDR        |
+--------------------------------------+-----------+-------------+
| ea204113-2046-47a3-a11b-2ba514ee7a1f | network01 | 10.1.0.0/24 |
+--------------------------------------+-----------+-------------+
[root@controller ~(keystone)]# neutron  net-list
+--------------------------------------+------------+-------------------------------------------------------+
| id                                   | name       | subnets                                               |
+--------------------------------------+------------+-------------------------------------------------------+
| cd8a8f69-96e1-40d4-b609-4cdaf4d8c665 | sharednet1 | 9a383b00-5f30-42aa-abe1-8e36c076d73a 10.0.0.0/24      |
| 2f4e1e1e-fae9-44fd-8c2d-86e564e9d523 | int_net    | 046621da-79d0-4b23-bd89-add4f8a19bbc 192.168.100.0/24 |
| d93175a1-d5ca-4f53-ab31-833e8127ccd8 | new_net    | e039824b-08f0-4fee-8ffa-99cc4e98b07c 172.168.100.0/24 |
| 8184320e-e23f-4ffd-b83a-fac1173b0c9a | ext_net    | e31bfab1-643b-4c5b-94f6-c605f7710919 10.0.0.0/24      |
+--------------------------------------+------------+-------------------------------------------------------+


 2015-08-31 13:56:53.151 19298 TRACE nova.api.openstack
2015-08-31 13:56:53.151 19298 TRACE nova.api.openstack NoNetworksFound: No networks defined.
2015-08-31 13:56:53.151 19298 TRACE nova.api.openstack
2015-08-31 13:56:53.151 19298 TRACE nova.api.openstack Traceback (most recent call last):
2015-08-31 13:56:53.151 19298 TRACE nova.api.openstack
2015-08-31 13:56:53.151 19298 TRACE nova.api.openstack   File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/dispatcher.py", line 142, in _dispatch_and_reply
2015-08-31 13:56:53.151 19298 TRACE nova.api.openstack     executor_callback))
2015-08-31 13:56:53.151 19298 TRACE nova.api.openstack
2015-08-31 13:56:53.151 19298 TRACE nova.api.openstack   File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/dispatcher.py", line 186, in _dispatch
2015-08-31 13:56:53.151 19298 TRACE nova.api.openstack     executor_callback)
2015-09-01 05:23:47 -0500 received badge  Popular Question (source)
2015-09-01 04:47:43 -0500 commented question not able to boot instance with internal network

[root@controller ~(keystone)]# neutron net-list |grep int_net | 9c991223-5e42-4d61-8c85-11c2a1faafc2 | int_net | b0451f28-f149-4c02-a798-47e0d56fd47b 192.168.100.0/24 | [root@controller ~(keystone)]#

2015-09-01 04:47:16 -0500 commented question not able to boot instance with internal network

Still the same error with neutron network list . [root@controller ~(keystone)]# nova boot --flavor 1 --image cirros --security_group default --nic net-id=9c991223-5e42-4d61-8c85-11c2a1faafc2 Cirros ERROR (NotFound): The resource could not be found. (H [root@controller ~(keystone)]# neutron net-list

2015-09-01 04:03:42 -0500 commented question not able to boot instance with internal network

Hi dbaxps,

Still the same error after i changed the int_net to shared.

[root@controller ~(keystone)]# nova boot --flavor 1 --image cirros --security_group default --nic net-id=9c991223-5e42-4d61-8c85-11c2a1faafc2 Cirros ERROR (NotFound): The resource could not be found. (HTTP 404) (Request-ID: re

2015-09-01 01:09:58 -0500 commented question not able to boot instance with internal network

Hi dbaxps,

Please find below the link for the files which i have uploaded on textuploader website. Kindly review and suggest the solution.

http://textuploader.com/al2t5!

http://textuploader.com/al2t9!

http://textuploader.com/al2t4!

Thanks

2015-08-31 10:12:57 -0500 commented question not able to boot instance with internal network

Hi dbaxps,

Please confirm how i can upload the logs files as there is no option to upload them.

Thanks

2015-08-31 08:15:21 -0500 received badge  Popular Question (source)
2015-08-31 08:04:58 -0500 asked a question not able to boot instance with internal network

Hi ,

I am not able to boot the instance and getting the below error when trying to boot it with the internal network which i created with neutron command but able to boot the instance with nova network so please confirm how to fix this error of booting from neutron created network.

[root@controller ~(keystone)]# nova boot --flavor 1 --image cirros --security_group default --nic net-id=2f4e1e1e-fae9-44fd-8c2d-86e564e9d523  cirros
ERROR (NotFound): The resource could not be found. (HTTP 404) (Request-ID: req-a4fec5a4-5834-4517-8c8c-00aa18d2b666)
[root@controller ~(keystone)]#

[root@controller ~(keystone)]# nova net-list
+--------------------------------------+-----------+-------------+
| ID                                   | Label     | CIDR        |
+--------------------------------------+-----------+-------------+
| ea204113-2046-47a3-a11b-2ba514ee7a1f | network01 | 10.1.0.0/24 |
+--------------------------------------+-----------+-------------+
[root@controller ~(keystone)]# neutron  net-list
+--------------------------------------+------------+-------------------------------------------------------+
| id                                   | name       | subnets                                               |
+--------------------------------------+------------+-------------------------------------------------------+
| cd8a8f69-96e1-40d4-b609-4cdaf4d8c665 | sharednet1 | 9a383b00-5f30-42aa-abe1-8e36c076d73a 10.0.0.0/24      |
| 2f4e1e1e-fae9-44fd-8c2d-86e564e9d523 | int_net    | 046621da-79d0-4b23-bd89-add4f8a19bbc 192.168.100.0/24 |
| d93175a1-d5ca-4f53-ab31-833e8127ccd8 | new_net    | e039824b-08f0-4fee-8ffa-99cc4e98b07c 172.168.100.0/24 |
| 8184320e-e23f-4ffd-b83a-fac1173b0c9a | ext_net    | e31bfab1-643b-4c5b-94f6-c605f7710919 10.0.0.0/24      |
+--------------------------------------+------------+-------------------------------------------------------+


 2015-08-31 13:56:53.151 19298 TRACE nova.api.openstack
2015-08-31 13:56:53.151 19298 TRACE nova.api.openstack NoNetworksFound: No networks defined.
2015-08-31 13:56:53.151 19298 TRACE nova.api.openstack
2015-08-31 13:56:53.151 19298 TRACE nova.api.openstack Traceback (most recent call last):
2015-08-31 13:56:53.151 19298 TRACE nova.api.openstack
2015-08-31 13:56:53.151 19298 TRACE nova.api.openstack   File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/dispatcher.py", line 142, in _dispatch_and_reply
2015-08-31 13:56:53.151 19298 TRACE nova.api.openstack     executor_callback))
2015-08-31 13:56:53.151 19298 TRACE nova.api.openstack
2015-08-31 13:56:53.151 19298 TRACE nova.api.openstack   File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/dispatcher.py", line 186, in _dispatch
2015-08-31 13:56:53.151 19298 TRACE nova.api.openstack     executor_callback)
2015-08-28 09:44:23 -0500 asked a question not able to start mongd service

Hi All,

First of all thanks in advance.

I am not able to start the mongod service and getting below error . So please suggest what i have to do to make it working.

[root@controller mongodb(keystone)]# systemctl start mongod
Job for mongod.service failed. See 'systemctl status mongod.service' and 'journalctl -xn' for details.
[root@controller mongodb(keystone)]# systemctl status mongod.service
mongod.service - High-performance, schema-free document-oriented database
   Loaded: loaded (/usr/lib/systemd/system/mongod.service; enabled)
   Active: failed (Result: exit-code) since Fri 2015-08-28 14:29:11 EDT; 5s ago
  Process: 5724 ExecStart=/usr/bin/mongod $OPTIONS run (code=exited, status=2)

Aug 28 14:29:11 controller mongod[5724]: Error reading config file: No such file or directory
Aug 28 14:29:11 controller mongod[5724]: try '/usr/bin/mongod --help' for more information
Aug 28 14:29:11 controller systemd[1]: mongod.service: control process exited, code=exited status=2
Aug 28 14:29:11 controller systemd[1]: Failed to start High-performance, schema-free document-oriented database.
Aug 28 14:29:11 controller systemd[1]: Unit mongod.service entered failed state.
[root@controller mongodb(keystone)]#

Following is the configuration setting i have made for mongod.

[root@network ~]# yum --enablerepo=epel -y install mongodb-server mongodb
[2] Configure and Start MongoDB.
[root@network ~]# vi /etc/sysconfig/mongod
# add
OPTIONS="--smallfiles --quiet -f /etc/mongodb.conf"
[root@network ~]# vi /etc/mongod.conf
# line 6: change to the own IP
bind_ip = 10.0.0.50
[root@network ~]# systemctl start mongod 
[root@network ~]# systemctl enable mongod

Thanks