Ask Your Question

vincent-legoll's profile - activity

2018-11-23 04:08:45 -0600 received badge  Famous Question (source)
2018-05-14 06:10:38 -0600 received badge  Famous Question (source)
2017-07-27 04:03:54 -0600 received badge  Notable Question (source)
2017-07-27 04:03:54 -0600 received badge  Popular Question (source)
2016-12-08 08:41:18 -0600 commented question How to add members to image in multi-domain cloud

Any news on this ?

2016-12-08 08:41:07 -0600 answered a question How to add members to image in multi-domain cloud

Any news on this ?

2016-12-03 03:10:24 -0600 commented answer New "openstack" CLI rosetta stone

Hey, that one is closer to what I'm searching, but still no translation from egyptian hieroglyphs to ancient greek, but this is a start... So thanks

2016-12-02 17:00:53 -0600 received badge  Notable Question (source)
2016-12-02 10:00:36 -0600 commented answer New "openstack" CLI rosetta stone

Sorry, I think I badly expressed my needs, what I want is more like a cheat sheet. I know where the officials docs are... :-)

I want to be able to search by the old cli commands I know, to find the new way of doing things.

2016-12-02 09:13:56 -0600 received badge  Popular Question (source)
2016-11-28 07:47:12 -0600 asked a question New "openstack" CLI rosetta stone

Hello,

is there a rosetta stone to help users acustomed with old CLI to find the right incantation for the new CLI ?

some of the old ways are helpfully hinted by the new automagic help, but some others aren't and are hard to guess...

EDIT: I don't want a specific answer about one cli, I want help for all future similar needs...

