Ask Your Question

Patrick MAMIA's profile - activity

2020-02-11 08:40:46 -0600 received badge  Famous Question (source)
2020-02-11 08:40:46 -0600 received badge  Notable Question (source)
2020-02-11 08:40:46 -0600 received badge  Popular Question (source)
2019-08-20 10:33:36 -0600 received badge  Famous Question (source)
2019-06-14 13:17:55 -0600 received badge  Famous Question (source)
2019-06-12 14:13:17 -0600 received badge  Popular Question (source)
2019-05-24 18:42:36 -0600 commented question Error unicode encoder ascii with cinder when trying to launch an instance

To retrive ur uuid you can doxe sr-list and copy the uuid of your nfs iso storage. Now i'm facing another issues to launch the instances 'XENAPI_PLUGIN_FAILURE', 'network_config', 'PluginError', 'add bridge failed: Package not installed If someone can help ... and about that cinder ascii bug.thk

2019-05-24 18:42:36 -0600 commented question Error unicode encoder ascii with cinder when trying to launch an instance

Hello for now i do not fix the issues about attaching volume. For the second one i find that even if got a SR NFS ISO on xenserver i need to update one setting to other-config:i18n-key=local-storage-iso and you can do that with xe sr-param-set uuid=*UUID* other-config:i18n-key=local-storage-iso

2019-05-23 21:00:54 -0600 asked a question Error unicode encoder ascii with cinder when trying to launch an instance

Hello My env is

  1. 3 nodes (controller, network, compute)
  2. the hypervisor is xenserver
  3. cinder is installed on controller node
  4. my cinder my configuration for backend is [lvm] volume_backend_name=lvm volume_driver=cinder.volume.drivers.lvm.LVMVolumeDriver iscsi_ip_address=controller iscsi_protocol=iscsi iscsi_helper=lioadm volume_group=cinder-volumes volumes_dir=/var/lib/cinder/volumes

i try to lauchn instances and get error at block device mapping step. When i look at the volume log of cinder i get

sudo cinder-rootwrap /etc/cinder/rootwrap.conf cinder-rtstool create /dev/cinder-volumes/volume-1fd8e239-7cf7-4607-9213-ca7d1c5831b3 iqn.2010-10.org.openstack:volume-1fd8e239-7cf7-4607-9213-ca7d1c5831b3 fNuAoqyQGh6dFiBYRKTn aSRMHhkRUDzds5iG False -p3260 -acontroller

> ERROR cinder.volume.targets.lio Stderr: u'Traceback (most recent call last):\n File "/bin/cinder-rtstool", line 10, in <module>\n sys.exit(main())\n File "/usr/lib/python2.7/site-packages/cinder/cmd/rtstool.py", line 287, in main\n **optional_args)\n File "/usr/lib/python2.7/site-packages/cinder/cmd/rtstool.py", line 92, in create\n % {\'msg_type\': msg_type, \'port\': portals_port, \'ip\': ip})\nUnicodeEncodeError: \'ascii\' codec can\'t encode character u\'\\xe9\' in position 10: ordinal not in range(128)\n'

When i try to launch an instance qithout creating a volume i got this error on nova-compute.log

Cannot find SR of content-type ISO

But i do have a NFS ISO on my xenserver hypervisor

2019-05-13 06:23:18 -0600 commented question Exception no valid host when try launch an instance

Finally i don't know which disk have to get space (xenserver ou compute or controller). my cinder-volume is the controller for now and i have two computes nodes. @brucema or @Bernd Bausch any help? since xenserver has more than 300gb free, cinder volume 99gb and / 45gb but hypervisor stat show these

2019-05-13 04:05:52 -0600 received badge  Notable Question (source)
2019-05-10 18:15:53 -0600 commented question Exception no valid host when try launch an instance

| local_gb | 1016 | | local_gb_used | 0 | | memory_mb | 65444 | | memory_mb_used | 1024 | | running_vms | 0 | | vcpus | 80 | | vcpus_used | 0

2019-05-10 18:15:52 -0600 commented question Exception no valid host when try launch an instance

