[Rdo-list] [heat] assign securitu group to an autoscaling group
by ICHIBA Sara
Hey there. When trying to assign a security group to an autoscaling groups
i get some errors. I would really appreciate if you can help me.
please find below the part of the template which describes the security
groups and its usage + the associated logs.
=======cassandra_scaling_up_down2.yaml
resources:
security_groups:
type: OS::Neutron::SecurityGroup
properties:
name: security_groups
rules:
- protocol: tcp
port_range_min: 8888
port_range_max: 8888
- protocol: tcp
port_range_min: 7000
port_range_max: 7000
- protocol: tcp
port_range_min: 7001
port_range_max: 7001
- protocol: icmp
- protocol: tcp
port_range_min: 22
port_range_max: 22
- protocol: tcp
port_range_min: 7199
port_range_max: 7199
- protocol: tcp
port_range_min: 9042
port_range_max: 9042
- protocol: tcp
port_range_min: 9160
port_range_max: 9160
db_port:
type: OS::Neutron::Port
properties:
network_id: { get_param: network }
fixed_ips:
- subnet_id: { get_param: subnet_id }
security_groups:
- {get_resource: security_groups}
group:
type: OS::Heat::AutoScalingGroup
properties:
cooldown: 60
desired_capacity: 1
max_size: 5
min_size: 1
resource:
type: OS::Nova::Server::Cassandra
properties:
flavor: {get_param: flavor}
image: {get_param: image}
key_name: {get_param: key_name}
networks:
- port: {get_resource: db_port}
===========environment.cassandra.yaml
resource_registry:
"OS::Nova::Server::Cassandra": "cassandra_envir.yaml"
==========cassandra_envir.yaml
resources:
server:
type: OS::Nova::Server
properties:
image: {get_param: image}
flavor: {get_param: flavor}
key_name: {get_param: key_name}
networks:
- port: { get_param: db_port }
metadata: {get_param: metadata}
user_data: {get_param: user_data}
user_data_format: RAW
========/var/log/heat/heat-
engine.log
2015-07-27 13:59:08.423 4665 INFO heat.engine.environment
[req-ca831d72-de65-459e-b330-8d89646f522a None] Registering
OS::Nova::Server::Cassandra ->
file:///etc/heat/templates/cassandra_envir.yaml
2015-07-27 13:59:08.449 4665 INFO heat.engine.environment
[req-f6dfcf2b-1936-4be1-b93f-c5cd151207e5 None] Registering
OS::Nova::Server::Cassandra ->
file:///etc/heat/templates/cassandra_envir.yaml
2015-07-27 13:59:10.678 4665 INFO heat.engine.service
[req-d240c68d-3be5-4254-b6bf-fc9dbca09bb6 None] Creating stack
cassandra_up_down_lb2
2015-07-27 13:59:10.695 4665 INFO heat.engine.environment
[req-d240c68d-3be5-4254-b6bf-fc9dbca09bb6 None] Registering
OS::Nova::Server::Cassandra ->
file:///etc/heat/templates/cassandra_envir.yaml
2015-07-27 13:59:10.710 4665 INFO heat.engine.resource
[req-d240c68d-3be5-4254-b6bf-fc9dbca09bb6 None] Validating HealthMonitor
"monitor"
2015-07-27 13:59:10.711 4665 INFO heat.engine.resource
[req-d240c68d-3be5-4254-b6bf-fc9dbca09bb6 None] Validating SecurityGroup
"security_groups"
2015-07-27 13:59:10.714 4665 INFO heat.engine.resource
[req-d240c68d-3be5-4254-b6bf-fc9dbca09bb6 None] Validating Port
"lb_vip_port"
2015-07-27 13:59:10.715 4665 INFO heat.engine.resource
[req-d240c68d-3be5-4254-b6bf-fc9dbca09bb6 None] Validating FloatingIP
"lb_vip_floating_ip"
2015-07-27 13:59:10.715 4665 INFO heat.engine.resource
[req-d240c68d-3be5-4254-b6bf-fc9dbca09bb6 None] Validating Port "db_port"
2015-07-27 13:59:10.716 4665 INFO heat.engine.resource
[req-d240c68d-3be5-4254-b6bf-fc9dbca09bb6 None] Validating Pool "pool"
2015-07-27 13:59:10.717 4665 INFO heat.engine.resource
[req-d240c68d-3be5-4254-b6bf-fc9dbca09bb6 None] Validating LoadBalancer "lb"
2015-07-27 13:59:10.718 4665 INFO heat.engine.resource
[req-d240c68d-3be5-4254-b6bf-fc9dbca09bb6 None] Validating
AutoScalingResourceGroup "group"
2015-07-27 13:59:10.719 4665 INFO heat.engine.resource
[req-d240c68d-3be5-4254-b6bf-fc9dbca09bb6 None] Validating
AutoScalingPolicy "scaledown_policy"
2015-07-27 13:59:10.719 4665 INFO heat.engine.resource
[req-d240c68d-3be5-4254-b6bf-fc9dbca09bb6 None] Validating
AutoScalingPolicy "scaleup_policy"
2015-07-27 13:59:10.720 4665 INFO heat.engine.resource
[req-d240c68d-3be5-4254-b6bf-fc9dbca09bb6 None] Validating CeilometerAlarm
"cpu_alarm_high"
2015-07-27 13:59:10.721 4665 INFO heat.engine.resource
[req-d240c68d-3be5-4254-b6bf-fc9dbca09bb6 None] Validating CeilometerAlarm
"cpu_alarm_low"
2015-07-27 13:59:10.722 4665 INFO heat.engine.resource
[req-d240c68d-3be5-4254-b6bf-fc9dbca09bb6 None] Validating
FloatingIPAssociation "lb_pool_vip"
2015-07-27 13:59:10.909 4665 INFO heat.engine.environment
[req-7417820d-085c-4e8f-b135-3ce1242b2c94 None] Registering
OS::Nova::Server::Cassandra ->
file:///etc/heat/templates/cassandra_envir.yaml
2015-07-27 13:59:10.913 4665 INFO heat.engine.environment
[req-7417820d-085c-4e8f-b135-3ce1242b2c94 None] Registering
OS::Nova::Server::Cassandra -> file:///etc/heat/templates/cassandra2.yaml
2015-07-27 13:59:10.916 4665 INFO heat.engine.environment
[req-7417820d-085c-4e8f-b135-3ce1242b2c94 None] Registering
OS::Nova::Server::Cassandra ->
file:///etc/heat/templates/single_instance.yaml
2015-07-27 13:59:11.014 4665 INFO heat.engine.stack [-] Stack CREATE
IN_PROGRESS (cassandra_up_down_lb2): Stack CREATE started
2015-07-27 13:59:11.015 4665 INFO heat.engine.resource [-] creating
HealthMonitor "monitor" Stack "cassandra_up_down_lb2"
[fe2a4224-a82d-4da1-8b97-a0bf02a9bffd]
2015-07-27 13:59:11.129 4665 INFO heat.engine.resource [-] creating
SecurityGroup "security_groups" Stack "cassandra_up_down_lb2"
[fe2a4224-a82d-4da1-8b97-a0bf02a9bffd]
2015-07-27 13:59:11.645 4665 INFO heat.engine.resource [-] creating Port
"lb_vip_port" Stack "cassandra_up_down_lb2"
[fe2a4224-a82d-4da1-8b97-a0bf02a9bffd]
2015-07-27 13:59:12.831 4665 INFO heat.engine.environment
[req-fcb6678c-bd7f-4edc-b257-234f1dd3d7b1 None] Registering
OS::Nova::Server::Cassandra ->
file:///etc/heat/templates/cassandra_envir.yaml
2015-07-27 13:59:12.835 4665 INFO heat.engine.environment
[req-fcb6678c-bd7f-4edc-b257-234f1dd3d7b1 None] Registering
OS::Nova::Server::Cassandra -> file:///etc/heat/templates/cassandra2.yaml
2015-07-27 13:59:12.838 4665 INFO heat.engine.environment
[req-fcb6678c-bd7f-4edc-b257-234f1dd3d7b1 None] Registering
OS::Nova::Server::Cassandra ->
file:///etc/heat/templates/single_instance.yaml
2015-07-27 13:59:13.024 4665 INFO heat.engine.resource [-] creating
FloatingIP "lb_vip_floating_ip" Stack "cassandra_up_down_lb2"
[fe2a4224-a82d-4da1-8b97-a0bf02a9bffd]
2015-07-27 13:59:13.225 4665 INFO heat.engine.resource [-] creating Port
"db_port" Stack "cassandra_up_down_lb2"
[fe2a4224-a82d-4da1-8b97-a0bf02a9bffd]
2015-07-27 13:59:13.480 4665 INFO heat.engine.resource [-] creating Pool
"pool" Stack "cassandra_up_down_lb2" [fe2a4224-a82d-4da1-8b97-a0bf02a9bffd]
2015-07-27 13:59:13.619 4665 INFO heat.engine.environment
[req-263836d3-bdd3-4bc8-a990-af7dca34fbea None] Registering
OS::Nova::Server::Cassandra ->
file:///etc/heat/templates/cassandra_envir.yaml
2015-07-27 13:59:13.646 4665 INFO heat.engine.environment
[req-d6dd8afd-e6a5-4224-8fea-993bdbc14609 None] Registering
OS::Nova::Server::Cassandra ->
file:///etc/heat/templates/cassandra_envir.yaml
2015-07-27 13:59:16.243 4665 INFO heat.engine.environment
[req-43937ec1-9155-4c67-b511-0426efa89d2a None] Registering
OS::Nova::Server::Cassandra ->
file:///etc/heat/templates/cassandra_envir.yaml
2015-07-27 13:59:16.269 4665 INFO heat.engine.environment
[req-e2fc1337-86a7-4b45-b6c1-f6a2f8265462 None] Registering
OS::Nova::Server::Cassandra ->
file:///etc/heat/templates/cassandra_envir.yaml
2015-07-27 13:59:18.318 4665 INFO heat.engine.resource [-] creating
LoadBalancer "lb" Stack "cassandra_up_down_lb2"
[fe2a4224-a82d-4da1-8b97-a0bf02a9bffd]
2015-07-27 13:59:18.331 4665 INFO heat.engine.resource [-] creating
AutoScalingResourceGroup "group" Stack "cassandra_up_down_lb2"
[fe2a4224-a82d-4da1-8b97-a0bf02a9bffd]
2015-07-27 13:59:18.345 4665 INFO heat.engine.environment [-] Registering
OS::Heat::ScaledResource -> AWS::EC2::Instance
2015-07-27 13:59:18.347 4665 INFO heat.common.urlfetch [-] Fetching data
from file:///etc/heat/templates/cassandra_envir.yaml
2015-07-27 13:59:18.351 4665 INFO heat.engine.resource [-] Validating
OS::Nova::Server::Cassandra "fespxephgvg2"
2015-07-27 13:59:18.352 4665 INFO heat.engine.stack [-] Property error :
fespxephgvg2: Property db_port not assigned
2015-07-27 13:59:18.352 4665 INFO heat.engine.resource [-] CREATE:
AutoScalingResourceGroup "group" Stack "cassandra_up_down_lb2"
[fe2a4224-a82d-4da1-8b97-a0bf02a9bffd]
2015-07-27 13:59:18.352 4665 TRACE heat.engine.resource Traceback (most
recent call last):
2015-07-27 13:59:18.352 4665 TRACE heat.engine.resource File
"/usr/lib/python2.7/site-packages/heat/engine/resource.py", line 439, in
_action_recorder
2015-07-27 13:59:18.352 4665 TRACE heat.engine.resource yield
2015-07-27 13:59:18.352 4665 TRACE heat.engine.resource File
"/usr/lib/python2.7/site-packages/heat/engine/resource.py", line 509, in
_do_action
2015-07-27 13:59:18.352 4665 TRACE heat.engine.resource yield
self.action_handler_task(action, args=handler_args)
2015-07-27 13:59:18.352 4665 TRACE heat.engine.resource File
"/usr/lib/python2.7/site-packages/heat/engine/scheduler.py", line 286, in
wrapper
2015-07-27 13:59:18.352 4665 TRACE heat.engine.resource step =
next(subtask)
2015-07-27 13:59:18.352 4665 TRACE heat.engine.resource File
"/usr/lib/python2.7/site-packages/heat/engine/resource.py", line 480, in
action_handler_task
2015-07-27 13:59:18.352 4665 TRACE heat.engine.resource handler_data =
handler(*args)
2015-07-27 13:59:18.352 4665 TRACE heat.engine.resource File
"/usr/lib/python2.7/site-packages/heat/engine/resources/autoscaling.py",
line 573, in handle_create
2015-07-27 13:59:18.352 4665 TRACE heat.engine.resource
self._environment())
2015-07-27 13:59:18.352 4665 TRACE heat.engine.resource File
"/usr/lib/python2.7/site-packages/heat/engine/stack_resource.py", line 203,
in create_with_template
2015-07-27 13:59:18.352 4665 TRACE heat.engine.resource adopt_data)
2015-07-27 13:59:18.352 4665 TRACE heat.engine.resource File
"/usr/lib/python2.7/site-packages/heat/engine/stack_resource.py", line 165,
in _parse_nested_stack
2015-07-27 13:59:18.352 4665 TRACE heat.engine.resource
nested.validate()
2015-07-27 13:59:18.352 4665 TRACE heat.engine.resource File
"/usr/lib/python2.7/site-packages/heat/engine/stack.py", line 461, in
validate
2015-07-27 13:59:18.352 4665 TRACE heat.engine.resource raise ex
2015-07-27 13:59:18.352 4665 TRACE heat.engine.resource
StackValidationFailed: Property error : fespxephgvg2: Property db_port not
assigned
2015-07-27 13:59:18.352 4665 TRACE heat.engine.resource
2015-07-27 13:59:19.389 4665 INFO heat.engine.stack [-] Stack CREATE FAILED
(cassandra_up_down_lb2): Resource CREATE failed: StackValidationFailed:
Property error : fespxephgvg2: Property db_port not assigned
2015-07-27 13:59:19.389 4665 INFO heat.engine.service [-] Stack create
failed, status FAILED
b.regards,
Sara
9 years, 3 months
[Rdo-list] kilo centos versus rdo repos
by Jeff Weber
As an upstream user which set of repos are the recommended target to obtain
rpms for installing an running kilo?
I believe a few months back a message had indicated that the centos repos
would be the preferred target, but monitoring both it seems newer packages
which aren't in the centos repos have made it into the rdo hosted repos.
Which of the two are recommended?
9 years, 3 months
[Rdo-list] VM instance will not start
by brian lee
I have a fresh 2 node install of Kilo, maybe working with Nova networking
(I dont know yet). When I try to start a VM I get this error in Horizon:
Error: No valid host was found. There are not enough hosts available.
There is nothing really telling in the logs beside this in the scheduler:
2015-07-22 19:57:56.232 22843 ERROR oslo_messaging._drivers.impl_rabbit [-]
Failed to consume message from queue:
2015-07-22 19:59:19.465 997 WARNING oslo_config.cfg
[req-d19b6788-9f3b-49e6-9124-b945f4c3e3e6 - - - - -] Option
"sql_connection" from group "DEFAULT" is deprecated. Use option
"connection" from group "database".
2015-07-22 19:59:20.739 997 WARNING oslo_config.cfg
[req-d19b6788-9f3b-49e6-9124-b945f4c3e3e6 - - - - -] Option "lock_path"
from group "DEFAULT" is deprecated. Use option "lock_path" from group
"oslo_concurrency".
2015-07-22 19:59:20.785 997 INFO nova.service [-] Starting scheduler node
(version 2015.1.0-3.el7)
2015-07-22 19:59:20.959 997 INFO oslo_messaging._drivers.impl_rabbit
[req-0d6a61c6-54eb-42df-a2a2-596d535a8ac5 - - - - -] Connecting to AMQP
server on 10.32.97.133:5672
2015-07-22 19:59:20.976 997 ERROR oslo_messaging._drivers.impl_rabbit
[req-0d6a61c6-54eb-42df-a2a2-596d535a8ac5 - - - - -] AMQP server on
10.32.97.133:5672 is unreachable: [Errno 111] ECONNREFUSED. Trying again in
1 seconds.
I am not seeing any other errors in the log files, any idea what else to
check?
--Brian
9 years, 3 months
[Rdo-list] Juno on Fedora 22
by Will Yonker
Hi,
I'm trying to install on Fedora 22 and ran into a few issues. My first
question is if I should be trying for Juno or Kilo. I haven't been able
to get Kilo working so I switched to Juno. In order to get Juno to go, I
had to edit the rdo-release.repo file and point the baseurl to
http://repos.fedorapeople.org/repos/openstack/openstack-juno/epel-7/.
Is that the correct way to do it?
I'm installing useing:
packstack --allinone
So, I get an error from mysql (MariaDB) that looks like:
Error: Evaluation Error: Comparison of: String >= Integer, is not
possible. Caused by 'A String is not comparable to a non String'. at
/var/tmp/packstack/8e5b1411ef25462dad1e216ac75fb2ab/modules/mysql/manifests/params.pp:35:82
on node
The file that it is point to nolonger exists so I didn't dig any further.
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
9 years, 3 months
[Rdo-list] [meeting] RDO packaging meeting minutes (2015-07-22)
by Alan Pevec
========================================
#rdo: RDO packaging meeting (2015-07-22)
========================================
Meeting started by apevec at 15:00:36 UTC. The full logs are available
at
http://meetbot.fedoraproject.org/rdo/2015-07-22/rdo.2015-07-22-15.00.log....
.
Meeting summary
---------------
* roll call (apevec, 15:00:49)
* agenda at https://etherpad.openstack.org/p/RDO-Packaging (apevec,
15:00:56)
* LINK: https://bugzilla.redhat.com/show_bug.cgi?id=1243533
(number80, 15:03:01)
* liberty reviews (apevec, 15:04:20)
* ACTION: apevec start tracking package reviews more closely (apevec,
15:09:37)
* various clients issues raised (apevec, 15:12:13)
* LINK: https://bugzilla.redhat.com/show_bug.cgi?id=1244291
(number80, 15:12:40)
* please forward clients issues to hguemar if they're not processed
(apevec, 15:12:54)
* ACTION: chandankumar to take over RDO bz reports from larsks
(apevec, 15:16:17)
* open floor (apevec, 15:17:01)
* LINK:
https://github.com/gregswift/barbican-spec/commit/46acd1998c7bb890acecd8a...
(xaeth, 15:25:33)
Meeting ended at 15:30:55 UTC.
Action Items
------------
* apevec start tracking package reviews more closely
* chandankumar to take over RDO bz reports from larsks
Action Items, by person
-----------------------
* apevec
* apevec start tracking package reviews more closely
* chandankumar
* chandankumar to take over RDO bz reports from larsks
* larsks
* chandankumar to take over RDO bz reports from larsks
* **UNASSIGNED**
* (none)
People Present (lines said)
---------------------------
* apevec (52)
* number80 (26)
* ktdreyer (7)
* elmiko (5)
* zodbot (5)
* chandankumar (5)
* alphacc (4)
* xaeth (4)
* larsks (3)
* jruzicka (3)
* ayoung (3)
* pixelbeat_ (2)
* eggmaste` (1)
* dtantsur (1)
Generated by `MeetBot`_ 0.1.4
.. _`MeetBot`: http://wiki.debian.org/MeetBot
9 years, 3 months
[Rdo-list] new packages needed for python-networking-vmware-nsx
by Ihar Hrachyshka
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Hi all,
I'm working on a new package for neutron vmware NSX mechanism driver
for Delorean, and here is the list of dependencies that are missing in
repos used by Delorean:
Error: No Package found for python-eventlet >= 0.17.4
Error: No Package found for python-fixtures >= 1.3.1
Error: No Package found for python-mock >= 1.1
Error: No Package found for python-testtools >= 1.4.0
Error: No Package found for python-tooz >= 0.16.0
I've checked some of those on fed pkgdb, and it seems most (all?) of
them are not even in koji.
Some of them are test only, like mock or fixtures or testtools.
But for tooz and eventlet, those are runtime dependencies.
Some questions:
- - which repos does delorean use?
- - do we have any instructions on how to get updated deps in fedora? Or
are we just going to each maintainer and ask him to bump?
Ihar
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iQEcBAEBCAAGBQJVr5HWAAoJEC5aWaUY1u57noUH/1FNaKsQx4zD4qOiECA/leqD
Jf6RqhBoIUh5ISOjGO4Swtxv/8qnO3Z+8rQe8rVgH4Dh5M+XppQISws9OWn4eZl3
5R4D2g9n4PpnOeyM/XVjdhojyVQfZhNhpjd0WwjM5wsUoEcTwsjaTQCg6/0oqxy5
/rwt6TcHAhnGeFNXcwqCBC8uSoH8MjsZs+vJewzFqQraL1ofk7fMQdBy455Mjyyy
u+n1etJpI7Q/PDcdEHzpwkfZ6VtiAhqVR2h3HtL3/KT78EhGE/8J+lwzs4DYn7Y8
MUiTtI7U+CWvZ5cMAICsIUuAvQe3aEYBTl1caRlt3yICa8ByYK6s6u4gkrQilzw=
=hxAj
-----END PGP SIGNATURE-----
9 years, 3 months
[Rdo-list] Install openstack in c7000 Blade servers
by Bravo, Ignacio
Hi,
Has anyone performed a production deployment into a c7000/c3000 HP
enclosure? I am looking for information on how to better configure the
networking piece of the servers to take advantage of the 10Gb Nics.
Thanks,
IB
--
*Ignacio Bravo*
*LTG Federal*
ibravo(a)ltgfederal.com <roganc(a)ltgfederal.com>
9 years, 3 months