akarki's profile - activity

2020-07-22 04:00:27 -0500 received badge  Famous Question (source)
2020-06-08 02:49:23 -0500 received badge  Famous Question (source)
2020-05-23 01:22:01 -0500 received badge  Famous Question (source)
2020-05-05 06:20:18 -0500 received badge  Notable Question (source)
2020-05-05 06:20:18 -0500 received badge  Popular Question (source)
2020-04-30 11:41:46 -0500 received badge  Notable Question (source)
2020-04-22 13:22:20 -0500 received badge  Popular Question (source)
2020-04-18 05:47:38 -0500 received badge  Popular Question (source)
2020-04-16 11:10:18 -0500 commented question issue with heat template cloud config

So if my vm gets ip and routes from internal dhcp it has metadata rouet in it... but with external dhcp..sincce it is for lab..not metadat route gets inserted in vm. Hence no cloud config gets executed.(for most of the times that is)

2020-04-16 10:42:06 -0500 asked a question issue with heat template cloud config

Hi, I am using a heat template to deploy VM.

My Template:

> heat_template_version: 2015-10-15
> description: Launch a basic instance
> with CirrOS image using the
>              ``m1.tiny`` flavor, ``mykey`` key,  and one network.
> 
> parameters:   NetID:
>     type: string
>     description: Network ID to use for the instance.   RtspIP:
>     type: string
>     description: RTSPAPPSERVER IP to use for the instance.   User:
>     type: string   Pass:
>     type: string   AppServerID:
>     type: string   MobileIP:
>     type: string   MobilePort:
>     type: string resources:   server:
>     type: OS::Nova::Server
>     properties:
>             # image: rtsp4
>       image: rtsp3
>       flavor: m1.medium
>       key_name: mycontrollerKey
>       networks:
>       - network: { get_param: NetID }
>       user_data_format: RAW
>       user_data:
>         get_resource: server_init
> 
>   server_init:
>     type: OS::Heat::MultipartMime
>     properties:
>       parts:
>       - config: {get_resource: boot_script}
>       - config: {get_resource: boot_config}   boot_script:
>     type: OS::Heat::SoftwareConfig
>     properties:
>       group: ungrouped
>       config:
>         str_replace:
>                 template: |
>                         #!/bin/bash
>                         mkdir -p /tmp/abc
>                         sh -c 'echo ubuntu:hsc321 | chpasswd'
>                         touch /tmp/rtspdata
>                         echo $RtspIP $User $Pass $appPath>/tmp/rtspdata
>                         bash /home/ubuntu/check_ip.sh & >
> /home/ubuntu/server_logs
>                 params:
>                         $appPath: {get_param: AppServerID}
>                         $RtspIP: {get_param: RtspIP}
>                         $User: {get_param: User}
>                         $Pass: {get_param: Pass}
>                         $MobileIP: {get_param: MobileIP}
>                         $MobilePort: {get_param: MobilePort}   boot_config:
>     type: OS::Heat::CloudConfig
>     properties:
>       cloud_config:
>         ssh_pwauth: true
>         disable_root: false
>         chpasswd:
>           list:
>             str_replace:
>               template: "ubuntu:PASSWORD"
>               params:
>                 PASSWORD: "hsc321"
>           expire: False
> 
> outputs:   instance_ip:
>     description: IP address of the instance.
>     value: { get_attr: [ server, first_address ] }

So my lab setup has already a dhcp server running...along with the openstack flat network dhcp which i created.

So Issue is sometimes my vm gets ip from lab dhcp. Hence the metadata route does not get attached hence cloud config does not get executed so passwd not set in vm that i get.

But once in a while i tend to see that vm gets ip from external dhcp but still executes cloud config. How and why?

Also how does key insertion thing always work does it on also depend on metadata. Coz my keys always tend to be inserted no matter what dhcp server is.

Also what iptables rules i can apply so that i can block the traffic from external lab dhcp..in compute or in the flow table.

Please help.

2020-04-15 11:06:56 -0500 received badge  Notable Question (source)
2020-04-06 04:22:10 -0500 received badge  Popular Question (source)
2020-04-03 18:58:54 -0500 received badge  Popular Question (source)
2020-04-02 22:49:16 -0500 asked a question enable metadata if dhcp disabled for a network

Hi, In my current deployment force_metadat is set to true. hence dhcp adds metadata route. Now i have a lab dhcp server. but i need to pass on the metadat as well. If dhcp is disabled how can i add metadata.

Any help wouuld be appreciated

