Ask Your Question

star5's profile - activity

2020-06-21 15:37:12 -0500 received badge  Famous Question (source)
2020-06-18 11:17:32 -0500 received badge  Notable Question (source)
2020-06-18 08:08:35 -0500 commented answer VM instance cannot be pinged or SSH

I used the console to login to ubuntu and then change the IP of ens3 in the VM to match that of the IP provided and I am able to ping. But had no internet connection so had to add the gateway manually. But I can't see any bridge interface created on the controller.

2020-06-18 04:10:38 -0500 answered a question VM instance cannot be pinged or SSH

UPDATE 2: I saw some issues within the console.log of both instances. In the new VM the allocated IP and the console.log IP doesn't match.

Old VM working (ping and SSH) : IP : 192.168.20.107 Console.log:

> [[0;32m  OK  [0m] Started Wait for Network to be Configured.
         Starting Initial cloud-init job (metadata service crawler)...
[   23.465958] cloud-init[974]: Cloud-init v. 19.3-41-gc4735dd3-0ubuntu1~18.04.1 running 'init' at Thu, 18 Jun 2020 08:37:25 +0000. Up 23.26 seconds.
[   23.468715] cloud-init[974]: ci-info: +++++++++++++++++++++++++++++++++++++++Net device info+++++++++++++++++++++++++++++++++++++++
[   23.471014] cloud-init[974]: ci-info: +--------+------+------------------------------+---------------+--------+-------------------+
[   23.473189] cloud-init[974]: ci-info: | Device |  Up  |           Address            |      Mask     | Scope  |     Hw-Address    |
[   23.475444] cloud-init[974]: ci-info: +--------+------+------------------------------+---------------+--------+-------------------+
[   23.477741] cloud-init[974]: ci-info: |  ens3  | True |        **192.168.20.107**        | 255.255.255.0 | global | fa:16:3e:21:1c:ce |
[   23.479997] cloud-init[974]: ci-info: |  ens3  | True | fe80::f816:3eff:fe21:1cce/64 |       .       |  link  | fa:16:3e:21:1c:ce |
[   23.482230] cloud-init[974]: ci-info: |   lo   | True |          127.0.0.1           |   255.0.0.0   |  host  |         .         |
[   23.484520] cloud-init[974]: ci-info: |   lo   | True |           ::1/128            |       .       |  host  |         .         |
[   23.486847] cloud-init[974]: ci-info: +--------+------+------------------------------+---------------+--------+-------------------+
[   23.489042] cloud-init[974]: ci-info: +++++++++++++++++++++++++++++++++Route IPv4 info++++++++++++++++++++++++++++++++++
[   23.491028] cloud-init[974]: ci-info: +-------+-----------------+----------------+-----------------+-----------+-------+
[   23.493062] cloud-init[974]: ci-info: | Route |   Destination   |    Gateway     |     Genmask     | Interface | Flags |
[   23.495053] cloud-init[974]: ci-info: +-------+-----------------+----------------+-----------------+-----------+-------+
[   23.497220] cloud-init[974]: ci-info: |   0   |     0.0.0.0     |  192.168.20.1  |     0.0.0.0     |    ens3   |   UG  |
[   23.499747] cloud-init[974]: ci-info: |   1   | 169.254.169.254 | 192.168.20.100 | 255.255.255.255 |    ens3   |  UGH  |
[   23.501819] cloud-init[974]: ci-info: |   2   |   192.168.20.0  |    0.0.0.0     |  255.255.255.0  |    ens3   |   U   |
[   23.503832] cloud-init[974]: ci-info: |   3   |   192.168.20.0  |  192.168.20.1  |  255.255.255.0  |    ens3   |   UG  |
[   23.505875] cloud-init[974]: ci-info: +-------+-----------------+----------------+-----------------+-----------+-------+
[   23.507947] cloud-init[974]: ci-info: +++++++++++++++++++Route IPv6 info+++++++++++++++++++
[   23.509594] cloud-init[974]: ci-info: +-------+-------------+---------+-----------+-------+
[   23.511226] cloud-init[974]: ci-info: | Route | Destination | Gateway | Interface | Flags |
[   23.512822] cloud-init[974]: ci-info: +-------+-------------+---------+-----------+-------+
[   23.514446] cloud-init[974]: ci-info: |   1   |  fe80::/64  |    ::   |    ens3   |   U   |
[   23.516046] cloud-init[974]: ci-info: |   3   |    local    |    ::   |    ens3   |   U   |
[   23.517665] cloud-init[974]: ci-info: |   4   |   ff00::/8  |    ::   |    ens3   |   U   |
[   23.519311] cloud-init[974]: ci-info: +-------+-------------+---------+-----------+-------+
[[0;32m  OK  [0m] Started Initial cloud-init job (metadata service crawler).
[[0;32m  OK  [0m] Reached target System Initialization.
[[0;32m  OK  [0m] Started ACPI Events Check.
[[0;32m  OK  [0m] Started Daily Cleanup of Temporary Directories.

2)New VM: IP Address: 192.168.20.109

>        Starting Initial cloud-init job (metadata service crawler)...
[   35.460465] cloud-init[781]: Cloud-init v. 18.4-0ubuntu1~18.04.1 running 'init' at Thu, 18 Jun 2020 08:43:40 +0000. Up 22.30 seconds.
[   35.466694] cloud-init[781]: ci-info: +++++++++++++++++++++++++++++++++++++++Net device info+++++++++++++++++++++++++++++++++++++++
[   35.469793] cloud-init[781]: ci-info: +--------+------+------------------------------+---------------+--------+-------------------+
[   35.471926] cloud-init[781]: ci-info: | Device |  Up  |           Address            |      Mask     | Scope  |     Hw-Address    |
[   35.474050] cloud-init[781]: ci-info: +--------+------+------------------------------+---------------+--------+-------------------+
[   35.476172] cloud-init[781]: ci-info: |  ens3  | True |        192.168.20.170        | 255.255.255.0 | global | fa:16:3e:90:6b:8c |
[   35.478309] cloud-init[781]: ci-info: |  ens3  | True ...
(more)
2020-06-18 03:50:40 -0500 commented question VM instance cannot be pinged or SSH

No I don't have any external dhcp server for provider network. My setup has 1 controller and 2 compute nodes. RabbitMQ is installed on controller.

2020-06-18 00:37:14 -0500 received badge  Popular Question (source)
2020-06-17 12:30:00 -0500 commented question VM instance cannot be pinged or SSH

The current setup is using DHCP I assume: https://imgur.com/0zTswHZ The ports are also created: https://imgur.com/vr8ry3A instance creation : openstack server create --flavor mi.large --image ubuntuServer --nic net-id=111fd1bd-b3bb-4085-8022-d1354c7d016f --security-group default --key-name n1 n1

2020-06-17 10:07:48 -0500 asked a question VM instance cannot be pinged or SSH

I have used a provider network based on the tutorial setup for Rocky Installation. I have 2 VMs fully working where I can ping them and also SSH into them using the keypair.

When I try creating my third VM, the instance gets an IP but I am unable to ping. When I keep on deleting an creating new instances, sometimes I am able to ping the new instance but still unable to ssh. I get connection refused error.

When I looked into the IPtables of the compute node I see that the new entries are not added when I create an instance. If it gets added I am able to ping the VM but still cannot SSH.

The current setup is using DHCP I assume: https://imgur.com/0zTswHZ The ports are also created: https://imgur.com/vr8ry3A instance creation : openstack server create --flavor mi.large --image ubuntuServer --nic net-id=111fd1bd-b3bb-4085-8022-d1354c7d016f --security-group default --key-name n1 n1

Could anyone please provide an idea as to what is happening? Update: I am still able to create the instance without any error. But when I checked the logs I found it had 2 errors:

  1. amqp server not reachable controller:5672 error. So I created a new openstack rabbitmq user, updated all the config files to use the new user and then this error disappeared.
  2. The second error in the compute log was:

2020-06-18 12:43:22.762 1364 ERROR nova.compute.manager [req-25b3f5d8-2831-4070-a08f-e101b6dc5a2e - - - - -] Error updating resources for node compute2.: DiskNotFound: No disk at /var/lib/nova/instances/4c9c7d22-b0c0-4342-9b02-d9956923065f/disk 2020-06-18 12:43:22.762 1364 ERROR nova.compute.manager Traceback (most recent call last): 2020-06-18 12:43:22.762 1364 ERROR nova.compute.manager File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 7736, in _update_available_resource_for_node 2020-06-18 12:43:22.762 1364 ERROR nova.compute.manager rt.update_available_resource(context, nodename) 2020-06-18 12:43:22.762 1364 ERROR nova.compute.manager File "/usr/lib/python2.7/dist-packages/nova/compute/resource_tracker.py", line 708, in update_available_resource 2020-06-18 12:43:22.762 1364 ERROR nova.compute.manager resources = self.driver.get_available_resource(nodename) 2020-06-18 12:43:22.762 1364 ERROR nova.compute.manager File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 6540, in get_available_resource 2020-06-18 12:43:22.762 1364 ERROR nova.compute.manager disk_over_committed = self._get_disk_over_committed_size_total() 2020-06-18 12:43:22.762 1364 ERROR nova.compute.manager File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 8162, in _get_disk_over_committed_size_total 2020-06-18 12:43:22.762 1364 ERROR nova.compute.manager err_ctxt.reraise = False 2020-06-18 12:43:22.762 1364 ERROR nova.compute.manager File "/usr/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 220, in __exit__ 2020-06-18 12:43:22.762 1364 ERROR nova.compute.manager self.force_reraise() 2020-06-18 12:43:22.762 1364 ERROR nova.compute.manager File "/usr/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 196, in force_reraise 2020-06-18 12:43:22.762 1364 ERROR nova.compute.manager six.reraise(self.type_, self.value, self ... (more)

2019-11-27 03:27:03 -0500 received badge  Popular Question (source)
2019-11-27 03:27:03 -0500 received badge  Notable Question (source)
2019-06-14 11:54:18 -0500 commented question What activities create queues in RabbitMQ of openstack?

@Bernd Bausch: I have actually read the link you posted up and down. And that is the basis of my understanding. However, I couldn't find any documentation which explains the sort of activities that triggers the usage of RabbitMQ exchanges, queues or connections.

2019-06-14 11:39:46 -0500 commented question What activities create queues in RabbitMQ of openstack?

I have been experimenting a lot with this. While the creation of an instance creates 1 exchange and 1 queue and 2 connection, it is never the same. I ran a script to keep creating instances until the resources exhaust. But it created few connections, exchanges and queues and then used the same.

2019-06-11 05:59:49 -0500 asked a question What activities create queues in RabbitMQ of openstack?

I have been trying to understand how RabbitMQ works and what creates exchanges and queues in RabbitMQ? I have gone through the openstack documentation and only an abstract info is provided.

Could anyone point me in the direction of what creates exchanges and queues in RabbitMQ openstack? For instance, creating an instance normally creates a queue. When u repeat the creation of another instance, the previous queue that was created was being used. I was able to monitor this through enabling the management plugin of RabbitMQ and having access to the web management panel.

2019-06-11 04:49:59 -0500 received badge  Notable Question (source)
2019-06-11 04:49:59 -0500 received badge  Popular Question (source)
2019-04-17 00:35:05 -0500 received badge  Famous Question (source)
2019-03-25 04:05:04 -0500 asked a question Rabbitmq message queue

What activities generally create the message in the queue for RabbitMQ? I have enables the management plugin to keep a tab on rabbitmq. Does activating TCP connections to a client create a message as well?

2019-02-20 07:53:55 -0500 received badge  Notable Question (source)
2019-01-10 05:46:14 -0500 received badge  Famous Question (source)
2018-12-03 23:31:06 -0500 commented question Neutron error while launching instance (rocky - ubuntu 18)

@Bernd Bausch : Any take on the issue ?

2018-12-03 02:49:45 -0500 received badge  Notable Question (source)
2018-12-02 21:36:12 -0500 received badge  Popular Question (source)
2018-12-01 06:51:59 -0500 asked a question Neutron error while launching instance (rocky - ubuntu 18)

I am having issues setting up neutron.

Infrastructure details:

Operating System : Ubuntu 18.04.1 LTS

1 x controller and 1 x compute

Openstack installation : Rocky

Guide following:https://docs.openstack.org/install-guide/ (https://docs.openstack.org/install-gu...)

Each node has 2 NICs:-

NIC 1 (eth0) - https://imgur.com/a/7QbcU1E (gateway: 192.168.0.1)

NIC 2 (eth1) (Has internet connection) - https://imgur.com/a/tyddrjA (gateway: 192.168.10.1)

ifconfig output - https://imgur.com/a/tyddrjA

Openstack network : https://docs.openstack.org/install-guide/overview.html#networking-option-2-self-service-networks (https://docs.openstack.org/install-gu...) (Option2: Self-Service Network)

I have followed the instructions to the exact thing in the documentation few times.

Error while launching a new instance:

Error: Failed to perform requested operation on instance "node11", the instance has an error status: Please try again later [Error: Build of instance bb5703a2-2bfe-42a9-9e69-7bb1a8e8cfd5 aborted: Failed to allocate the network(s), not rescheduling.].

Configs files of controller:

neutron config: https://pastebin.com/s616S5aT

/etc/neutron/plugins/ml2/linuxbridge_agent.ini : https://pastebin.com/brrcDazy

/etc/neutron/plugins/ml2/ml2_conf.ini : https://pastebin.com/CbtV4iJn

/etc/neutron/l3_agent.ini : https://pastebin.com/NFm0zkRT

Logs of controller:

Neutron server log: https://pastebin.com/kRdhwGU5

Linuxbridge Agent log : https://pastebin.com/8NApWgYn

Logs of compute node:

nova-compute.log : https://pastebin.com/em3epqpx

neutron-linuxbridge-agent.log: https://pastebin.com/krYMmhKn

2018-12-01 06:49:00 -0500 commented question Instance launch error.

Closing this one, based on your inputs, I have started openstack installation from scratch and stuck at neutron config. I have created a new question with latest details of the configuration.

2018-12-01 06:48:05 -0500 received badge  Famous Question (source)
2018-11-29 01:07:51 -0500 commented answer Instance launch error.

Should I be creating a bridge between the NICs before setting up neutron on the controller and compute. I am trying a fresh install again.

2018-11-29 01:07:51 -0500 received badge  Commentator
2018-11-29 01:06:34 -0500 received badge  Enthusiast
2018-11-28 10:21:34 -0500 commented answer Instance launch error.

What I am trying to do is to get two clouds setup and their instances communicate with each other. I don't know what network type should I setup: Networking option 1 or networking option 2 mentioned here (https://docs.openstack.org/install-guide/overview.html (https://docs.openstack.org/install-gu...)) ??

2018-11-28 10:19:30 -0500 commented answer Instance launch error.

In this explanation: https://docs.openstack.org/neutron/rocky/install/controller-install-option1-ubuntu.html (https://docs.openstack.org/neutron/ro...) The linux bridge is supposed to be :physical_interface_mappings = provider:PROVIDER_INTERFACE_NAME . And according to my setup management interface = eth0 and provider interface = eth1.

2018-11-27 06:15:37 -0500 commented answer Instance launch error.

1) None of these ports are listed in the response. But I have created all the services and their endpoints and I can access all of them on the browser.

2) Yes I have enough resources.

3) My hardware does support virtualization. But nonetheless I have kept virt_type to qemu.

2018-11-27 06:12:26 -0500 commented question Instance launch error.

@Bernd Bausch: Updated the post with details and all info about the network.

2018-11-27 04:34:37 -0500 received badge  Notable Question (source)
2018-11-26 11:11:06 -0500 commented question Instance launch error.

Thanks @Bernd Bausch: Yes I did update the original post, but I suppose it is awaiting moderation. This is the logs from neutron :https://pastebin.com/EY4tTRhJ

2018-11-26 10:56:44 -0500 received badge  Popular Question (source)
2018-11-26 10:17:31 -0500 commented question Instance launch error.

I have checked the config logs in the controller and compute nodes for nova and it is perfect.

2018-11-26 10:17:31 -0500 edited question Instance launch error.

Setup Information: 1xController (name: controllerstack) 2xCompute nodes. (name: computestack, computestack2)

Network setup : NIC 1 (eth0) - 192.168.0.0/24 Network setup : NIC 2 (eth1) - 192.168.10.0/24 (has internet connection)

Setup guide being followed: Openstack Rocky Installation guide (https://docs.openstack.org/install-guide/ (https://docs.openstack.org/install-gu...)) Neutron Setup: Networking Option 1: Provider networks - https://docs.openstack.org/neutron/rocky/install/controller-install-option1-ubuntu.html (https://docs.openstack.org/neutron/ro...)

I am trying to create an instance from horizon on the controller and I get the following error

Error: Failed to perform requested operation on instance "c3", the instance has an error status: Please try again later [Error: Exceeded maximum number of retries. Exhausted all hosts available for retrying build failures for instance 05d7247e-c157-4744-82ba-8a73c5cb42ae.].

Logs on controller: nova-api.log : https://pastebin.com/CiYD3Pez apache2 error.log : https://pastebin.com/Fck0C0kt

Logs from compute: Nova-compute.log : https://pastebin.com/Www7vHcr

I haven't gone through the logs in each compute nodes. Any input would be valuable.

UPDATE:

Network created on openstack : https://imgur.com/a/6KcTgXL

SubNet: https://imgur.com/a/5ANATGP

neutron-server.log (updated): https://pastebin.com/EY4tTRhJ

response of ifconfig on controller: https://imgur.com/a/qDGHhda Note: eth0 is all connected to a switch. eth1 is connected to another switch with Internet connection.

ml2_conf.ini (controller): https://pastebin.com/gik8c5G2

linuxbridge_agent.ini (controller): https://pastebin.com/QRCDtJ97

ml2_conf.ini (compute node1): https://pastebin.com/tfXybJpu

linuxbride_agent.ini (compute node1): https://pastebin.com/Xqxf2EwY

2018-11-26 10:17:31 -0500 commented question Instance launch error.

I have added the nova compute log from one of the compute nodes. I can see a neutron error in there. Is that the problem?