openstack hypervisor stats show +----------------------+-------+ | Field | Value | +----------------------+-------+ | count | 2 | | current_workload | 0 | | disk_available_least | -3544 | | free_disk_gb | 1016 | | free_ram_mb | 64420 |

2019-05-10 18:15:52 -0600 commented question Exception no valid host when try launch an instance

DEBUG nova.scheduler.filters.disk_filter - default default] (compute, xenserver2) ram: 32210MB disk: -1814528MB io_ops: 0 instances: 0 does not have 1024 MB usable disk, it only has -1814528.0 MB usable disk. host_passes

2019-05-09 15:09:16 -0600 answered a question Nova-compute does not show up in service list

Hello,

I faced the same issue, if it can help, take a look here

https://ask.openstack.org/en/question/121754/cannot-see-new-compute-node-in-nova-service-list/?answer=121885#post-id-121885 (Cannot see new compute node in nova service-list - Resolved)

2019-05-09 01:29:23 -0600 received badge  Popular Question (source)
2019-05-08 15:58:39 -0600 answered a question Ovs-vsctl show don't show br-tun between compute and network

finally i manually create the vxlan port on the tunnel bridgewith this command

 ovs-vsctl add-port br-tun vxlan-c0a80217 -- set interface vxlan-c0a80217 type=vxlan     options:remote_ip=[ip_of_network_node] options:local_ip=[ip_of_this_node] options:in_key=flow options:out_key=flow options:df_default=true
2019-05-08 15:58:39 -0600 answered a question Cannot see new compute node in nova service-list

Hello, I'm happy to tell you i partially find a solution.

First of all ensure yourself that in the /etc/nova/nova.conf of the new compute node you have

enabled_apis = osapi_compute,metadata

After this, you have to make sur that you modify all variable of nova server on your new compute node to point to controller node that have the API, OS-COMPUTE, METADATA,.. example for me i changed these values on the nova.conf of the new compute node

osapi_compute_listen=controller
xvpvncproxy_host=controller
api_servers=http://controller:9292

Make sure that you have a correct transport_url value and connection values for [placement_database], [database] and [api_database] with correct nova databases nova_placement, nova, nova_api.

After all of this i execute the command on the controller node

nova-manage cell_v2 discover_hosts  --cell_uuid [uuid_of_my_cell] --verbose

and the new compute node appears on the openstack compute service list.

i get the uuid of my cell with the command below

 nova-manage cell_v2 list_cells --verbose

Only one bug still remain on nova-computelog on the new compute node

ResourceProviderCreationFailed: Failed to create resource provider xenserver2

i imagine that's because my two compute nodes has the same resource provider for the moment and the first node compute already register xenserver2 as his hypervisor hostname.

2019-05-08 09:08:46 -0600 commented question Cannot see new compute node in nova service-list

@Bernd Bausch any help?

2019-05-07 06:10:22 -0600 commented question Exception no valid host when try launch an instance

hey @brucema i'm trying to build another compute since, i got some issues to make it discover by the controller node so when i success i try your suggestions. Thanks

2019-05-07 06:10:22 -0600 commented question Cannot see new compute node in nova service-list

that is what i got as result when i try nova-manage cell_v2 discover_hosts at controller Skipping cell0 since it does not contain hosts. Getting computes from cell 'default': xx Checking host mapping for compute host 'compute': xx Found 0 unmapped computes in

I'm trying to add 2nd compute

2019-05-07 06:10:22 -0600 commented question Cannot see new compute node in nova service-list

Also in nova-api-placement.log in controller node it seem to have communication between compute2 and controller because i saw 4 lines with the ip of compute2 nodes with status 200 so it seem that there is communication. nova-status upgrade check show me Cells V2: Success

2019-05-07 06:10:22 -0600 commented question Cannot see new compute node in nova service-list

@Bernd Bausch what i mean is that nova-compute service is active on compute2 node and but this service do not appear on nova service list at controller node. Nova-compute.log on compute node don not show any error even in debug mode. so finally these compute2 host do not appear in openstack