2016-09-23 02:07:54 -0600 received badge  Necromancer (source)
2016-06-30 04:02:29 -0600 edited question VM is not assigned fixed ip, but the topology in dashbord is OK
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Linux version 3.0.012virtual (buildd@crested) (gcc version 4.6.1 (Ubuntu/Linaro 4.6.19ubuntu3) ) #20Ubuntu SMP Fri Oct 7 18:19:02 UTC 2011 (Ubuntu 3.0.012.20virtual 3.0.4)
[    0.000000] Command line: LABEL=cirrosrootfs ro console=tty0 console=ttyS0 console=hvc0
[    0.000000] KERNEL supported cpus:
[    0.000000]   Intel GenuineIntel
[    0.000000]   AMD AuthenticAMD
[    0.000000]   Centaur CentaurHauls
[    0.000000] BIOSprovided physical RAM map:
[    0.000000]  BIOSe820: 0000000000000000  000000000009dc00 (usable)
[    0.000000]  BIOSe820: 000000000009dc00  00000000000a0000 (reserved)
[    0.000000]  BIOSe820: 00000000000f0000  0000000000100000 (reserved)
[    0.000000]  BIOSe820: 0000000000100000  000000001fffd000 (usable)
[    0.000000]  BIOSe820: 000000001fffd000  0000000020000000 (reserved)
[    0.000000]  BIOSe820: 00000000feffc000  00000000ff000000 (reserved)
[    0.000000]  BIOSe820: 00000000fffc0000  0000000100000000 (reserved)
[    0.000000] NX (Execute Disable) protection: active
[    0.000000] DMI 2.4 present.
[    0.000000] No AGP bridge found
[    0.000000] last_pfn = 0x1fffd max_arch_pfn = 0x400000000
[    0.000000] x86 PAT enabled: cpu 0, old 0x70406, new 0x7010600070106
[    0.000000] found SMP MPtable at [ffff8800000fdaf0] fdaf0
[    0.000000] Using GB pages for direct mapping
[    0.000000] init_memory_mapping: 0000000000000000000000001fffd000
[    0.000000] RAMDISK: 1fdf9000  1ffed000
[    0.000000] ACPI: RSDP 00000000000fd950 00014 (v00 BOCHS )
[    0.000000] ACPI: RSDT 000000001fffd7b0 00034 (v01 BOCHS  BXPCRSDT 00000001 BXPC 00000001)
[    0.000000] ACPI: FACP 000000001fffff80 00074 (v01 BOCHS  BXPCFACP 00000001 BXPC 00000001)
[    0.000000] ACPI: DSDT 000000001fffd9b0 02589 (v01   BXPC   BXDSDT 00000001 INTL 20100528)
[    0.000000] ACPI: FACS 000000001fffff40 00040
[    0.000000] ACPI: SSDT 000000001fffd910 0009E (v01 BOCHS  BXPCSSDT 00000001 BXPC 00000001)
[    0.000000] ACPI: APIC 000000001fffd830 00072 (v01 BOCHS  BXPCAPIC 00000001 BXPC 00000001)
[    0.000000] ACPI: HPET 000000001fffd7f0 00038 (v01 BOCHS  BXPCHPET 00000001 BXPC 00000001)
[    0.000000] No NUMA configuration found
[    0.000000] Faking a node at 0000000000000000000000001fffd000
[    0.000000] Initmem setup node 0 0000000000000000000000001fffd000
[    0.000000]   NODE_DATA [000000001fff5000  000000001fff9fff]
[    0.000000] kvmclock: Using msrs 4b564d01 and 4b564d00
[    0.000000] kvmclock: cpu 0, msr 0:1ce28c1, boot clock
[    0.000000] Zone PFN ranges:
[    0.000000]   DMA      0x00000010 > 0x00001000
[    0.000000]   DMA32    0x00001000 > 0x00100000
[    0.000000]   Normal   empty
[    0.000000] Movable zone start PFN for each node
[    0.000000] early_node_map[2] active PFN ranges
[    0.000000]     0: 0x00000010 > 0x0000009d
[    0.000000]     0: 0x00000100 > 0x0001fffd
[    0.000000] ACPI: PMTimer IO Port: 0xb008
[    0.000000] ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
[    0.000000] ACPI: IOAPIC (id[0x01] address[0xfec00000] gsi_base[0])
[    0.000000] IOAPIC[0]: apic_id 1, version 17, address 0xfec00000, GSI 023
[    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
[    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 5 global_irq 5 high level)
[    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
[    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 10 global_irq 10 high level)
[    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 11 global_irq 11 high level)
[    0.000000] Using ACPI (MADT) for SMP configuration information
[    0.000000] ACPI: HPET id: 0x8086a201 base: 0xfed00000
[    0.000000] SMP: Allowing 1 CPUs, 0 hotplug CPUs
[    0.000000] PM: Registered nosave memory: 000000000009d000  000000000009e000
[    0.000000] PM: Registered nosave memory ...
(more)
2016-06-07 04:18:33 -0600 answered a question how to determine my Openstack release name

The initial solution worked for me:

nova-manage  --version
12.0.0

But I had to search the different releases on the following page:

http://releases.openstack.org

for the corresponding nova package

2016-06-07 04:03:42 -0600 edited answer New Kilo install - Unable to launch instance, no useful errors found

Use either :

nova --os-region-name RegionOne endpoints

or edit your credentials file (demo-openrc.sh and/or admin-openrc.sh) and add:

export OS_REGION_NAME=RegionOne

To get rid of the warning.

EDIT : Careful with that workaround, a colleague of mine used it and reported that now nova endpoints does not report the full set, i.e. all 3 different interfaces (admin, internal & public) for each component... I still don't know if this has other repercussions... But it would be easy to revert back.

2016-06-07 03:46:05 -0600 edited question VM stuck at spawning

Can you help me regarding the possible cause for VM stucking at spawning state on compute node in openstack using devstack. I'm able to boot VM on my controller node .

Here are the compute logs....

2014-06-13 09:44:25.012 9461 DEBUG nova.openstack.common.rpc.amqp [-] UNIQUE_ID is 2aea1ffab57940f596ba4883592ab228. _add_unique_id /opt/stack/nova/nova/openstack/common/rpc/amqp.py:341
2014-06-13 09:44:25.015 9461 DEBUG amqp [-] Closed channel #1 _do_close /usr/local/lib/python2.7/dist-packages/amqp/channel.py:104
2014-06-13 09:44:25.016 9461 DEBUG amqp [-] using channel_id: 1 __init__ /usr/local/lib/python2.7/dist-packages/amqp/channel.py:80
2014-06-13 09:44:25.018 9461 DEBUG amqp [-] Channel open _open_ok /usr/local/lib/python2.7/dist-packages/amqp/channel.py:438
2014-06-13 09:44:35.011 9461 DEBUG nova.openstack.common.rpc.amqp [-] Making synchronous call on conductor ... multicall /opt/stack/nova/nova/openstack/common/rpc/amqp.py:553
2014-06-13 09:44:35.012 9461 DEBUG nova.openstack.common.rpc.amqp [-] MSG_ID is 72b70e9b0d80476184a35cdb96873b09 multicall /opt/stack/nova/nova/openstack/common/rpc/amqp.py:556
2014-06-13 09:44:35.012 9461 DEBUG nova.openstack.common.rpc.amqp [-] UNIQUE_ID is ed7e5d1dbf224bcb90c4fcd2ece88646. _add_unique_id /opt/stack/nova/nova/openstack/common/rpc/amqp.py:341
2014-06-13 09:44:35.016 9461 DEBUG amqp [-] Closed channel #1 _do_close /usr/local/lib/python2.7/dist-packages/amqp/channel.py:104
2014-06-13 09:44:35.016 9461 DEBUG amqp [-] using channel_id: 1 __init__ /usr/local/lib/python2.7/dist-packages/amqp/channel.py:80
2014-06-13 09:44:35.019 9461 DEBUG amqp [-] Channel open _open_ok /usr/local/lib/python2.7/dist-packages/amqp/channel.py:438
2014-06-13 09:44:45.011 9461 DEBUG nova.openstack.common.rpc.amqp [-] Making synchronous call on conductor ... multicall /opt/stack/nova/nova/openstack/common/rpc/amqp.py:553
2014-06-13 09:44:45.012 9461 DEBUG nova.openstack.common.rpc.amqp [-] MSG_ID is 5fa13a4b4c5c49fbb60dc69483871259 multicall /opt/stack/nova/nova/openstack/common/rpc/amqp.py:556
2014-06-13 09:44:45.012 9461 DEBUG nova.openstack.common.rpc.amqp [-] UNIQUE_ID is dda3df2873494b6a9c3f5adb1bcf16e1. _add_unique_id /opt/stack/nova/nova/openstack/common/rpc/amqp.py:341
2014-06-13 09:44:45.016 9461 DEBUG amqp [-] Closed channel #1 _do_close /usr/local/lib/python2.7/dist-packages/amqp/channel.py:104
2014-06-13 09:44:45.016 9461 DEBUG amqp [-] using channel_id: 1 __init__ /usr/local/lib/python2.7/dist-packages/amqp/channel.py:80
2014-06-13 09:44:45.017 9461 DEBUG amqp [-] Channel open _open_ok /usr/local/lib/python2.7/dist-packages/amqp/channel.py:438
2014-06-13 09:44:49.370 9461 DEBUG nova.openstack.common.periodic_task [-] Running periodic task ComputeManager._poll_volume_usage run_periodic_tasks /opt/stack/nova/nova/openstack/common/periodic_task.py:176
2014-06-13 09:44:49.371 9461 DEBUG nova.openstack.common.periodic_task [-] Running periodic task ComputeManager._instance_usage_audit run_periodic_tasks /opt/stack/nova/nova/openstack/common/periodic_task.py:176
2014-06-13 09:44:49.371 9461 DEBUG nova.openstack.common.periodic_task [-] Running periodic task ComputeManager.update_available_resource run_periodic_tasks /opt/stack/nova/nova/openstack/common/periodic_task.py:176
2014-06-13 09:44:49.372 ...
(more)
2016-06-07 03:42:38 -0600 answered a question How can I find out the total number of physical cores from an entire cloud?

Hello,

You can use (CLI) to get the virtual CPU cores (used/available) and other things with :

nova hypervisor-stats
openstack hypervisor stats show

or the corresponding python API calls :

from novaclient import client
nova = client.Client(...)
nova.hypervisors.statistics().to_dict()

BTW, I'm writing a python script that does this and reports it through email, it is not actually released to the world, but I'll put it on github soon, and come back here to put a pointer to it...

I came to your question because I'm searching the equivalent for persistent storage (cinder)...

If you want the "real" physical cores numbers, you may have to scale that according to /etc/nova.conf's cpu_allocation_ratio configuration variable, and maybe also check if you have CMT/SMT (hyperthreading, etc...) enabled on the physical CPUs or not...

2016-05-17 09:14:32 -0600 edited question Unable to update stats, NetAppCmodeNfsDriver -1.0.0 (config name netapp-driver) driver is uninitialized

hi

I have configured Cinder to use NetApp Cluster Mode. I set the vserver (netapp lif) configuration on cinder.conf as well nfs.export mounted while restart cinder daemon, however while create a volume i get the following error.

error: unable to update stats, NetAppCmodeNfsDriver -1.0.0 (config name netapp-driver) driver is uninitialized

any clue?

2016-05-03 06:56:59 -0600 asked a question Prevent other users to delete my VMs

In discussing bug https://bugs.launchpad.net/nova/+bug/...

It appears it has been decided to drop support of per-user permissions, to only allow global per-tenant (per-project) permissions.

Has anyone got an idea how to have per-user permissions back ?

I don't want any other user in the same tenant to be able to delete my VMs or my persistent storage...

2016-03-16 07:02:56 -0600 commented answer DevStack install fail: Dashboard error

But why does apache need to run for the package to be uninstalled, that's clearly a bug

2016-03-07 02:50:11 -0600 commented question router interfaces down

Hello, could you please ask a specific question ? Do you have a problem ?

2016-03-02 07:31:09 -0600 commented answer Floating IP pool not visible as admin

Thanks, this fixed it for me, though it was not exactly the same problem. I got that error message through occi interface...

2016-01-05 05:56:54 -0600 edited question ip netns showing 1 qdhcp entity in place of two

As per Liberty installation guide ip netns command must give 3 entities that is one qrouter and two qdhcp but I am getting only one qdhcp entity as shown below.

[root@controller3 ~]# ip netns qrouter-df014de6-b1e1-4592-bbd8-cc08fa12b97a (id: 1) qdhcp-87c58629-c074-4689-82d7-1fdfa72345f1 (id: 0)

2015-11-17 06:23:03 -0600 answered a question dashboard install to controller breaks keystone permissions

@Luigi: do you use juno/keystone as a wsgi web service ? I thought it was only mandatory for kilo release...

2015-11-11 02:45:59 -0600 answered a question Do all compute nodes require a port to the public network?

Was your demo cloud based on liberty / ubuntu 14.04 LTS ?

Because the instability you are describing is not something we have encountered in our production cloud, but ours is based on icehouse / SL6. I also demoed juno / CentOS 7 without any instability problem such as yours.

The network node allows all your compute nodes to access internet through NAT'ed interfaces, the floating ips are only needed if your vms should be available FROM the internet, for example if you have a web server that should be world-visible.

2015-11-06 08:10:23 -0600 commented answer Nova boot error - Connecting to a wrong glance host

Where does this glance_api_servers value come from ? It looks unrelated to the addresses the OP uses...

I resurrect that question because I'm having the same problem. It's on a kilo / 3 nodes (in VMs) testing cloud.

Looks related to : https://ask.openstack.org/en/question...

Edit, answering myself:

[glance]
host=ctrl
port=9292

Uncommented those lines in /etc/nova/nova.conf on both controller & compute nodes, this apparently solved it...

2015-11-06 08:08:44 -0600 edited answer Nova boot error - Connecting to a wrong glance host

Hi Hope you are able to solve this issue. I see that compute is trying to connect to glance IP http://172.17.22.212:9292. But your glance is at 10.10.100.51.

You need to update the /etc/nova.conf with glance_host and image_service=nova.image.glance.GlanceImageService glance_api_servers=192.168.72.145:9292

See the following link for more information. http://virtual2privatecloud.com/2013/...

-Dheerendra

2015-11-04 07:52:09 -0600 answered a question kilo neutron-server with juno neutron-l3-agent

I cannot help with your actual error, but my experience with mixing versions never worked.

I tried juno compute nodes with icehouse controller & network nodes. And Also small package differences of the same openstack version where problematic and caused errors.

Just my 2 cents, hope you still get it working in your case...

2015-11-03 08:02:48 -0600 answered a question Compute Node Error - ValueError: failed to detect a valid IP address from u'MANAGEMENT_INTERFACE_IP_ADDRESS'

I think you changed 'my_ip' to '10.10.0.30' after having it copy-pasted from the install guide as 'MANAGEMENT_INTERFACE_IP_ADDRESS' and tried to use it whit that value.

So that wrong "hostname" got saved in the DB when it should have been a numerical IP@...

You can fix it by doing the following on the controller node:

# mysql -u root -p MY_PASSWORD
use nova;
select * from compute_nodes where host_ip = 'MANAGEMENT_INTERFACE_IP_ADDRESS';

As explained in the installation documentation, host_ip must always be specified in dotted numerical notation, string host names are not allowed...

DAMHIKT

Check that is indeed the problem with the preceding "SELECT" SQL command, then delete the offending rows from your DB, with this one:

# mysql -u root -p MY_PASSWORD
use nova;
delete from compute_nodes where host_ip = 'MANAGEMENT_INTERFACE_IP_ADDRESS';

and restart nova service on the compute node so that it re-register itself properly in the DB...

systemctl start openstack-nova-compute.service

That should do it, be extra careful if your cloud is in production mode, though...

The same solution works in case you tried to use a properly resolving hostname as 'my_ip', thinking that it should work... Just adapt the SQL command to search / delete rows containing your hostname instead of 'MANAGEMENT_INTERFACE_IP_ADDRESS'...

If someone use that recipe to fix his problem, please mark this answer as the solution to this question, thanks...

2015-10-26 03:52:14 -0600 answered a question Is openstack support cdrom device?

You'll have to:

  • Create the ISO image on your local computer (here, running linux)

sudo dd if=/dev/cdrom of=/tmp/cd.iso

  • Upload that image file (/tmp/cd.iso) to your running VM (to /tmp/cd.iso too, for example)

  • Mount it locally

mount /tmp/cd.iso /mnt -t iso9660 -o loop

And the content of your CDROM should be accessible in /mnt...