2020-04-02 13:29:27 -0500 commented answer difference in geeting ip from horizon and actual vm ip

Any. Way to resolve this.. Also if I set unternal DHCP there are some ver few cases when ip.dont match...how do I resolve those

2020-04-02 11:20:45 -0500 asked a question difference in geeting ip from horizon and actual vm ip

Hi, I am currently using my lab dhcp server instead of openstack dhcp network. so dhcp is disabled in my openstack flat network the ip shown in horizon is always diffrent from actual vm ip. Why is this difference happing. is this some issue of metadata service?

Also one more doubt how do i get metadata if i disable: enable_isolated_metadata to false?

PS: setup via kolla-ansible train branch

Any help would be much aprreciated

2020-03-09 09:24:34 -0500 received badge  Popular Question (source)
2020-03-05 11:40:48 -0500 commented answer Zun container privileged mode with heat stack

About the patch I already created policy file as well as added privilege in heat zun container.py but it says zun client privilege mode was added in 1.21 but version using is 1.12. However python-zunclient version is 3.5 .. confused now

2020-03-05 10:25:25 -0500 asked a question Zun container privileged mode with heat stack

Hi, I am trying to spawn zun containers via heat stack. I don't see any support for privileged parameter in the documentation. Is there any way out to enable it.

2020-02-23 23:23:29 -0500 asked a question Zun openstack

Hi, Is it possible to attach a second interface in zun container with the same network as that of previous network . It currently reports an issue that it is not possible. Any workaround to do so?

2020-02-03 10:38:04 -0500 received badge  Popular Question (source)
2020-01-29 05:51:20 -0500 asked a question Sfc support in tripleo train

Does tripleo train support sfc with ovs.. We are able to deploy sfc...but during testing packet are not passing as the flow defined in flow classifier.

Also driver in tripleo sfc heat template is set to dummy not ovs. Please do tell the difference between two.

2020-01-29 05:48:57 -0500 asked a question Zun support in tripleo train

Hi, Does tripleo train realease support zun.

Thanks in advance

2019-12-02 00:59:19 -0500 received badge  Notable Question (source)
2019-12-02 00:59:19 -0500 received badge  Famous Question (source)
2019-10-23 01:05:58 -0500 received badge  Famous Question (source)
2019-09-10 13:13:00 -0500 received badge  Popular Question (source)
2019-09-10 13:13:00 -0500 received badge  Notable Question (source)
2019-09-10 13:13:00 -0500 received badge  Famous Question (source)
2019-08-26 09:18:17 -0500 asked a question admin tenant deleted accidentaly in openstac queens

Hi, I accidently deleted admin project . How do i recover from it. Updated Db as well in projects table. Please help

2019-08-05 12:03:29 -0500 received badge  Famous Question (source)
2019-07-22 05:45:59 -0500 received badge  Notable Question (source)
2019-06-06 02:16:22 -0500 received badge  Famous Question (source)
2019-06-06 02:16:22 -0500 received badge  Popular Question (source)
2019-06-06 02:16:22 -0500 received badge  Notable Question (source)
2019-06-06 01:49:03 -0500 asked a question use vmware snapshot to create openstack vm

Hi,

I Have a vmware vm snapshot which has vmdk,vmem,vmsk file. below size details

root@compute:/home/60# ls -lrt

total 8393892

-rw-r--r-- 1 root root 351 May 31 22:31 ubuntu_172.16.103.56-000003.vmdk

-rw-r--r-- 1 root root 5400918 May 31 22:33 ubuntu_172.16.103.56-Snapshot3.vmsn

-rw-r--r-- 1 root root 8589934592 May 31 22:33 ubuntu_172.16.103.56-Snapshot3.vmem

How to use these file to create openstack vm. Any help would be appriciated.

2019-05-08 05:04:03 -0500 received badge  Notable Question (source)
2019-05-08 05:04:03 -0500 received badge  Popular Question (source)
2019-02-19 09:54:04 -0500 received badge  Famous Question (source)
2019-01-31 20:37:21 -0500 received badge  Famous Question (source)
2019-01-29 03:33:49 -0500 received badge  Famous Question (source)
2019-01-29 03:33:44 -0500 received badge  Famous Question (source)
2019-01-29 03:33:44 -0500 received badge  Popular Question (source)
2019-01-29 03:33:44 -0500 received badge  Notable Question (source)
2019-01-15 20:05:00 -0500 received badge  Famous Question (source)
2019-01-10 21:56:04 -0500 received badge  Popular Question (source)