2019-05-07 05:57:13 -0600 received badge  Commentator
2019-05-07 05:09:38 -0600 received badge  Enthusiast
2019-05-06 16:52:28 -0600 commented question Cannot see new compute node in nova service-list

@Bernd Bausch in nova.api.openstack.placement on controller node, i saw 4 lines with the ip of compute2 nodes it seem that there is communication. There is some endpoint of /placement/resource_providers/ like /allocations, /inventories, /aggregates, /traits with status 200 no error on nova-compute

2019-05-06 00:10:52 -0600 asked a question Cannot see new compute node in nova service-list

Hello,

I setup a 3 nodes openstack installation (compute +controller + network). Everything seem to be ok with neutron agent-list and nova service-list. i create another node with hostname compute2 and setup evrything, it seem to be ok on this node because nova-compute is running, openvswitch-agent on this node is up and alive in the controller node but when i make su -s /bin/sh -c "nova-manage cell_v2 discover_hosts --verbose" nova it only show me this

Skipping cell0 since it does not contain hosts. Getting computes from cell 'default': 879d48ff-e984-43df-ac92-ffdf4e08fa01 Checking host mapping for compute host 'compute': 52061cc8-bd27-4659-aba4-be81eb5d8a0e Found 0 unmapped computes in cell: 879d48ff-e984-43df-ac92-ffdf4e08fa01

