srini's profile - activity

2020-04-16 03:04:25 -0600 received badge  Famous Question (source)
2020-04-16 03:04:25 -0600 received badge  Notable Question (source)
2020-04-16 03:04:25 -0600 received badge  Popular Question (source)
2020-02-26 12:38:36 -0600 received badge  Famous Question (source)
2019-11-28 10:28:33 -0600 received badge  Notable Question (source)
2019-10-18 01:07:23 -0600 commented question openstack stack creation failing during cinder volume creation and disk attachment

| stack_status_reason | Resource UPDATE failed: resources.cdlk_instance_zone1_7: Resource CREATE failed: BadRequest: resources.cdlk_server: Invalid volume: Invalid input received: Invalid volume: Volume 9412c7aa-5847-401a-b70e-1fe340bb7d6f status must be available or downloading (HTTP 400) (Reques

2019-10-18 00:35:16 -0600 commented question openstack stack creation failing during cinder volume creation and disk attachment

the volumes and servers are created successfully but its failing during attachment? either volume is in reserved state so the attachment is failing any way can we incluede dependency ?

2019-10-17 02:30:00 -0600 asked a question openstack stack creation failing during cinder volume creation and disk attachment

openstack stack create -t create_ca4ci_sec.yaml -e ca4ci_environment.yaml --wait test5 2019-10-17 06:52:55Z [test5]: CREATE_IN_PROGRESS Stack CREATE started 2019-10-17 06:52:55Z [test5.cdlk_instance_zone2_5]: CREATE_IN_PROGRESS state changed 2019-10-17 06:52:56Z [test5.cdlk_instance_zone2_7]: CREATE_IN_PROGRESS state changed 2019-10-17 06:52:58Z [test5.cdlk_instance_zone1_0]: CREATE_IN_PROGRESS state changed 2019-10-17 06:52:59Z [test5.cdlk_instance_zone2_4]: CREATE_IN_PROGRESS state changed 2019-10-17 06:53:00Z [test5.cdlk_instance_zone2_9]: CREATE_IN_PROGRESS state changed 2019-10-17 06:53:01Z [test5.cdlk_instance_zone2_1]: CREATE_IN_PROGRESS state changed 2019-10-17 06:53:02Z [test5.cdlk_instance_zone1_6]: CREATE_IN_PROGRESS state changed 2019-10-17 06:53:03Z [test5.cdlk_instance_zone1_9]: CREATE_IN_PROGRESS state changed 2019-10-17 06:53:04Z [test5.cdlk_instance_zone1_2]: CREATE_IN_PROGRESS state changed 2019-10-17 06:53:05Z [test5.cdlk_instance_zone2_8]: CREATE_IN_PROGRESS state changed 2019-10-17 06:53:06Z [test5.cdlk_instance_zone1_4]: CREATE_IN_PROGRESS state changed 2019-10-17 06:53:07Z [test5.cdlk_instance_zone1_1]: CREATE_IN_PROGRESS state changed 2019-10-17 06:53:08Z [test5.cdlk_instance_zone1_7]: CREATE_IN_PROGRESS state changed 2019-10-17 06:53:09Z [test5.cdlk_instance_zone2_2]: CREATE_IN_PROGRESS state changed 2019-10-17 06:53:10Z [test5.cdlk_instance_zone1_8]: CREATE_IN_PROGRESS state changed 2019-10-17 06:53:11Z [test5.cdlk_instance_zone1_5]: CREATE_IN_PROGRESS state changed 2019-10-17 06:53:12Z [test5.cdlk_instance_zone2_3]: CREATE_IN_PROGRESS state changed 2019-10-17 06:53:13Z [test5.cdlk_instance_zone1_3]: CREATE_IN_PROGRESS state changed 2019-10-17 06:53:14Z [test5.cdlk_instance_zone2_0]: CREATE_IN_PROGRESS state changed 2019-10-17 06:53:15Z [test5.cdlk_instance_zone2_6]: CREATE_IN_PROGRESS state changed 2019-10-17 07:03:00Z [test5.cdlk_instance_zone1_0]: CREATE_FAILED Error: resources.cdlk_instance_zone1_0.resources.group_of_volumes_rook.resources[4].resources.volume_attachment: Failed to attach volume 811754b8-330d-4b10-9814-ec1b09fdef35 to server b82bb288-7ad7-4eaa-af4d-0f8940d85537 - Unexpected API Error. Please rep 2019-10-17 07:03:00Z [test5]: CREATE_FAILED Resource CREATE failed: Error: resources.cdlk_instance_zone1_0.resources.group_of_volumes_rook.resources[4].resources.volume_attachment: Failed to attach volume 811754b8-330d-4b10-9814-ec1b09fdef35 to server b82bb288-7ad7-4eaa-af4d-0f8940d85537 - Unexpect 2019-10-17 07:03:00Z [test5.cdlk_instance_zone2_4]: CREATE_FAILED Error: resources.cdlk_instance_zone2_4.resources.group_of_volumes_rook.resources[1].resources.volume_attachment: Failed to attach volume 2a010060-7948-4b67-9549-b1cdb8489530 to server 5a662f17-b563-4eb2-b1da-0272176f07a7 - Unexpected API Error. Please rep 2019-10-17 07:03:00Z [test5]: CREATE_FAILED Resource CREATE failed: Error: resources.cdlk_instance_zone2_4.resources.group_of_volumes_rook.resources[1].resources.volume_attachment: Failed to attach volume 2a010060-7948-4b67-9549-b1cdb8489530 to server 5a662f17-b563-4eb2-b1da-0272176f07a7 - Unexpect 2019-10-17 07:03:00Z [test5.cdlk_instance_zone2_7]: CREATE_FAILED Error: resources.cdlk_instance_zone2_7.resources.group_of_volumes_rook.resources[1].resources.volume_attachment: Failed to attach volume 52e9b6df-6b39-487a-a671-3c5138fb8975 to server 41e39b53-2d11-4898-8e2f-de003f74374d - Unexpected API Error. Please rep 2019-10-17 07:03:00Z [test5]: CREATE_FAILED Resource CREATE failed: Error: resources.cdlk_instance_zone2_7.resources.group_of_volumes_rook.resources[1].resources.volume_attachment: Failed to attach volume 52e9b6df-6b39-487a-a671-3c5138fb8975 to server 41e39b53-2d11-4898-8e2f-de003f74374d - Unexpect

Stack test5 CREATE_FAILED

^[kroot@ca4ci-cep:/home/cloud-user/digi/orchestration_SEC^[[root@ca4ci-cep /home/cloud-user/digi/orchestration_SEC]# ^M

2019-09-24 10:28:27 -0600 received badge  Popular Question (source)
2019-09-23 03:44:49 -0600 commented question how to attach multiple static ip through heat template

after launching the instance 3 ip are not reacheacble .

if we login to the launched instance. this is the output . only eth0 the ip is assigned other network port network is not assigned

3: eth1: <broadcast,multicast> mtu 1500 qdisc noop state DOWN group default qlen 1000 link/ether fa:16

2019-09-23 03:15:40 -0600 commented answer Static ip for instance using yaml file

iam facing an issue , i wanted to attach multiple static ip but only 1 IP is getting attached .

here is the link for the issue .

https://ask.openstack.org/en/question/124358/how-to-attach-multiple-static-ip-through-heat-template/ (https://ask.openstack.org/en/question...)

2019-09-23 03:15:33 -0600 asked a question how to attach multiple static ip through heat template

Hello, I had launched an instance with multiple static ip but only 1 ip is getting attached other are not available

> | e31f93cf-5b05-4095-a619-b171dff79927 | test                  | ACTIVE | a494_Provider_392=10.99.12.45; p02-private_Network_392=30.30.30.45; sarath_to_delete=1.1.1.2; sarath_to_delete_1=2.2.2.2 | CA4CI20_CP2_Deployer_30082019       
> 
> [root@test ~]# ip a
> 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
>     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
>     inet6 ::1/128 scope host
>        valid_lft forever preferred_lft forever
> 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 9000 qdisc pfifo_fast state UP group default qlen 1000
>     link/ether fa:16:3e:5e:83:b5 brd ff:ff:ff:ff:ff:ff
>     inet 10.99.12.45/26 brd 10.99.12.63 scope global dynamic eth0
>        valid_lft 86398sec preferred_lft 86398sec
>     inet6 fe80::f816:3eff:fe5e:83b5/64 scope link
>        valid_lft forever preferred_lft forever
> 3: eth1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
>     link/ether fa:16:3e:75:98:4e brd ff:ff:ff:ff:ff:ff
> 4: eth2: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
>     link/ether fa:16:3e:22:6a:6b brd ff:ff:ff:ff:ff:ff
> 5: eth3: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
>     link/ether fa:16:3e:75:8a:f0 brd ff:ff:ff:ff:ff:ff
> 6: docker0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default
>     link/ether 02:42:fa:25:39:ea brd ff:ff:ff:ff:ff:ff
>     inet 172.17.0.1/16 scope global docker0
>        valid_lft forever preferred_lft forever
> 
> 
> Heat template:
> 
>      type: OS::Nova::Server
>      properties:
>        name: test
>        flavor: oti_c8_c32_d300
>        key_name: crowd-key
>        availability_zone: zone-1
>        image: CA4CI20_CP2_Deployer_30082019
>        networks:
>          - port: { get_resource: instance_port4 }
>          - port: { get_resource: instance_port1 }
>          - port: { get_resource: instance_port2 }
>          - port: { get_resource: instance_port3 }
>    instance_port4:
>      type: OS::Neutron::Port
>      properties:
>        network_id: a494_Provider_392
>        security_groups:
>          - default
>        fixed_ips: [{ "ip_address": 10.99.12.45, "subnet_id": e1b3a6a5-a76b-49f8-ab23-845af011be6b}]
>    instance_port1:
>      type: OS::Neutron::Port
>      properties:
>        network_id: p02-private_Network_392
>        security_groups:
>          - default
>        fixed_ips: [{ "ip_address": 30.30.30.45, "subnet_id": 720d3985-8d8f-4570-9f0b-72499c1404dc}]
>    instance_port2:
>      type: OS::Neutron::Port
>      properties:
>        network_id: sarath_to_delete
>        security_groups:
>          - default
>        fixed_ips: [{ "ip_address": 1.1.1.2, "subnet_id": 4f276e31-3400-4e0e-8858-5d06d008e1a7}]
>    instance_port3:
>      type: OS::Neutron::Port
>      properties:
>        network_id: sarath_to_delete_1
>        security_groups:
>          - default
>        fixed_ips: [{ "ip_address": 2.2.2.2, "subnet_id": 6a666dab-3c6e-4b31-b5ef-bd094bf3bf16}]
>
2019-09-20 04:57:32 -0600 asked a question assigning multiple static ip with heat scripts

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. default: P02-Private_Network_392 PrivNetID: type: string description: Private Network ID to use for the instance. default: A494_Provider_392 foo: type: string default: bar security_group: type: string description: security_group for ssh and httpd. default: default

resources: instance: type: OS::Nova::Server properties: name: test flavor: oti_c8_c32_d300 key_name: crowd-key availability_zone: zone-1

   image: bcmt-baseos-18.12.0.rhel.x86_64.qcow2
   networks:
     - port: { get_resource: instance_port1 }
     - port: { get_resource: instance_port2 }

instance1_port1: type: OS::Neutron::Port properties: network_id: { get_param: PrivNetID } fixed_ips: - ip_address: 30.30.30.45
instance1_port2: type: OS::Neutron::Port properties: network_id: { get_param: NetID } fixed_ips: - ip_address: 10.99.12.45 outputs: instance_name: description: Name of the instance. value: { get_attr: [ instance, name ] } instance_ip: description: IP address of the instance. value: { get_attr: [ instance, first_address ] }

2019-09-20 04:57:27 -0600 asked a question Assigning multiple static ip in heat template
instance:
 type: OS::Nova::Server
 properties:
   name: test
   flavor: oti_c8_c32_d300
   key_name: crowd-key
   availability_zone: zone-1
   security_groups: default

    image: bcmt-baseos-18.12.0.rhel.x86_64.qcow2
   networks:
     - port: { get_resource: instance_port1 }
     - port: { get_resource: instance_port2 }         
   instance1_port1:
     type: OS::Neutron::Port
 properties:
   network_id: { get_param: PrivNetID }
   fixed_ips:
    - ip_address: 30.30.30.45      
   instance1_port2:
 type: OS::Neutron::Port
 properties:
   network_id: { get_param: NetID }
   fixed_ips:
    - ip_address: 10.99.12.45

getting below error

[root@p2bmdeployer ~/cemnova/ca4ci_glance]# openstack stack create -t test.yaml test ERROR: Property error: : resources.instance_port1.properties.security_groups: : "u'default'" is not a list