the compute2 is not listed in service list. I take a look in rabbitmq loq and i see the request from that node (it's ip) is received and accept. i look in other log file in controller node and i see the ip of that node like there is communication between the new compute2 node and the controller node but it still don't appear on nova service-list.

Could someone explain me what's wrong. I admit that i begin with openstack and i dont really understand how everything work, like these stuff of nova cell. Could you help me please?

Thanks

2019-05-04 03:53:47 -0600 commented question Rocky Nova compute service fail to start

Hello Do someone find a solution for that issues? I got the same problem since few days and try many solutions without success. I got 4 Nodes (controller + network + 2 computes).

2019-04-28 12:00:28 -0600 received badge  Notable Question (source)
2019-04-25 09:00:44 -0600 received badge  Popular Question (source)
2019-04-25 04:23:28 -0600 commented question Exception no valid host when try launch an instance

@brucema ..your speculation is right i use packstack and use the default Centos partitioning scheme, u seem to have experience on that issue, some advices to avoid it?

2019-04-25 04:23:28 -0600 commented question Exception no valid host when try launch an instance

@Bernd Bausch hey, where can i enable that debug logging, which files and which lines? thanks

2019-04-25 04:23:27 -0600 commented question Ovs-vsctl show don't show br-tun between compute and network

If i supposed that my config in neutron.conf, ml2.ini and openvswitch-agent.ini are correct, which command should build that correct config for tunneling.

2019-04-25 04:23:27 -0600 commented question Ovs-vsctl show don't show br-tun between compute and network

Hello @Bernd Bausch

Thk for ur response. What i mean is that after my first installation with packstack the br-tun with local_ip and remote_ip was there but now there is a br-tun brigde without that specific port. I already look at openvswitch-agent.log, there are some lines as br-tun has datapath

2019-04-24 15:57:13 -0600 asked a question Ovs-vsctl show don't show br-tun between compute and network

I setup a packstack installation between three nodes (compute, network and controller). I need to make some customs setting and after it i have to restart neutron agent locate at network and compute. After some debug i could see all my agent with command

neutron agent-list

There all up and enable but when i look at ovs-vsctl show (on compute or network) there br-tun that was there with local_ip and remote_ip. i thinked that restart openvswitch agent will resolve it but it doesn't

2019-04-24 15:57:12 -0600 asked a question Exception no valid host when try launch an instance

Hello,

I setup openstack rocky version with three nodes (compute, controller and network). All the neutron agent are up and alive and the nova service is up too. I create network and upload images to glance.

When i try to launch an instance i get an error no valid host, Code 500. Find below the information in the log of nova-conductor

 2019-04-24 20:08:49.961 47942 ERROR nova.conductor.manager     return func(*args, **kwargs)
2019-04-24 20:08:49.961 47942 ERROR nova.conductor.manager
2019-04-24 20:08:49.961 47942 ERROR nova.conductor.manager   File "/usr/lib/python2.7/site-packages/nova/scheduler/manager.py", line 169, in select_destinations
2019-04-24 20:08:49.961 47942 ERROR nova.conductor.manager     allocation_request_version, return_alternates)
2019-04-24 20:08:49.961 47942 ERROR nova.conductor.manager
2019-04-24 20:08:49.961 47942 ERROR nova.conductor.manager   File "/usr/lib/python2.7/site-packages/nova/scheduler/filter_scheduler.py", line 91, in select_destinations
2019-04-24 20:08:49.961 47942 ERROR nova.conductor.manager     allocation_request_version, return_alternates)
2019-04-24 20:08:49.961 47942 ERROR nova.conductor.manager
2019-04-24 20:08:49.961 47942 ERROR nova.conductor.manager   File "/usr/lib/python2.7/site-packages/nova/scheduler/filter_scheduler.py", line 256, in _schedule
2019-04-24 20:08:49.961 47942 ERROR nova.conductor.manager     claimed_instance_uuids)
2019-04-24 20:08:49.961 47942 ERROR nova.conductor.manager
2019-04-24 20:08:49.961 47942 ERROR nova.conductor.manager   File "/usr/lib/python2.7/site-packages/nova/scheduler/filter_scheduler.py", line 293, in _ensure_sufficient_hosts
2019-04-24 20:08:49.961 47942 ERROR nova.conductor.manager     raise exception.NoValidHost(reason=reason)
2019-04-24 20:08:49.961 47942 ERROR nova.conductor.manager
2019-04-24 20:08:49.961 47942 ERROR nova.conductor.manager NoValidHost: H\xf4te non valide trouv\xe9. Le nombre d'h\xf4tes disponibles est insuffisant
2019-04-24 20:08:49.961 47942 ERROR nova.conductor.manager
2019-04-24 20:08:49.961 47942 ERROR nova.conductor.manager
2019-04-24 20:08:50.651 47942 WARNING nova.scheduler.utils [req-930f1711-27d0-47af-9871-ca4dda3b5393 d162ebe5a0ab495fb4a863f52a858778 110bb0bc1bdb43478a76b16ed8bd7ce1 - default default] Failed to compute_task_build_instances: Hôte non valide trouvé. Le nombre d'hôtes disponibles est insuffisant
Traceback (most recent call last):

  File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/server.py", line 226, in inner
    return func(*args, **kwargs)

  File "/usr/lib/python2.7/site-packages/nova/scheduler/manager.py", line 169, in select_destinations
    allocation_request_version, return_alternates)

  File "/usr/lib/python2.7/site-packages/nova/scheduler/filter_scheduler.py", line 91, in select_destinations
    allocation_request_version, return_alternates)

  File "/usr/lib/python2.7/site-packages/nova/scheduler/filter_scheduler.py", line 256, in _schedule
    claimed_instance_uuids)

  File "/usr/lib/python2.7/site-packages/nova/scheduler/filter_scheduler.py", line 293, in _ensure_sufficient_hosts
    raise exception.NoValidHost(reason=reason)

NoValidHost: H\xf4te non valide trouv\xe9. Le nombre d'h\xf4tes disponibles est insuffisant
: NoValidHost_Remote: H\xf4te non valide trouv\xe9. Le nombre d'h\xf4tes disponibles est insuffisant
2019-04-24 20:08:50.655 47942 WARNING nova.scheduler.utils [req-930f1711-27d0-47af-9871-ca4dda3b5393 d162ebe5a0ab495fb4a863f52a858778 110bb0bc1bdb43478a76b16ed8bd7ce1 - default default] [instance: f9293645-5706-404a-ae79-849f4fa257e6] Setting instance to ERROR state.: NoValidHost_Remote: H\xf4te non valide trouv\xe9. Le nombre d'h\xf4tes disponibles est ...
(more)