Tuesday, June 7, 2016

JAX-RS 2.0 Client API on Tomcat 8 running Spring 4, Hibernate 4 with a Jersey 2 RestController

Rest Client

package com.obrienlabs.gps.integration;
import javax.ws.rs.client.Client;
import javax.ws.rs.client.ClientBuilder;
import javax.ws.rs.client.Entity;
import javax.ws.rs.client.WebTarget;
import javax.ws.rs.core.Response;
import com.obrienlabs.gps.business.entity.Record;
import com.obrienlabs.gps.business.entity.User;
public class JAXRSClient {
public void run() {
Long id = 1L;
Client client = ClientBuilder.newClient();
WebTarget rootTarget = client.target("http://127.0.0.1:8080/biometric/rest/read");
WebTarget latestTarget = rootTarget.path("json/latest");
WebTarget finalTarget = latestTarget.path(id.toString());
Record record = finalTarget.request().get(Record.class);
System.out.println(record);
client.close();

}
public static void main(String[] args) {
JAXRSClient client = new JAXRSClient();
client.run();
}

Rest Backend 


pom.xml


RestController

@Path("/read")
////@Produces("text/plain")
//@Consumes("application/json")
//@RestController
//@Service("daoFacade")
//@TransactionConfiguration(transactionManager = "transactionManager", defaultRollback = true)
@RequestMapping("/read")
@Component
public class RestServiceImpl extends Application {
// https://jersey.java.net/documentation/latest/spring.html
// http://stackoverflow.com/questions/3027834/inject-a-ejb-into-jax-rs-restfull-service
// not supported until 2.0 https://java.net/jira/browse/JERSEY-517
//@EJB(name="ejb/ApplicationService") // not for JAX-RS
// 20160606: spring injection requires jersey-spring3 from org.glassfish.jersey.ext with spring 4 exclusions in the pom
@Inject
//@Autowired
@Qualifier("daoFacade")

    private ApplicationServiceLocal applicationServiceLocal;// = new ApplicationService();

   @GET
   @Path("/json/record/{identifier}")  
   @Produces(MediaType.APPLICATION_JSON)
   public String getRecordJSON(@PathParam("identifier")String identifier) {    
      return Integer.toString(read(identifier).size());
   }

Friday, April 29, 2016

VM creation for Microservices HA infrastructure

Amazon EC2, RDS and ElasticBeanstalk work very well but are a bit expensive when you have your own 12 core systems at home that can be used for most backend services.


VM Boostrap


Normally I would use Chef to provision the VM.  This is the manual configuration list to get a repeatable VM snapshot built.

We are running a RHEL 7.2 VM on top of either Windows 10 or MacOS 10

Register System
Attach Subscription

1. Change hostname (some services need differentiation in an HA environment
[root@localhost ~]# vi /etc/hosts
[rootRHEL7@localhost ~]# hostnamectl set-hostname biometric-vm01
[rootRHEL6@localhost ~]# vi /etc/sysconfig/network
[root@localhost ~]# systemctl restart systemd-hostnamed

verify /etc/hosts has the correct ip set for the VM

2. Install Java 8
[root@biometric-vm01 ~]# alternatives --config java
  Selection    Command
-----------------------------------------------
   1           /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.91-2.6.2.3.el7.x86_64/jre/bin/java
*+ 2           /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.65-3.b17.el7.x86_64/jre/bin/java

3. yum update -y

4. Install Tomcat (In the past i would install a full EE server like WebLogic 12c but a Tomcat + Spring container is now the way forward)

   56  firewall-cmd --permanent --zone=public --add-port=8080/tcp
   57  sudo groupadd tomcat
   58  sudo useradd -M -s /bin/nologin -g tomcat -d /opt/tomcat tomcat
   59  cd ~
   62  wget http://mirror.sdunix.com/apache/tomcat/tomcat-8/v8.0.33/bin/apache-tomcat-8.0.33.tar.gz
   63  sudo mkdir /opt/tomcat
   65  sudo tar xvf apache-tomcat-8*tar.gz -C /opt/tomcat --strip-components=1
   66  cd /opt/tomcat
   67  sudo chgrp -R tomcat conf
   68  sudo chmod g+rwx conf
   69  sudo chmod g+r conf/*
   70  sudo chown -R tomcat webapps/ work/ temp/ logs/
   71  sudo vi /etc/systemd/system/tomcat.service
   72  sudo systemctl daemon-reload
   73  sudo systemctl start tomcat
   74  sudo systemctl enable tomcat

   81  systemctl restart firewalld.service

5. Setup developer services

6. PostgreSQL install - for ORM services via Hibernate or better EclipseLink

7. MySQL install

http://dev.mysql.com/doc/refman/5.7/en/linux-installation-yum-repo.html 
cd Downloads
yum repolist enabled | grep "mysql.*-community.*"
yum localinstall mysql57-community-release-el7-8.noarch.rpm
yum install mysql-community-server
  Installing : mysql-community-common-5.7.12-1.el7.x86_64                                                              1/6
  Installing : mysql-community-libs-5.7.12-1.el7.x86_64                                                                2/6
  Installing : mysql-community-client-5.7.12-1.el7.x86_64                                                              3/6
  Installing : mysql-community-server-5.7.12-1.el7.x86_64                                                              4/6
  Installing : mysql-community-libs-compat-5.7.12-1.el7.x86_64                                                         5/6
  Erasing    : 1:mariadb-libs-5.5.47-1.el7_2.x86_64                                                                    6/6
  Verifying  : mysql-community-client-5.7.12-1.el7.x86_64                                                              1/6
  Verifying  : mysql-community-server-5.7.12-1.el7.x86_64                                                              2/6
  Verifying  : mysql-community-common-5.7.12-1.el7.x86_64                                                              3/6
  Verifying  : mysql-community-libs-5.7.12-1.el7.x86_64                                                                4/6
  Verifying  : mysql-community-libs-compat-5.7.12-1.el7.x86_64                                                         5/6
  Verifying  : 1:mariadb-libs-5.5.47-1.el7_2.x86_64                                                                    6/6

service mysqld start
grep 'temporary password' /var/log/mysqld.log
mysql -uroot -p
mysql> ALTER User 'root'@'localhost' IDENTIFIED BY 'S';
/usr/bin/mysql_secure_installation
mysql -u root -p

mysql>create database biometric;

here

mysql>create user 'obrienlabs'@'192.168.0.21' IDENTIFIED BY 'OC';
mysql>grant all on biometric.* to 'obrienlabs'@'192.168.0.21';
mysql> create user 'obriensystems'@'%' IDENTIFIED BY 'S';
mysql> grant all on biometric.* to 'obriensystems'@'%';
mysql>flush privileges;
firewall-cmd --permanent --zone=public --add-service=mysql
firewall-cmd --permanent --zone=public --add-port=3306/tcp
systemctl restart firewalld.service

help hibernate run the following
    private TypedQuery<Record> getTypedCriteriaQuery(EntityManager entityManager, String user) {
  CriteriaBuilder cb = entityManager.getCriteriaBuilder();
CriteriaQuery<Record> query = cb.createQuery(Record.class);
Root<Record> target = query.from(Record.class);
// workaround for http://stackoverflow.com/questions/16348354/how-do-i-write-a-max-query-with-a-where-clause-in-jpa-2-0
SingularAttribute<? super Record, Long> anAttribute = entityManager.getMetamodel()
    .entity(Record.class).getSingularAttribute("tsStop", Long.class);
query.orderBy(
    cb.desc(target.get(anAttribute)));
    query.where(

     cb.equal(target.get("userId"), user));
TypedQuery<Record> typedQuery = entityManager.createQuery(query);
return typedQuery;

    }

#https://github.com/Elgg/Elgg/issues/8121
# remove ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES
SET GLOBAL sql_mode = 'NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION';
SET SESSION sql_mode = 'NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION';

SELECT @@GLOBAL.sql_mode;
SELECT @@SESSION.sql_mode;
8. Neo4J install - for graph based nosql (a geohash tree for example)


9. JPA

Hibernate on Spring Repository

<?xml version="1.0"?>
<beans xmlns="http://www.springframework.org/schema/beans"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xmlns:task="http://www.springframework.org/schema/task"
       xmlns:context="http://www.springframework.org/schema/context"
       xmlns:tx="http://www.springframework.org/schema/tx"
       xmlns:p="http://www.springframework.org/schema/p"
       xmlns:util="http://www.springframework.org/schema/util"
       xmlns:mvc="http://www.springframework.org/schema/mvc"
       xsi:schemaLocation="http://www.springframework.org/schema/beans
                           http://www.springframework.org/schema/beans/spring-beans.xsd
                           http://www.springframework.org/schema/context
                           http://www.springframework.org/schema/context/spring-context.xsd
                           http://www.springframework.org/schema/task
                           http://www.springframework.org/schema/task/spring-task.xsd
                           http://www.springframework.org/schema/mvc
                           http://www.springframework.org/schema/mvc/spring-mvc.xsd
                           http://www.springframework.org/schema/tx
                           http://www.springframework.org/schema/tx/spring-tx.xsd
                           http://www.springframework.org/schema/util
                           http://www.springframework.org/schema/util/spring-util.xsd">
    <context:component-scan base-package="com....orm"/>
    <context:annotation-config/>
    <!-- mvc:annotation-driven/-->
    <!-- tx:annotation-driven/-->
    
    <!-- bean id="contextAwareMBeanServer" class="com.common.DefaultServerMBean" />
    <bean id="dbConfig" class="com.common.util.NspConfig" depends-on="contextAwareMBeanServer">
        <constructor-arg type="java.lang.String" index="0" name="aInFileName" value="pgsql.conf" />
    </bean-->
    <!-- bean class="com..app.ts.bwcal.config.SwaggerConfig"/-->
    <bean class="org.springframework.dao.annotation.PersistenceExceptionTranslationPostProcessor"/>
    <bean class="org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor"/>
    <bean id="dataSource" class="com.mchange.v2.c3p0.ComboPooledDataSource" destroy-method="close">
    <!-- bean id="dataSource" class="org.springframework.jdbc.datasource.DriverManagerDataSource" destroy-method="close"-->    
        <property name="driverClass" value="org.postgresql.Driver" />
        <property name="jdbcUrl" value="jdbc:postgresql://127.0.0.1:6432/orbwdb?ssl=true&amp;sslfactory=org.postgresql.ssl.NonValidatingFactory" />
        <property name="user" value="taskscheduler" />
        <property name="password" value="taskscheduler" />
        <property name="minPoolSize" value="10"/>
        <property name="maxPoolSize" value="20"/>
        <property name="acquireIncrement" value="2"/>
        <property name="maxStatementsPerConnection" value="100"/>
        <property name="testConnectionOnCheckin" value="true" />
        <property name="testConnectionOnCheckout" value="true" />
        <property name="idleConnectionTestPeriod" value="90" />
        <property name="preferredTestQuery" value="SELECT 1" />        
    </bean>
    
    <!-- bean id="liquibase2" class="liquibase.integration.spring.SpringLiquibase">
        <property name="dataSource" ref="dataSource" />
        <property name="changeLog" value="classpath:db/changelog/db-changelog-master.xml" />
        <property name="defaultSchema" value="taskscheduler" />
    </bean-->  
    <bean id="jpaAdapter" class="org.springframework.orm.jpa.vendor.HibernateJpaVendorAdapter">
        <property name="databasePlatform" value="org.hibernate.dialect.PostgreSQLDialect"/>
        <property name="generateDdl" value="true"/>
        <property name="showSql" value="true"/>
    </bean>
    <bean id="emf" class="org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean"
          p:jpaVendorAdapter-ref="jpaAdapter">
        <property name="persistenceUnitName" value="openflow"></property>
        <property name="dataSource" ref="dataSource"></property>
        <property name="jpaProperties">
            <props>
                <prop key="hibernate.hbm2ddl.auto">create-drop</prop>
                <prop key="hibernate.flushMode">FLUSH_AUTO</prop>
                <prop key="hibernate.temp.use_jdbc_metadata_defaults">false</prop>
            </props>
        </property>
    </bean>
    <bean id="txManager" class="org.springframework.orm.jpa.JpaTransactionManager"
          p:entityManagerFactory-ref="emf"/>
    <tx:annotation-driven transaction-manager="txManager"/>
</beans>

EclipseLink on Spring Repository

Hibernate on Spring-data-jpa

EclipseLink on Spring-data-jpa


Tuesday, December 15, 2015

Historical Links - for Research

http://eclipse.1072660.n5.nabble.com/template/NamlServlet.jtp?macro=user_nodes&user=357
https://bugs.eclipse.org/bugs/show_bug.cgi?id=266912
http://wiki.eclipse.org/User:Michael.obrien.oracle.com
http://wiki.eclipse.org/User:Michael.f.obrien.eclipselink.org
https://www.linkedin.com/in/michael-o-brien-95b65b32
https://www.quora.com/profile/Michael-F-OBrien
https://community.oracle.com/thread/2249518?tstart=0
https://community.oracle.com/people/872988?customTheme=otn
https://netbeans.org/projects/platform/lists/dev/archive/2011-01/message/399
http://forums.terracotta.org/forums/posts/list/2227.page
http://stackoverflow.com/users/417402/michael-obrien
https://jira.spring.io/si/jira.issueviews:issue-html/SPR-6826/SPR-6826.html
http://www.theserverside.com/news/thread.tss?thread_id=50305#271037
http://wiki.eclipse.org/EclipseLink/Examples/JPA/WebLogic_Web_Tutorial
https://docs.oracle.com/cd/E28280_01/apirefs.1111/b32476/oracle/toplink/platform/server/oc4j/Oc4j_11_1_1_Platform.html
https://community.oracle.com/thread/3544823?start=0&tstart=0
http://www.objectivej.com/

My Research
Weather radar capture and processing for thunderstorm tracking prediction
http://obrienscience.blogspot.ca/2011/08/radar.html

Parallel processing throughput optimization
http://obrienscience.blogspot.ca/2011/03/distributed-and-multithreaded.html
http://obrienscience.blogspot.ca/2011/01/sequences-and-patterns.html


realtime biometric (heartrate) tracking for detection of exercise induced HR abnormalities
http://eclipsejpa.blogspot.ca/2013/09/restjax-rs-ios7-weblogic-12c-bluetooth.html

Thursday, November 5, 2015

DevOps

Switch JDK on MacOS

obrienlabs-mbp15:bin michaelobrien$ /usr/libexec/java_home -V
Matching Java Virtual Machines (6):
    1.8.0_65, x86_64: "Java SE 8" /Library/Java/JavaVirtualMachines/jdk1.8.0_65.jdk/Contents/Home
    1.8.0_20, x86_64: "Java SE 8" /Library/Java/JavaVirtualMachines/jdk1.8.0_20.jdk/Contents/Home
    1.8.0_11, x86_64: "Java SE 8" /Library/Java/JavaVirtualMachines/jdk1.8.0_11.jdk/Contents/Home
    1.7.0_51, x86_64: "Java SE 7" /Library/Java/JavaVirtualMachines/jdk1.7.0_51.jdk/Contents/Home
    1.7.0_45, x86_64: "Java SE 7" /Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home
    1.7.0_15, x86_64: "Java SE 7" /Library/Java/JavaVirtualMachines/jdk1.7.0_15.jdk/Contents/Home

/Library/Java/JavaVirtualMachines/jdk1.8.0_65.jdk/Contents/Home


obrienlabs-mbp15:bin michaelobrien$ sudo ln -nsf /Library/Java/JavaVirtualMachines/jdk1.7.0_51.jdk/Contents \
> /System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK
ln: /System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK: Operation not permitted
obrienlabs-mbp15:bin michaelobrien$ export JAVA_HOME=`/usr/libexec/java_home -v 1.8.0_65`
obrienlabs-mbp15:bin michaelobrien$ echo $JAVA_HOME
/Library/Java/JavaVirtualMachines/jdk1.8.0_65.jdk/Contents/Home
obrienlabs-mbp15:bin michaelobrien$ vi ~/.bashrc

obrienlabs-mbp15:bin michaelobrien$ java -version
java version "1.8.0_65"
Java(TM) SE Runtime Environment (build 1.8.0_65-b17)
Java HotSpot(TM) 64-Bit Server VM (build 25.65-b01, mixed mode)
obrienlabs-mbp15:bin michaelobrien$ javac -version

javac 1.8.0_65

Ubuntu
Add proxy for APT
 Add the following line to /etc/apt/apt.conf : Acquire::http::proxy "http://global.proxy.*-*.com:8000/";

Static Network Config
Second Network Config survives reboot
RHEL
>vi /etc/sysconfig/network-scripts/ifcfg-*
ONBOOT=yes

BOOTPROTO=static
NETWORK=192.168.2.0
NETMASK=255.255.255.0
IPADDR=192.168.2.101
USERCTL=no
DNS1=192.168.2.1
GATEWAY=192.168.2.1

for dns check /etc/yp.conf

IOS 9.0/Xcode 7 Security changes force HTTPS

state

Xcode 7 changes block http access

2015-10-17 19:40:27.422 Biometric[72723:1193943] App Transport Security has blocked a cleartext HTTP (http://) resource load since it is insecure. Temporary exceptions can be configured via your app's Info.plist file.


https://developer.apple.com/library/prerelease/ios/technotes/App-Transport-Security-Technote/index.html


PostgreSQL 9.4 Installation - RHEL 7.2

   yum install http://yum.postgresql.org/9.4/redhat/rhel-7-x86_64/pgdg-redhat94-9.4-1.noarch.rpm
   yum install postgresql94-server postgresql94-contrib
   /usr/pgsql-9.4/bin/postgresql94-setup initdb
   chkconfig postgresql-9.4 on
   systemctl enable postgresql-9.4.service

   systemctl start postgresql-9.4.service


vi /var/lib/pgsql/9.4/data/pg_hba.conf 
host    all             all             192.168.0.0/24          trust


MySQL 5.7 install - RHEL 7.2

http://dev.mysql.com/downloads/mysql/ 
http://dev.mysql.com/doc/refman/5.7/en/linux-installation-yum-repo.html
cd Downloads
yum repolist enabled | grep "mysql.*-community.*"
yum localinstall mysql57-community-release-el7-8.noarch.rpm
yum install mysql-community-server
service mysqld start
grep 'temporary password' /var/log/mysqld.log
mysql -uroot -p
mysql> ALTER User 'root'@'localhost' IDENTIFIED BY 'S';
/usr/bin/mysql_secure_installation
mysql -u root -p

mysql>create database biometric;
mysql>create user 'obrienlabs'@'192.168.0.21' IDENTIFIED BY 'OC';
mysql>grant all on biometric.* to 'obrienlabs'@'192.168.0.21';
mysql> create user 'obriensystems'@'%' IDENTIFIED BY 'S';
mysql> grant all on biometric.* to 'obriensystems'@'%';
mysql>flush privileges;
firewall-cmd --permanent --zone=public --add-service=mysql
firewall-cmd --permanent --zone=public --add-port=3306/tcp
systemctl restart firewalld.service

help hibernate
#https://github.com/Elgg/Elgg/issues/8121
# remove ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES
SET GLOBAL sql_mode = 'NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION';
SET SESSION sql_mode = 'NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION';

SELECT @@GLOBAL.sql_mode;
SELECT @@SESSION.sql_mode;


block systems doing 330ms scans on /manager
24-Apr-2016 20:56:23.562 WARNING [http-nio-8080-exec-1] org.apache.catalina.realm.LockOutRealm.authenticate An attempt was made to authenticate the locked user "manager"
191.100.28.217 - - [24/Apr/2016:20:56:23 -0400] "GET /manager/html HTTP/1.1" 401 2473
traceroute to 191.100.28.217 (191.100.28.217), 30 hops max, 60 byte packets
 1  gateway (192.168.0.1)  1.751 ms  2.171 ms  2.460 ms
 2  7.11.161.65 (7.11.161.65)  15.363 ms  15.520 ms  18.285 ms
 3  67.231.220.65 (67.231.220.65)  19.414 ms  19.632 ms  19.744 ms
 4  van58-9-231-73.dynamic.rogerstelecom.net (209.148.231.73)  27.127 ms  27.336 ms  35.187 ms
 5  van58-9-229-225.dynamic.rogerstelecom.net (209.148.229.225)  38.660 ms  39.272 ms  39.359 ms
 6  24.156.144.178 (24.156.144.178)  50.564 ms  33.076 ms  38.590 ms
 7  if-ae-12-0.tcore2.CT8-Chicago.as6453.net (64.86.79.89)  50.078 ms  51.630 ms  51.746 ms
 8  if-ae-26-2.tcore2.NTO-New-York.as6453.net (216.6.81.28)  58.778 ms  58.646 ms  58.857 ms
 9  if-ae-14-15.thar2.NJY-Newark.as6453.net (66.198.111.8)  58.387 ms if-ae-26-2.tcore2.NTO-New-York.as6453.net (216.6.81.28)  66.430 ms if-ae-18-2.thar2.NJY-Newark.as6453.net (66.198.111.6)  66.812 ms
10  if-ae-11-2.tcore2.AEQ-Ashburn.as6453.net (216.6.87.137)  68.125 ms  69.242 ms if-ae-14-14.thar2.NJY-Newark.as6453.net (66.198.111.125)  67.023 ms
11  if-ae-2-2.tcore1.AEQ-Ashburn.as6453.net (216.6.87.2)  67.213 ms  67.326 ms  69.655 ms
12  if-ae-2-2.tcore1.AEQ-Ashburn.as6453.net (216.6.87.2)  56.081 ms 66.198.155.2 (66.198.155.2)  64.697 ms if-ae-2-2.tcore1.AEQ-Ashburn.as6453.net (216.6.87.2)  47.116 ms
13  66.198.155.2 (66.198.155.2)  46.881 ms te0-6-0-1-grtjaxtw1.net.telefonicaglobalsolutions.com (176.52.249.141)  71.706 ms te0-7-0-2-grtjaxtw1.net.telefonicaglobalsolutions.com (176.52.251.203)  80.713 ms
14  te0-6-0-5-grtjaxtw1.net.telefonicaglobalsolutions.com (84.16.15.199)  75.481 ms telconet_te-0-0-0-36-grtjaxtw1.net.telefonicaglobalsolutions.com (213.140.39.109)  139.924 ms  150.283 ms
15  telconet_te-0-0-0-36-grtjaxtw1.net.telefonicaglobalsolutions.com (213.140.39.109)  147.605 ms * *
16  * 186.3.125.54 (186.3.125.54)  149.461 ms  171.109 ms
17  * * *

18  217.191-100-28.etapanet.net (191.100.28.217)  178.335 ms * *

[root@nuc12-i7 ~]# firewall-cmd --permanent --add-rich-rule="rule family='ipv4' source address='188.40.95.70' reject"

[root@nuc12-i7 ~]# firewall-cmd --permanent --add-rich-rule="rule family='ipv4' source address='191.100.28.217' reject"

Sunday, September 13, 2015

Spring Externalized Configuration Design Patterns

This post is a dump of details surrounding setting up a configuration ecosystem for WAR deployments that is independent and as stateless as possible.
Some of these patterns I learned while developing the Drug Database and API for Telus Health.  However, the major portion of these patterns I picked up while developing with ProntoForms Inc.

Requirements


R1)  Environment variance: Some of the configuration will vary depending on whether we are in a production, staging, qa or dev deployment.
R2) Developer and Task specific: We will allow for developer and task discriminators to further specialize and override properties
R3) Plural properties: We need the ability to specify arbitrary sets or lists of property values - via XML or YAML



Implementation

Normally I would put the ecosystem, discriminator and developer variables in the @Value annotation to do some runtime dynamic substitution.  However, this would target only a specific node in the properties tree.  What we need is a layered resolution of properties where we override any properties previously loaded with those deeper in the tree.  We accomplish this by loading the properties in sequence.

    <context:property-placeholder 
        location="file:///${os.environment.configuration.dir}//${os.environment.ecosystem}/biometric.properties" 
        order="1" ignore-unresolvable="true" ignore-resource-not-found="true"/>
    <context:property-placeholder 
        location="file:///${os.environment.configuration.dir}//${os.environment.ecosystem}/${os.environment.discriminator:}/biometric.properties" 
        order="2" ignore-unresolvable="true" ignore-resource-not-found="true"/>
    <context:property-placeholder 
        location="file:///${os.environment.configuration.dir}//${os.environment.ecosystem}/${os.environment.developer.username:}/biometric.properties" 
        order="3" ignore-unresolvable="true" ignore-resource-not-found="true"/>
    <context:property-placeholder 
        location="file:///${os.environment.configuration.dir}//${os.environment.ecosystem}/${os.environment.discriminator:}/${os.environment.developer.username:}/biometric.properties" 

        order="4" ignore-unresolvable="true" ignore-resource-not-found="true"/>

        

System environment variables

Tomcat container - Launch Configuration | Environment
os.environment.ecosystem=dev
os.environment.developer=obrien
os.environment.discriminator=<empty>
os.environment.configuration.dir=/wsc/os/config

File System property files

/wsc/os/config/biometric.properties
os.environment.persistencecontext.applicationservice.name=from

Note: for external resources you also need the following for missing directories

ignore-resource-not-found="true"

Spring context xml

 <context:property-placeholder 
        location="file:///${os.environment.configuration.dir}/biometric.properties" />

    <util:list id="locationsList">
        <value>${os.environment.configuration.dir:classpath:}/${os.environment.ecosystem}}</value>
        <value>${os.environment.configuration.dir:classpath:}/${os.environment.ecosystem}/${os.environment.discriminator:}}</value>
        <value>${os.environment.configuration.dir:classpath:}/${os.environment.ecosystem}/${os.environment.developer.username:}}</value>
        <value>${os.environment.configuration.dir:classpath:}/${os.environment.ecosystem}/${os.environment.discriminator:}/${os.environment.developer.username:}}</value>
    </util:list>

Spring Bean


private @Value("${server}") String server;
@PersistenceContext(name="${os.environment.persistencecontext.applicationservice.name}")

private EntityManager entityManager;


References
https://jira.spring.io/browse/SPR-5719
https://jira.spring.io/browse/SPR-6428

Sunday, June 28, 2015

OpenStack Private Cloud

Setup
Ubuntu MaaS and DevStack are free, but Redhat requires a subscription per/node - buy the $99 developer server license at https://www.redhat.com/apps/store/developers/

Redhat Director (RHEL OpenStack - Kilo)
https://access.redhat.com/products/red-hat-enterprise-linux-openstack-platform
https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux_OpenStack_Platform/7/html/Director_Installation_and_Usage/index.html

Get Redhat Enterprise Linux 7
https://access.redhat.com/products/red-hat-enterprise-linux-openstack-platform/evaluation
or Ubunto (http://docs.openstack.org/image-guide/content/ubuntu-image.html)
I am using RHEL
Install to at least 3 boxes
Enable networking (nmcli d, nmtui)

Checkout RDO https://www.rdoproject.org/Quickstart
https://www.youtube.com/watch?v=DGf-ny25OAw

Set proxy in ~/.bashrc and
/etc/yum.conf
proxy=http://global.proxy

verify /etc/yum.repos.d/redhat.repo and rdo.release.repo

(behind a proxy the following does not work)  - use a cellular connection at work temporarily
verify /etc/hosts has the correct ip set for the VM
sudo yum update -y
sudo yum install -y https://www.rdoproject.org/repos/rdo-release.rpm
sudo vi /etc/yum/pluginconf.d/search-disabled-repos.conf
sudo yum install -y openstack-packstack
packstack --allinone --os-heat-install=y
cat keystonerc_admin
openstack-status
http://192.168.0.113/dashboard
Register System
Attach Subscription
sudo yum update -y
sudo vi /etc/yum/pluginconf.d/search-disabled-repos.conf
  'notify_only=0'
sudo yum install -y http://rdo.fedorapeople.org/rdo-release.rpm

to solve
--> Finished Dependency Resolution
Error: Package: 1:openstack-packstack-7.0.0-0.7.dev1661.gaf13b7e.el7.noarch (openstack-liberty)
           Requires: python-docutils
**********************************************************************
yum can be configured to try to resolve such errors by temporarily enabling
disabled repos and searching for missing dependencies.
To enable this functionality please set 'notify_only=0' in /etc/yum/pluginconf.d/search-disabled-repos.conf
**********************************************************************

Error: Package: 1:openstack-packstack-7.0.0-0.7.dev1661.gaf13b7e.el7.noarch (openstack-liberty)
           Requires: python-docutils
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

[openstack@biomos30 ~]$ sudo vi /etc/yum/pluginconf.d/search-disabled-repos.conf
[

sudo vi /etc/sysconfig/network-scripts/ifcfg-*


# dhcp
#BOOTPROTO=dhcp
# static
BOOTPROTO=none
NETWORK=192.168.0.0
NETMASK=255.255.255.0
IPADDR=192.168.0.101
USERCTL=no



# dhcp
#BOOTPROTO=dhcp
# static
BOOTPROTO=static
NETWORK=192.168.2.0
NETMASK=255.255.255.0
IPADDR=192.168.2.101
USERCTL=no
DNS1=192.168.2.1
GATEWAY=192.168.2.1

sudo ip link set wlp7s0u1 up

[root@nuc0 ~(keystone_admin)]# keystone service-list
/usr/lib/python2.7/site-packages/keystoneclient/shell.py:64: DeprecationWarning: The keystone CLI is deprecated in favor of python-openstackclient. For a Python library, continue using python-keystoneclient.
  'python-keystoneclient.', DeprecationWarning)
/usr/lib/python2.7/site-packages/keystoneclient/v2_0/client.py:145: DeprecationWarning: Constructing an instance of the keystoneclient.v2_0.client.Client class without a session is deprecated as of the 1.7.0 release and may be removed in the 2.0.0 release.
  'the 2.0.0 release.', DeprecationWarning)
/usr/lib/python2.7/site-packages/keystoneclient/v2_0/client.py:147: DeprecationWarning: Using the 'tenant_name' argument is deprecated in version '1.7.0' and will be removed in version '2.0.0', please use the 'project_name' argument instead
  super(Client, self).__init__(**kwargs)
/usr/lib/python2.7/site-packages/debtcollector/renames.py:43: DeprecationWarning: Using the 'tenant_id' argument is deprecated in version '1.7.0' and will be removed in version '2.0.0', please use the 'project_id' argument instead
  return f(*args, **kwargs)
/usr/lib/python2.7/site-packages/keystoneclient/httpclient.py:376: DeprecationWarning: Constructing an HTTPClient instance without using a session is deprecated as of the 1.7.0 release and may be removed in the 2.0.0 release.
  'the 2.0.0 release.', DeprecationWarning)
+----------------------------------+------------+--------------+--------------------------------+
|                id                |    name    |     type     |          description           |
+----------------------------------+------------+--------------+--------------------------------+
| 2d09a8805e084dab9d6b410ac2f0bde2 | ceilometer |   metering   |   Openstack Metering Service   |
| cddf5dfa558e4a82b36f4b7e4b9a31ad |   cinder   |    volume    |         Cinder Service         |
| 6eaa647639834c14a4b5f5c567d133e2 |  cinderv2  |   volumev2   |       Cinder Service v2        |
| 33e1e03563954fc59f6689a9dbedafbc |   glance   |    image     |    OpenStack Image Service     |
| f381a2299abb475b80e47cbb58748ed4 |  keystone  |   identity   |   OpenStack Identity Service   |
| a77128c659714b11bb3b39d6ec30f840 |  neutron   |   network    |   Neutron Networking Service   |
| 0c0ea0c00a1348b293310f621bd7aefa |    nova    |   compute    |   Openstack Compute Service    |
| f66e375e60c949359a29fb3c50083072 |  nova_ec2  |     ec2      |          EC2 Service           |
| b1a186652fae4f71a984a19cb092aa48 |   novav3   |  computev3   |  Openstack Compute Service v3  |
| e65fac36e71e498088625118606e390b |   swift    | object-store | Openstack Object-Store Service |
| fe5206ce62d042a280be017e97648a6f |  swift_s3  |      s3      |      Openstack S3 Service      |
+----------------------------------+------------+--------------+--------------------------------+

[openstack@nuc0 ~]$ source keystonerc_admin
[openstack@nuc0 ~(keystone_admin)]$ neutron net-list
+--------------------------------------+---------+------------------------------------------------------+
| id                                   | name    | subnets                                              |
+--------------------------------------+---------+------------------------------------------------------+
| df58b3b2-c236-485b-8e56-3974304aaf2f | public  | 47395dc1-6dc1-46d5-86e1-43c6c5c0cc00 172.24.4.224/28 |
| 89827ddf-7a4f-4cd9-88ee-b1df6f712059 | private | e7f9c637-d34e-4bb9-8641-67b86c0b48e4 10.0.0.0/24     |
+--------------------------------------+---------+------------------------------------------------------+


--------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                   1.1 MB/s |  84 MB  00:01:18    
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
Importing GPG key 0xFD431D51:
 Userid     : "Red Hat, Inc. (release key 2) <security@redhat.com>"
 Fingerprint: 567e 347a d004 4ade 55ba 8a5f 199e 2f91 fd43 1d51
 Package    : redhat-release-server-7.2-9.el7.x86_64 (@anaconda/7.2)
 From       : /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
Importing GPG key 0x2FA658E0:
 Userid     : "Red Hat, Inc. (auxiliary key) <security@redhat.com>"
 Fingerprint: 43a6 e49c 4a38 f4be 9abf 2a53 4568 9c88 2fa6 58e0
 Package    : redhat-release-server-7.2-9.el7.x86_64 (@anaconda/7.2)
 From       : /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Updating   : glibc-2.17-106.el7_2.1.x86_64                                                                                                      1/151
  Updating   : glibc-common-2.17-106.el7_2.1.x86_64                                                                                               2/151
  Updating   : libxml2-2.9.1-6.el7_2.2.x86_64                                                                                                     3/151
  Updating   : dracut-033-360.el7_2.x86_64                                                                                                        4/151
  Updating   : 1:openssl-libs-1.0.1e-51.el7_2.1.x86_64                                                                                            5/151
  Updating   : 10:qemu-img-1.5.3-105.el7_2.1.x86_64                                                                                               6/151
  Updating   : 32:bind-license-9.9.4-29.el7_2.1.noarch                                                                                            7/151
  Updating   : 32:bind-libs-9.9.4-29.el7_2.1.x86_64                                                                                               8/151
  Updating   : libvirt-client-1.2.17-13.el7_2.2.x86_64                                                                                            9/151
  Updating   : libvirt-daemon-1.2.17-13.el7_2.2.x86_64                                                                                           10/151
  Updating   : libvirt-daemon-driver-network-1.2.17-13.el7_2.2.x86_64                                                                            11/151
  Updating   : libvirt-daemon-driver-qemu-1.2.17-13.el7_2.2.x86_64                                                                               12/151
  Updating   : libvirt-daemon-driver-nwfilter-1.2.17-13.el7_2.2.x86_64                                                                           13/151
  Updating   : libvirt-daemon-driver-storage-1.2.17-13.el7_2.2.x86_64                                                                            14/151
  Updating   : libvirt-daemon-driver-secret-1.2.17-13.el7_2.2.x86_64                                                                             15/151
  Updating   : libvirt-daemon-driver-interface-1.2.17-13.el7_2.2.x86_64                                                                          16/151
  Updating   : libvirt-daemon-driver-nodedev-1.2.17-13.el7_2.2.x86_64                                                                            17/151
  Updating   : 10:qemu-kvm-common-1.5.3-105.el7_2.1.x86_64                                                                                       18/151
  Updating   : 2:libpng-1.5.13-7.el7_2.x86_64                                                                                                    19/151
  Updating   : 10:qemu-kvm-1.5.3-105.el7_2.1.x86_64                                                                                              20/151
  Updating   : libsss_idmap-1.13.0-40.el7_2.1.x86_64                                                                                             21/151
  Updating   : kernel-tools-libs-3.10.0-327.3.1.el7.x86_64                                                                                       22/151
  Updating   : 1:gmp-6.0.0-12.el7_1.x86_64                                                                                                       23/151
  Updating   : 1:grub2-tools-2.02-0.33.el7_2.x86_64                                                                                              24/151
  Updating   : libsss_nss_idmap-1.13.0-40.el7_2.1.x86_64                                                                                         25/151
  Updating   : python-perf-3.10.0-327.3.1.el7.x86_64                                                                                             26/151
  Updating   : libreport-filesystem-2.1.11-31.el7.x86_64                                                                                         27/151
  Updating   : libreport-python-2.1.11-31.el7.x86_64                                                                                             28/151
  Updating   : libreport-2.1.11-31.el7.x86_64                                                                                                    29/151
  Updating   : abrt-libs-2.1.11-35.el7.x86_64                                                                                                    30/151
  Updating   : libreport-web-2.1.11-31.el7.x86_64                                                                                                31/151
  Updating   : libreport-plugin-rhtsupport-2.1.11-31.el7.x86_64                                                                                  32/151
  Updating   : libreport-plugin-bugzilla-2.1.11-31.el7.x86_64                                                                                    33/151
  Updating   : libreport-plugin-reportuploader-2.1.11-31.el7.x86_64                                                                              34/151
  Updating   : libreport-rhel-2.1.11-31.el7.x86_64                                                                                               35/151
  Updating   : libreport-gtk-2.1.11-31.el7.x86_64                                                                                                36/151
  Updating   : libreport-plugin-ureport-2.1.11-31.el7.x86_64                                                                                     37/151
  Updating   : abrt-python-2.1.11-35.el7.x86_64                                                                                                  38/151
  Updating   : abrt-2.1.11-35.el7.x86_64                                                                                                         39/151
  Updating   : abrt-dbus-2.1.11-35.el7.x86_64                                                                                                    40/151
  Updating   : abrt-addon-kerneloops-2.1.11-35.el7.x86_64                                                                                        41/151
  Updating   : abrt-addon-pstoreoops-2.1.11-35.el7.x86_64                                                                                        42/151
  Updating   : abrt-addon-vmcore-2.1.11-35.el7.x86_64                                                                                            43/151
  Updating   : abrt-addon-python-2.1.11-35.el7.x86_64                                                                                            44/151
  Updating   : abrt-addon-ccpp-2.1.11-35.el7.x86_64                                                                                              45/151
  Updating   : abrt-addon-xorg-2.1.11-35.el7.x86_64                                                                                              46/151
  Updating   : abrt-gui-libs-2.1.11-35.el7.x86_64                                                                                                47/151
  Updating   : abrt-gui-2.1.11-35.el7.x86_64                                                                                                     48/151
  Updating   : libreport-cli-2.1.11-31.el7.x86_64                                                                                                49/151
  Updating   : abrt-tui-2.1.11-35.el7.x86_64                                                                                                     50/151
  Updating   : abrt-cli-2.1.11-35.el7.x86_64                                                                                                     51/151
  Updating   : abrt-console-notification-2.1.11-35.el7.x86_64                                                                                    52/151
  Updating   : abrt-desktop-2.1.11-35.el7.x86_64                                                                                                 53/151
  Updating   : libreport-anaconda-2.1.11-31.el7.x86_64                                                                                           54/151
  Updating   : libreport-rhel-anaconda-bugzilla-2.1.11-31.el7.x86_64                                                                             55/151
  Updating   : libreport-plugin-mailx-2.1.11-31.el7.x86_64                                                                                       56/151
  Updating   : tuned-2.5.1-4.el7_2.1.noarch                                                                                                      57/151
  Updating   : sssd-client-1.13.0-40.el7_2.1.x86_64                                                                                              58/151
  Updating   : 1:grub2-efi-2.02-0.33.el7_2.x86_64                                                                                                59/151
  Updating   : libreswan-3.15-5.el7_1.x86_64                                                                                                     60/151
  Updating   : kernel-tools-3.10.0-327.3.1.el7.x86_64                                                                                            61/151
  Updating   : libvirt-daemon-kvm-1.2.17-13.el7_2.2.x86_64                                                                                       62/151
  Updating   : libvirt-daemon-config-network-1.2.17-13.el7_2.2.x86_64                                                                            63/151
  Updating   : 32:bind-utils-9.9.4-29.el7_2.1.x86_64                                                                                             64/151
  Updating   : 32:bind-libs-lite-9.9.4-29.el7_2.1.x86_64                                                                                         65/151
  Updating   : 1:openssl-1.0.1e-51.el7_2.1.x86_64                                                                                                66/151
  Installing : kernel-3.10.0-327.3.1.el7.x86_64                                                                                                  67/151
  Updating   : dracut-config-rescue-033-360.el7_2.x86_64                                                                                         68/151
  Updating   : dracut-network-033-360.el7_2.x86_64                                                                                               69/151
  Updating   : rdma-7.2_4.1_rc6-2.el7.noarch                                                                                                     70/151
  Updating   : libxml2-python-2.9.1-6.el7_2.2.x86_64                                                                                             71/151
  Updating   : crash-7.1.2-3.el7_2.x86_64                                                                                                        72/151
  Updating   : logrotate-3.8.6-7.el7_2.x86_64                                                                                                    73/151
  Updating   : 10:libcacard-1.5.3-105.el7_2.1.x86_64                                                                                             74/151
  Updating   : firefox-38.5.0-3.el7_2.x86_64                                                                                                     75/151
  Updating   : anaconda-user-help-19.31.123-1.el7.x86_64                                                                                         76/151
  Cleanup    : abrt-desktop-2.1.11-34.el7.x86_64                                                                                                 77/151
  Cleanup    : libvirt-daemon-kvm-1.2.17-13.el7.x86_64                                                                                           78/151
  Cleanup    : abrt-gui-2.1.11-34.el7.x86_64                                                                                                     79/151
  Cleanup    : 32:bind-utils-9.9.4-29.el7.x86_64                                                                                                 80/151
  Cleanup    : 32:bind-libs-9.9.4-29.el7.x86_64                                                                                                  81/151
  Cleanup    : 32:bind-libs-lite-9.9.4-29.el7.x86_64                                                                                             82/151
  Cleanup    : libvirt-daemon-driver-qemu-1.2.17-13.el7.x86_64                                                                                   83/151
  Cleanup    : 10:qemu-kvm-1.5.3-105.el7.x86_64                                                                                                  84/151
  Cleanup    : libreport-gtk-2.1.11-30.el7.x86_64                                                                                                85/151
  Cleanup    : libvirt-daemon-driver-storage-1.2.17-13.el7.x86_64                                                                                86/151
  Cleanup    : 1:openssl-1.0.1e-42.el7_1.9.x86_64                                                                                                87/151
  Cleanup    : libreport-anaconda-2.1.11-30.el7.x86_64                                                                                           88/151
  Cleanup    : libreport-plugin-reportuploader-2.1.11-30.el7.x86_64                                                                              89/151
  Cleanup    : kernel-tools-3.10.0-327.el7.x86_64                                                                                                90/151
  Cleanup    : sssd-client-1.13.0-40.el7.x86_64                                                                                                  91/151
  Cleanup    : abrt-gui-libs-2.1.11-34.el7.x86_64                                                                                                92/151
  Cleanup    : libvirt-daemon-driver-interface-1.2.17-13.el7.x86_64                                                                              93/151
  Cleanup    : libvirt-daemon-driver-nodedev-1.2.17-13.el7.x86_64                                                                                94/151
  Cleanup    : libvirt-daemon-driver-nwfilter-1.2.17-13.el7.x86_64                                                                               95/151
  Cleanup    : libvirt-daemon-driver-secret-1.2.17-13.el7.x86_64                                                                                 96/151
  Cleanup    : libreport-plugin-mailx-2.1.11-30.el7.x86_64                                                                                       97/151
  Cleanup    : libreswan-3.12-10.1.el7_1.x86_64                                                                                                  98/151
  Cleanup    : libxml2-python-2.9.1-5.el7_1.2.x86_64                                                                                             99/151
  Cleanup    : abrt-console-notification-2.1.11-34.el7.x86_64                                                                                   100/151
  Cleanup    : abrt-cli-2.1.11-34.el7.x86_64                                                                                                    101/151
  Cleanup    : abrt-addon-vmcore-2.1.11-34.el7.x86_64                                                                                           102/151
  Cleanup    : libvirt-daemon-config-network-1.2.17-13.el7.x86_64                                                                               103/151
  Cleanup    : libreport-rhel-anaconda-bugzilla-2.1.11-30.el7.x86_64                                                                            104/151
  Cleanup    : libreport-rhel-2.1.11-30.el7.x86_64                                                                                              105/151
  Cleanup    : rdma-7.2_4.1_rc6-1.el7.noarch                                                                                                    106/151
  Cleanup    : firefox-38.3.0-2.el7_1.x86_64                                                                                                    107/151
  Cleanup    : 1:grub2-efi-2.02-0.29.el7.x86_64                                                                                                 108/151
  Cleanup    : tuned-2.5.1-4.el7.noarch                                                                                                         109/151
  Cleanup    : dracut-network-033-359.el7.x86_64                                                                                                110/151
  Cleanup    : dracut-config-rescue-033-359.el7.x86_64                                                                                          111/151
  Cleanup    : 32:bind-license-9.9.4-29.el7.noarch                                                                                              112/151
  Cleanup    : anaconda-user-help-7.2.2-1.el7.noarch                                                                                            113/151
  Cleanup    : abrt-tui-2.1.11-34.el7.x86_64                                                                                                    114/151
  Cleanup    : libreport-plugin-bugzilla-2.1.11-30.el7.x86_64                                                                                   115/151
  Cleanup    : abrt-addon-pstoreoops-2.1.11-34.el7.x86_64                                                                                       116/151
  Cleanup    : abrt-addon-ccpp-2.1.11-34.el7.x86_64                                                                                             117/151
  Cleanup    : abrt-addon-kerneloops-2.1.11-34.el7.x86_64                                                                                       118/151
  Cleanup    : abrt-addon-python-2.1.11-34.el7.x86_64                                                                                           119/151
  Cleanup    : abrt-addon-xorg-2.1.11-34.el7.x86_64                                                                                             120/151
  Cleanup    : abrt-python-2.1.11-34.el7.x86_64                                                                                                 121/151
  Cleanup    : abrt-dbus-2.1.11-34.el7.x86_64                                                                                                   122/151
  Cleanup    : abrt-2.1.11-34.el7.x86_64                                                                                                        123/151
  Cleanup    : libreport-plugin-rhtsupport-2.1.11-30.el7.x86_64                                                                                 124/151
  Cleanup    : libreport-plugin-ureport-2.1.11-30.el7.x86_64                                                                                    125/151
  Cleanup    : libreport-web-2.1.11-30.el7.x86_64                                                                                               126/151
  Cleanup    : libvirt-daemon-driver-network-1.2.17-13.el7.x86_64                                                                               127/151
  Cleanup    : libvirt-daemon-1.2.17-13.el7.x86_64                                                                                              128/151
  Cleanup    : libvirt-client-1.2.17-13.el7.x86_64                                                                                              129/151
  Cleanup    : abrt-libs-2.1.11-34.el7.x86_64                                                                                                   130/151
  Cleanup    : libreport-cli-2.1.11-30.el7.x86_64                                                                                               131/151
  Cleanup    : libreport-python-2.1.11-30.el7.x86_64                                                                                            132/151
  Cleanup    : libreport-2.1.11-30.el7.x86_64                                                                                                   133/151
  Cleanup    : 10:qemu-kvm-common-1.5.3-105.el7.x86_64                                                                                          134/151
  Cleanup    : libxml2-2.9.1-5.el7_1.2.x86_64                                                                                                   135/151
  Cleanup    : dracut-033-359.el7.x86_64                                                                                                        136/151
  Cleanup    : python-perf-3.10.0-327.el7.x86_64                                                                                                137/151
  Cleanup    : 1:grub2-tools-2.02-0.29.el7.x86_64                                                                                               138/151
  Cleanup    : 1:gmp-6.0.0-11.el7.x86_64                                                                                                        139/151
  Cleanup    : libsss_idmap-1.13.0-40.el7.x86_64                                                                                                140/151
  Cleanup    : libsss_nss_idmap-1.13.0-40.el7.x86_64                                                                                            141/151
  Cleanup    : kernel-tools-libs-3.10.0-327.el7.x86_64                                                                                          142/151
  Cleanup    : 1:openssl-libs-1.0.1e-42.el7_1.9.x86_64                                                                                          143/151
  Cleanup    : 10:qemu-img-1.5.3-105.el7.x86_64                                                                                                 144/151
  Cleanup    : 2:libpng-1.5.13-5.el7.x86_64                                                                                                     145/151
  Cleanup    : 10:libcacard-1.5.3-105.el7.x86_64                                                                                                146/151
  Cleanup    : logrotate-3.8.6-6.el7.x86_64                                                                                                     147/151
  Cleanup    : crash-7.1.2-2.el7.x86_64                                                                                                         148/151
  Cleanup    : libreport-filesystem-2.1.11-30.el7.x86_64                                                                                        149/151
  Cleanup    : glibc-common-2.17-105.el7.x86_64                                                                                                 150/151
  Cleanup    : glibc-2.17-105.el7.x86_64                                                                                                        151/151
rhel-7-server-eus-rpms/7Server/x86_64/productid                                                                                  | 1.7 kB  00:00:00    
rhel-7-server-rpms/7Server/x86_64/productid                                                                                      | 1.7 kB  00:00:00    
rhel-ha-for-rhel-7-server-eus-rpms/7Server/x86_64/productid                                                                      | 1.8 kB  00:00:00    
rhel-ha-for-rhel-7-server-rpms/7Server/x86_64/productid                                                                          | 1.7 kB  00:00:00    
rhel-rs-for-rhel-7-server-eus-rpms/7Server/x86_64/productid                                                                      | 1.8 kB  00:00:00    
rhel-rs-for-rhel-7-server-rpms/7Server/x86_64/productid                                                                          | 1.7 kB  00:00:00    
  Verifying  : 2:libpng-1.5.13-7.el7_2.x86_64                                                                                                     1/151
  Verifying  : abrt-desktop-2.1.11-35.el7.x86_64                                                                                                  2/151
  Verifying  : libxml2-python-2.9.1-6.el7_2.2.x86_64                                                                                              3/151
  Verifying  : libvirt-daemon-driver-nwfilter-1.2.17-13.el7_2.2.x86_64                                                                            4/151
  Verifying  : abrt-addon-python-2.1.11-35.el7.x86_64                                                                                             5/151
  Verifying  : libreswan-3.15-5.el7_1.x86_64                                                                                                      6/151
  Verifying  : libvirt-daemon-driver-storage-1.2.17-13.el7_2.2.x86_64                                                                             7/151
  Verifying  : kernel-3.10.0-327.3.1.el7.x86_64                                                                                                   8/151
  Verifying  : libreport-rhel-2.1.11-31.el7.x86_64                                                                                                9/151
  Verifying  : abrt-addon-pstoreoops-2.1.11-35.el7.x86_64                                                                                        10/151
  Verifying  : abrt-2.1.11-35.el7.x86_64                                                                                                         11/151
  Verifying  : 1:openssl-1.0.1e-51.el7_2.1.x86_64                                                                                                12/151
  Verifying  : libreport-plugin-bugzilla-2.1.11-31.el7.x86_64                                                                                    13/151
  Verifying  : libreport-plugin-rhtsupport-2.1.11-31.el7.x86_64                                                                                  14/151
  Verifying  : abrt-addon-ccpp-2.1.11-35.el7.x86_64                                                                                              15/151
  Verifying  : 10:qemu-kvm-common-1.5.3-105.el7_2.1.x86_64                                                                                       16/151
  Verifying  : anaconda-user-help-19.31.123-1.el7.x86_64                                                                                         17/151
  Verifying  : libreport-filesystem-2.1.11-31.el7.x86_64                                                                                         18/151
  Verifying  : libvirt-daemon-driver-secret-1.2.17-13.el7_2.2.x86_64                                                                             19/151
  Verifying  : abrt-gui-2.1.11-35.el7.x86_64                                                                                                     20/151
  Verifying  : abrt-gui-libs-2.1.11-35.el7.x86_64                                                                                                21/151
  Verifying  : glibc-common-2.17-106.el7_2.1.x86_64                                                                                              22/151
  Verifying  : crash-7.1.2-3.el7_2.x86_64                                                                                                        23/151
  Verifying  : libreport-rhel-anaconda-bugzilla-2.1.11-31.el7.x86_64                                                                             24/151
  Verifying  : libsss_idmap-1.13.0-40.el7_2.1.x86_64                                                                                             25/151
  Verifying  : sssd-client-1.13.0-40.el7_2.1.x86_64                                                                                              26/151
  Verifying  : dracut-config-rescue-033-360.el7_2.x86_64                                                                                         27/151
  Verifying  : kernel-tools-libs-3.10.0-327.3.1.el7.x86_64                                                                                       28/151
  Verifying  : 10:qemu-kvm-1.5.3-105.el7_2.1.x86_64                                                                                              29/151
  Verifying  : dracut-network-033-360.el7_2.x86_64                                                                                               30/151
  Verifying  : libvirt-daemon-driver-interface-1.2.17-13.el7_2.2.x86_64                                                                          31/151
  Verifying  : abrt-libs-2.1.11-35.el7.x86_64                                                                                                    32/151
  Verifying  : abrt-cli-2.1.11-35.el7.x86_64                                                                                                     33/151
  Verifying  : libvirt-daemon-driver-nodedev-1.2.17-13.el7_2.2.x86_64                                                                            34/151
  Verifying  : 1:gmp-6.0.0-12.el7_1.x86_64                                                                                                       35/151
  Verifying  : libreport-plugin-ureport-2.1.11-31.el7.x86_64                                                                                     36/151
  Verifying  : abrt-tui-2.1.11-35.el7.x86_64                                                                                                     37/151
  Verifying  : libvirt-daemon-config-network-1.2.17-13.el7_2.2.x86_64                                                                            38/151
  Verifying  : libreport-plugin-mailx-2.1.11-31.el7.x86_64                                                                                       39/151
  Verifying  : libvirt-daemon-kvm-1.2.17-13.el7_2.2.x86_64                                                                                       40/151
  Verifying  : libreport-cli-2.1.11-31.el7.x86_64                                                                                                41/151
  Verifying  : 1:grub2-tools-2.02-0.33.el7_2.x86_64                                                                                              42/151
  Verifying  : tuned-2.5.1-4.el7_2.1.noarch                                                                                                      43/151
  Verifying  : libreport-2.1.11-31.el7.x86_64                                                                                                    44/151
  Verifying  : 32:bind-libs-9.9.4-29.el7_2.1.x86_64                                                                                              45/151
  Verifying  : logrotate-3.8.6-7.el7_2.x86_64                                                                                                    46/151
  Verifying  : glibc-2.17-106.el7_2.1.x86_64                                                                                                     47/151
  Verifying  : libvirt-daemon-driver-qemu-1.2.17-13.el7_2.2.x86_64                                                                               48/151
  Verifying  : libreport-web-2.1.11-31.el7.x86_64                                                                                                49/151
  Verifying  : 1:grub2-efi-2.02-0.33.el7_2.x86_64                                                                                                50/151
  Verifying  : abrt-addon-xorg-2.1.11-35.el7.x86_64                                                                                              51/151
  Verifying  : libxml2-2.9.1-6.el7_2.2.x86_64                                                                                                    52/151
  Verifying  : abrt-addon-vmcore-2.1.11-35.el7.x86_64                                                                                            53/151
  Verifying  : libreport-plugin-reportuploader-2.1.11-31.el7.x86_64                                                                              54/151
  Verifying  : 10:libcacard-1.5.3-105.el7_2.1.x86_64                                                                                             55/151
  Verifying  : 10:qemu-img-1.5.3-105.el7_2.1.x86_64                                                                                              56/151
  Verifying  : abrt-addon-kerneloops-2.1.11-35.el7.x86_64                                                                                        57/151
  Verifying  : libvirt-daemon-driver-network-1.2.17-13.el7_2.2.x86_64                                                                            58/151
  Verifying  : libreport-anaconda-2.1.11-31.el7.x86_64                                                                                           59/151
  Verifying  : 32:bind-license-9.9.4-29.el7_2.1.noarch                                                                                           60/151
  Verifying  : libreport-gtk-2.1.11-31.el7.x86_64                                                                                                61/151
  Verifying  : abrt-python-2.1.11-35.el7.x86_64                                                                                                  62/151
  Verifying  : abrt-console-notification-2.1.11-35.el7.x86_64                                                                                    63/151
  Verifying  : firefox-38.5.0-3.el7_2.x86_64                                                                                                     64/151
  Verifying  : kernel-tools-3.10.0-327.3.1.el7.x86_64                                                                                            65/151
  Verifying  : libsss_nss_idmap-1.13.0-40.el7_2.1.x86_64                                                                                         66/151
  Verifying  : 32:bind-libs-lite-9.9.4-29.el7_2.1.x86_64                                                                                         67/151
  Verifying  : 32:bind-utils-9.9.4-29.el7_2.1.x86_64                                                                                             68/151
  Verifying  : libvirt-client-1.2.17-13.el7_2.2.x86_64                                                                                           69/151
  Verifying  : rdma-7.2_4.1_rc6-2.el7.noarch                                                                                                     70/151
  Verifying  : libreport-python-2.1.11-31.el7.x86_64                                                                                             71/151
  Verifying  : libvirt-daemon-1.2.17-13.el7_2.2.x86_64                                                                                           72/151
  Verifying  : dracut-033-360.el7_2.x86_64                                                                                                       73/151
  Verifying  : 1:openssl-libs-1.0.1e-51.el7_2.1.x86_64                                                                                           74/151
  Verifying  : abrt-dbus-2.1.11-35.el7.x86_64                                                                                                    75/151
  Verifying  : python-perf-3.10.0-327.3.1.el7.x86_64                                                                                             76/151
  Verifying  : dracut-config-rescue-033-359.el7.x86_64                                                                                           77/151
  Verifying  : 10:qemu-img-1.5.3-105.el7.x86_64                                                                                                  78/151
  Verifying  : abrt-addon-python-2.1.11-34.el7.x86_64                                                                                            79/151
  Verifying  : abrt-tui-2.1.11-34.el7.x86_64                                                                                                     80/151
  Verifying  : glibc-common-2.17-105.el7.x86_64                                                                                                  81/151
  Verifying  : libvirt-daemon-driver-nodedev-1.2.17-13.el7.x86_64                                                                                82/151
  Verifying  : libvirt-daemon-driver-nwfilter-1.2.17-13.el7.x86_64                                                                               83/151
  Verifying  : 1:openssl-libs-1.0.1e-42.el7_1.9.x86_64                                                                                           84/151
  Verifying  : 32:bind-license-9.9.4-29.el7.noarch                                                                                               85/151
  Verifying  : libvirt-daemon-driver-qemu-1.2.17-13.el7.x86_64                                                                                   86/151
  Verifying  : abrt-desktop-2.1.11-34.el7.x86_64                                                                                                 87/151
  Verifying  : libvirt-daemon-driver-secret-1.2.17-13.el7.x86_64                                                                                 88/151
  Verifying  : abrt-cli-2.1.11-34.el7.x86_64                                                                                                     89/151
  Verifying  : abrt-gui-2.1.11-34.el7.x86_64                                                                                                     90/151
  Verifying  : abrt-gui-libs-2.1.11-34.el7.x86_64                                                                                                91/151
  Verifying  : libreport-plugin-ureport-2.1.11-30.el7.x86_64                                                                                     92/151
  Verifying  : libreswan-3.12-10.1.el7_1.x86_64                                                                                                  93/151
  Verifying  : libreport-plugin-rhtsupport-2.1.11-30.el7.x86_64                                                                                  94/151
  Verifying  : libvirt-daemon-driver-storage-1.2.17-13.el7.x86_64                                                                                95/151
  Verifying  : sssd-client-1.13.0-40.el7.x86_64                                                                                                  96/151
  Verifying  : rdma-7.2_4.1_rc6-1.el7.noarch                                                                                                     97/151
  Verifying  : 32:bind-libs-lite-9.9.4-29.el7.x86_64                                                                                             98/151
  Verifying  : abrt-addon-ccpp-2.1.11-34.el7.x86_64                                                                                              99/151
  Verifying  : 32:bind-utils-9.9.4-29.el7.x86_64                                                                                                100/151
  Verifying  : libvirt-daemon-config-network-1.2.17-13.el7.x86_64                                                                               101/151
  Verifying  : kernel-tools-3.10.0-327.el7.x86_64                                                                                               102/151
  Verifying  : 1:openssl-1.0.1e-42.el7_1.9.x86_64                                                                                               103/151
  Verifying  : 2:libpng-1.5.13-5.el7.x86_64                                                                                                     104/151
  Verifying  : abrt-addon-vmcore-2.1.11-34.el7.x86_64                                                                                           105/151
  Verifying  : libreport-rhel-anaconda-bugzilla-2.1.11-30.el7.x86_64                                                                            106/151
  Verifying  : libreport-plugin-reportuploader-2.1.11-30.el7.x86_64                                                                             107/151
  Verifying  : 1:gmp-6.0.0-11.el7.x86_64                                                                                                        108/151
  Verifying  : libvirt-daemon-driver-interface-1.2.17-13.el7.x86_64                                                                             109/151
  Verifying  : kernel-tools-libs-3.10.0-327.el7.x86_64                                                                                          110/151
  Verifying  : glibc-2.17-105.el7.x86_64                                                                                                        111/151
  Verifying  : libreport-2.1.11-30.el7.x86_64                                                                                                   112/151
  Verifying  : libreport-cli-2.1.11-30.el7.x86_64                                                                                               113/151
  Verifying  : libreport-plugin-bugzilla-2.1.11-30.el7.x86_64                                                                                   114/151
  Verifying  : abrt-console-notification-2.1.11-34.el7.x86_64                                                                                   115/151
  Verifying  : 1:grub2-efi-2.02-0.29.el7.x86_64                                                                                                 116/151
  Verifying  : dracut-network-033-359.el7.x86_64                                                                                                117/151
  Verifying  : abrt-2.1.11-34.el7.x86_64                                                                                                        118/151
  Verifying  : abrt-addon-xorg-2.1.11-34.el7.x86_64                                                                                             119/151
  Verifying  : abrt-dbus-2.1.11-34.el7.x86_64                                                                                                   120/151
  Verifying  : logrotate-3.8.6-6.el7.x86_64                                                                                                     121/151
  Verifying  : libreport-python-2.1.11-30.el7.x86_64                                                                                            122/151
  Verifying  : anaconda-user-help-7.2.2-1.el7.noarch                                                                                            123/151
  Verifying  : 10:libcacard-1.5.3-105.el7.x86_64                                                                                                124/151
  Verifying  : abrt-addon-kerneloops-2.1.11-34.el7.x86_64                                                                                       125/151
  Verifying  : abrt-libs-2.1.11-34.el7.x86_64                                                                                                   126/151
  Verifying  : libsss_nss_idmap-1.13.0-40.el7.x86_64                                                                                            127/151
  Verifying  : libvirt-daemon-driver-network-1.2.17-13.el7.x86_64                                                                               128/151
  Verifying  : firefox-38.3.0-2.el7_1.x86_64                                                                                                    129/151
  Verifying  : 10:qemu-kvm-common-1.5.3-105.el7.x86_64                                                                                          130/151
  Verifying  : tuned-2.5.1-4.el7.noarch                                                                                                         131/151
  Verifying  : libxml2-python-2.9.1-5.el7_1.2.x86_64                                                                                            132/151
  Verifying  : 10:qemu-kvm-1.5.3-105.el7.x86_64                                                                                                 133/151
  Verifying  : libreport-web-2.1.11-30.el7.x86_64                                                                                               134/151
  Verifying  : libreport-plugin-mailx-2.1.11-30.el7.x86_64                                                                                      135/151
  Verifying  : dracut-033-359.el7.x86_64                                                                                                        136/151
  Verifying  : libreport-filesystem-2.1.11-30.el7.x86_64                                                                                        137/151
  Verifying  : abrt-addon-pstoreoops-2.1.11-34.el7.x86_64                                                                                       138/151
  Verifying  : libreport-gtk-2.1.11-30.el7.x86_64                                                                                               139/151
  Verifying  : libvirt-daemon-1.2.17-13.el7.x86_64                                                                                              140/151
  Verifying  : crash-7.1.2-2.el7.x86_64                                                                                                         141/151
  Verifying  : libreport-rhel-2.1.11-30.el7.x86_64                                                                                              142/151
  Verifying  : libvirt-client-1.2.17-13.el7.x86_64                                                                                              143/151
  Verifying  : 1:grub2-tools-2.02-0.29.el7.x86_64                                                                                               144/151
  Verifying  : libsss_idmap-1.13.0-40.el7.x86_64                                                                                                145/151
  Verifying  : libxml2-2.9.1-5.el7_1.2.x86_64                                                                                                   146/151
  Verifying  : 32:bind-libs-9.9.4-29.el7.x86_64                                                                                                 147/151
  Verifying  : libvirt-daemon-kvm-1.2.17-13.el7.x86_64                                                                                          148/151
  Verifying  : abrt-python-2.1.11-34.el7.x86_64                                                                                                 149/151
  Verifying  : python-perf-3.10.0-327.el7.x86_64                                                                                                150/151
  Verifying  : libreport-anaconda-2.1.11-30.el7.x86_64                                                                                          151/151

Installed:
  kernel.x86_64 0:3.10.0-327.3.1.el7                                                                                                                   

Updated:
  abrt.x86_64 0:2.1.11-35.el7                                                abrt-addon-ccpp.x86_64 0:2.1.11-35.el7                                    
  abrt-addon-kerneloops.x86_64 0:2.1.11-35.el7                               abrt-addon-pstoreoops.x86_64 0:2.1.11-35.el7                              
  abrt-addon-python.x86_64 0:2.1.11-35.el7                                   abrt-addon-vmcore.x86_64 0:2.1.11-35.el7                                  
  abrt-addon-xorg.x86_64 0:2.1.11-35.el7                                     abrt-cli.x86_64 0:2.1.11-35.el7                                           
  abrt-console-notification.x86_64 0:2.1.11-35.el7                           abrt-dbus.x86_64 0:2.1.11-35.el7                                          
  abrt-desktop.x86_64 0:2.1.11-35.el7                                        abrt-gui.x86_64 0:2.1.11-35.el7                                           
  abrt-gui-libs.x86_64 0:2.1.11-35.el7                                       abrt-libs.x86_64 0:2.1.11-35.el7                                          
  abrt-python.x86_64 0:2.1.11-35.el7                                         abrt-tui.x86_64 0:2.1.11-35.el7                                           
  anaconda-user-help.x86_64 0:19.31.123-1.el7                                bind-libs.x86_64 32:9.9.4-29.el7_2.1                                      
  bind-libs-lite.x86_64 32:9.9.4-29.el7_2.1                                  bind-license.noarch 32:9.9.4-29.el7_2.1                                   
  bind-utils.x86_64 32:9.9.4-29.el7_2.1                                      crash.x86_64 0:7.1.2-3.el7_2                                              
  dracut.x86_64 0:033-360.el7_2                                              dracut-config-rescue.x86_64 0:033-360.el7_2                               
  dracut-network.x86_64 0:033-360.el7_2                                      firefox.x86_64 0:38.5.0-3.el7_2                                           
  glibc.x86_64 0:2.17-106.el7_2.1                                            glibc-common.x86_64 0:2.17-106.el7_2.1                                    
  gmp.x86_64 1:6.0.0-12.el7_1                                                grub2-efi.x86_64 1:2.02-0.33.el7_2                                        
  grub2-tools.x86_64 1:2.02-0.33.el7_2                                       kernel-tools.x86_64 0:3.10.0-327.3.1.el7                                  
  kernel-tools-libs.x86_64 0:3.10.0-327.3.1.el7                              libcacard.x86_64 10:1.5.3-105.el7_2.1                                     
  libpng.x86_64 2:1.5.13-7.el7_2                                             libreport.x86_64 0:2.1.11-31.el7                                          
  libreport-anaconda.x86_64 0:2.1.11-31.el7                                  libreport-cli.x86_64 0:2.1.11-31.el7                                      
  libreport-filesystem.x86_64 0:2.1.11-31.el7                                libreport-gtk.x86_64 0:2.1.11-31.el7                                      
  libreport-plugin-bugzilla.x86_64 0:2.1.11-31.el7                           libreport-plugin-mailx.x86_64 0:2.1.11-31.el7                             
  libreport-plugin-reportuploader.x86_64 0:2.1.11-31.el7                     libreport-plugin-rhtsupport.x86_64 0:2.1.11-31.el7                        
  libreport-plugin-ureport.x86_64 0:2.1.11-31.el7                            libreport-python.x86_64 0:2.1.11-31.el7                                   
  libreport-rhel.x86_64 0:2.1.11-31.el7                                      libreport-rhel-anaconda-bugzilla.x86_64 0:2.1.11-31.el7                   
  libreport-web.x86_64 0:2.1.11-31.el7                                       libreswan.x86_64 0:3.15-5.el7_1                                           
  libsss_idmap.x86_64 0:1.13.0-40.el7_2.1                                    libsss_nss_idmap.x86_64 0:1.13.0-40.el7_2.1                               
  libvirt-client.x86_64 0:1.2.17-13.el7_2.2                                  libvirt-daemon.x86_64 0:1.2.17-13.el7_2.2                                 
  libvirt-daemon-config-network.x86_64 0:1.2.17-13.el7_2.2                   libvirt-daemon-driver-interface.x86_64 0:1.2.17-13.el7_2.2                
  libvirt-daemon-driver-network.x86_64 0:1.2.17-13.el7_2.2                   libvirt-daemon-driver-nodedev.x86_64 0:1.2.17-13.el7_2.2                  
  libvirt-daemon-driver-nwfilter.x86_64 0:1.2.17-13.el7_2.2                  libvirt-daemon-driver-qemu.x86_64 0:1.2.17-13.el7_2.2                     
  libvirt-daemon-driver-secret.x86_64 0:1.2.17-13.el7_2.2                    libvirt-daemon-driver-storage.x86_64 0:1.2.17-13.el7_2.2                  
  libvirt-daemon-kvm.x86_64 0:1.2.17-13.el7_2.2                              libxml2.x86_64 0:2.9.1-6.el7_2.2                                          
  libxml2-python.x86_64 0:2.9.1-6.el7_2.2                                    logrotate.x86_64 0:3.8.6-7.el7_2                                          
  openssl.x86_64 1:1.0.1e-51.el7_2.1                                         openssl-libs.x86_64 1:1.0.1e-51.el7_2.1                                   
  python-perf.x86_64 0:3.10.0-327.3.1.el7                                    qemu-img.x86_64 10:1.5.3-105.el7_2.1                                      
  qemu-kvm.x86_64 10:1.5.3-105.el7_2.1                                       qemu-kvm-common.x86_64 10:1.5.3-105.el7_2.1                               
  rdma.noarch 0:7.2_4.1_rc6-2.el7                                            sssd-client.x86_64 0:1.13.0-40.el7_2.1                                    
  tuned.noarch 0:2.5.1-4.el7_2.1                                           

Complete!
[openstack@nuc0 ~]$ sudo yum install -y http://rdo.fedorapeople.org/rdo-release.rpm
[sudo] password for openstack:
Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager
rdo-release.rpm                                                                                                                  | 5.1 kB  00:00:00    
Examining /var/tmp/yum-root-DJeZGF/rdo-release.rpm: rdo-release-liberty-2.noarch
Marking /var/tmp/yum-root-DJeZGF/rdo-release.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package rdo-release.noarch 0:liberty-2 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

========================================================================================================================================================
 Package                              Arch                            Version                               Repository                             Size
========================================================================================================================================================
Installing:
 rdo-release                          noarch                          liberty-2                             /rdo-release                          1.4 k

Transaction Summary
========================================================================================================================================================
Install  1 Package

Total size: 1.4 k
Installed size: 1.4 k
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : rdo-release-liberty-2.noarch                                                                                                         1/1
  Verifying  : rdo-release-liberty-2.noarch                                                                                                         1/1

Installed:
  rdo-release.noarch 0:liberty-2                                                                                                                       

Complete!
[openstack@nuc0 ~]$ sudo packstack --allinone
[sudo] password for openstack:
sudo: packstack: command not found
[openstack@nuc0 ~]$ sudo yum install -y openstack-packstack
Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager
openstack-liberty                                                                                                                | 2.9 kB  00:00:00    
openstack-liberty/x86_64/primary_db                                                                                              | 389 kB  00:00:00    
Resolving Dependencies
--> Running transaction check
---> Package openstack-packstack.noarch 1:7.0.0-0.7.dev1661.gaf13b7e.el7 will be installed
--> Processing Dependency: openstack-packstack-puppet = 1:7.0.0-0.7.dev1661.gaf13b7e.el7 for package: 1:openstack-packstack-7.0.0-0.7.dev1661.gaf13b7e.el7.noarch
--> Processing Dependency: openstack-puppet-modules >= 2014.2.10 for package: 1:openstack-packstack-7.0.0-0.7.dev1661.gaf13b7e.el7.noarch
--> Processing Dependency: python-netaddr for package: 1:openstack-packstack-7.0.0-0.7.dev1661.gaf13b7e.el7.noarch
--> Processing Dependency: python-docutils for package: 1:openstack-packstack-7.0.0-0.7.dev1661.gaf13b7e.el7.noarch
--> Processing Dependency: PyYAML for package: 1:openstack-packstack-7.0.0-0.7.dev1661.gaf13b7e.el7.noarch
--> Running transaction check
---> Package PyYAML.x86_64 0:3.10-11.el7 will be installed
--> Processing Dependency: libyaml-0.so.2()(64bit) for package: PyYAML-3.10-11.el7.x86_64
---> Package openstack-packstack.noarch 1:7.0.0-0.7.dev1661.gaf13b7e.el7 will be installed
--> Processing Dependency: python-docutils for package: 1:openstack-packstack-7.0.0-0.7.dev1661.gaf13b7e.el7.noarch
---> Package openstack-packstack-puppet.noarch 1:7.0.0-0.7.dev1661.gaf13b7e.el7 will be installed
---> Package openstack-puppet-modules.noarch 1:7.0.0-1.el7 will be installed
--> Processing Dependency: rubygem-json for package: 1:openstack-puppet-modules-7.0.0-1.el7.noarch
---> Package python-netaddr.noarch 0:0.7.18-1.el7 will be installed
--> Running transaction check
---> Package libyaml.x86_64 0:0.1.4-11.el7_0 will be installed
---> Package openstack-packstack.noarch 1:7.0.0-0.7.dev1661.gaf13b7e.el7 will be installed
--> Processing Dependency: python-docutils for package: 1:openstack-packstack-7.0.0-0.7.dev1661.gaf13b7e.el7.noarch
---> Package rubygem-json.x86_64 0:1.7.7-25.el7_1 will be installed
--> Processing Dependency: ruby(rubygems) >= 2.0.14 for package: rubygem-json-1.7.7-25.el7_1.x86_64
--> Processing Dependency: ruby(release) for package: rubygem-json-1.7.7-25.el7_1.x86_64
--> Processing Dependency: libruby.so.2.0()(64bit) for package: rubygem-json-1.7.7-25.el7_1.x86_64
--> Running transaction check
---> Package openstack-packstack.noarch 1:7.0.0-0.7.dev1661.gaf13b7e.el7 will be installed
--> Processing Dependency: python-docutils for package: 1:openstack-packstack-7.0.0-0.7.dev1661.gaf13b7e.el7.noarch
---> Package ruby-libs.x86_64 0:2.0.0.598-25.el7_1 will be installed
---> Package rubygems.noarch 0:2.0.14-25.el7_1 will be installed
--> Processing Dependency: rubygem(rdoc) >= 4.0.0 for package: rubygems-2.0.14-25.el7_1.noarch
--> Processing Dependency: rubygem(psych) >= 2.0.0 for package: rubygems-2.0.14-25.el7_1.noarch
--> Processing Dependency: rubygem(io-console) >= 0.4.2 for package: rubygems-2.0.14-25.el7_1.noarch
--> Processing Dependency: /usr/bin/ruby for package: rubygems-2.0.14-25.el7_1.noarch
--> Running transaction check
---> Package openstack-packstack.noarch 1:7.0.0-0.7.dev1661.gaf13b7e.el7 will be installed
--> Processing Dependency: python-docutils for package: 1:openstack-packstack-7.0.0-0.7.dev1661.gaf13b7e.el7.noarch
---> Package ruby.x86_64 0:2.0.0.598-25.el7_1 will be installed
--> Processing Dependency: rubygem(bigdecimal) >= 1.2.0 for package: ruby-2.0.0.598-25.el7_1.x86_64
---> Package rubygem-io-console.x86_64 0:0.4.2-25.el7_1 will be installed
---> Package rubygem-psych.x86_64 0:2.0.0-25.el7_1 will be installed
---> Package rubygem-rdoc.noarch 0:4.0.0-25.el7_1 will be installed
--> Processing Dependency: ruby(irb) = 2.0.0.598 for package: rubygem-rdoc-4.0.0-25.el7_1.noarch
--> Running transaction check
---> Package openstack-packstack.noarch 1:7.0.0-0.7.dev1661.gaf13b7e.el7 will be installed
--> Processing Dependency: python-docutils for package: 1:openstack-packstack-7.0.0-0.7.dev1661.gaf13b7e.el7.noarch
---> Package ruby-irb.noarch 0:2.0.0.598-25.el7_1 will be installed
---> Package rubygem-bigdecimal.x86_64 0:1.2.0-25.el7_1 will be installed
--> Finished Dependency Resolution
Error: Package: 1:openstack-packstack-7.0.0-0.7.dev1661.gaf13b7e.el7.noarch (openstack-liberty)
           Requires: python-docutils
**********************************************************************
yum can be configured to try to resolve such errors by temporarily enabling
disabled repos and searching for missing dependencies.
To enable this functionality please set 'notify_only=0' in /etc/yum/pluginconf.d/search-disabled-repos.conf
**********************************************************************

Error: Package: 1:openstack-packstack-7.0.0-0.7.dev1661.gaf13b7e.el7.noarch (openstack-liberty)
           Requires: python-docutils
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest
[openstack@nuc0 ~]$ sudo vi /etc/yum/pluginconf.d/search-disabled-repos.conf
[openstack@nuc0 ~]$ sudo yum install -y openstack-packstack
Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager
Resolving Dependencies
--> Running transaction check
---> Package openstack-packstack.noarch 1:7.0.0-0.7.dev1661.gaf13b7e.el7 will be installed
--> Processing Dependency: openstack-packstack-puppet = 1:7.0.0-0.7.dev1661.gaf13b7e.el7 for package: 1:openstack-packstack-7.0.0-0.7.dev1661.gaf13b7e.el7.noarch
--> Processing Dependency: openstack-puppet-modules >= 2014.2.10 for package: 1:openstack-packstack-7.0.0-0.7.dev1661.gaf13b7e.el7.noarch
--> Processing Dependency: python-netaddr for package: 1:openstack-packstack-7.0.0-0.7.dev1661.gaf13b7e.el7.noarch
--> Processing Dependency: python-docutils for package: 1:openstack-packstack-7.0.0-0.7.dev1661.gaf13b7e.el7.noarch
--> Processing Dependency: PyYAML for package: 1:openstack-packstack-7.0.0-0.7.dev1661.gaf13b7e.el7.noarch
--> Running transaction check
---> Package PyYAML.x86_64 0:3.10-11.el7 will be installed
--> Processing Dependency: libyaml-0.so.2()(64bit) for package: PyYAML-3.10-11.el7.x86_64
---> Package openstack-packstack.noarch 1:7.0.0-0.7.dev1661.gaf13b7e.el7 will be installed
--> Processing Dependency: python-docutils for package: 1:openstack-packstack-7.0.0-0.7.dev1661.gaf13b7e.el7.noarch
---> Package openstack-packstack-puppet.noarch 1:7.0.0-0.7.dev1661.gaf13b7e.el7 will be installed
---> Package openstack-puppet-modules.noarch 1:7.0.0-1.el7 will be installed
--> Processing Dependency: rubygem-json for package: 1:openstack-puppet-modules-7.0.0-1.el7.noarch
---> Package python-netaddr.noarch 0:0.7.18-1.el7 will be installed
--> Running transaction check
---> Package libyaml.x86_64 0:0.1.4-11.el7_0 will be installed
---> Package openstack-packstack.noarch 1:7.0.0-0.7.dev1661.gaf13b7e.el7 will be installed
--> Processing Dependency: python-docutils for package: 1:openstack-packstack-7.0.0-0.7.dev1661.gaf13b7e.el7.noarch
---> Package rubygem-json.x86_64 0:1.7.7-25.el7_1 will be installed
--> Processing Dependency: ruby(rubygems) >= 2.0.14 for package: rubygem-json-1.7.7-25.el7_1.x86_64
--> Processing Dependency: ruby(release) for package: rubygem-json-1.7.7-25.el7_1.x86_64
--> Processing Dependency: libruby.so.2.0()(64bit) for package: rubygem-json-1.7.7-25.el7_1.x86_64
--> Running transaction check
---> Package openstack-packstack.noarch 1:7.0.0-0.7.dev1661.gaf13b7e.el7 will be installed
--> Processing Dependency: python-docutils for package: 1:openstack-packstack-7.0.0-0.7.dev1661.gaf13b7e.el7.noarch
---> Package ruby-libs.x86_64 0:2.0.0.598-25.el7_1 will be installed
---> Package rubygems.noarch 0:2.0.14-25.el7_1 will be installed
--> Processing Dependency: rubygem(rdoc) >= 4.0.0 for package: rubygems-2.0.14-25.el7_1.noarch
--> Processing Dependency: rubygem(psych) >= 2.0.0 for package: rubygems-2.0.14-25.el7_1.noarch
--> Processing Dependency: rubygem(io-console) >= 0.4.2 for package: rubygems-2.0.14-25.el7_1.noarch
--> Processing Dependency: /usr/bin/ruby for package: rubygems-2.0.14-25.el7_1.noarch
--> Running transaction check
---> Package openstack-packstack.noarch 1:7.0.0-0.7.dev1661.gaf13b7e.el7 will be installed
--> Processing Dependency: python-docutils for package: 1:openstack-packstack-7.0.0-0.7.dev1661.gaf13b7e.el7.noarch
---> Package ruby.x86_64 0:2.0.0.598-25.el7_1 will be installed
--> Processing Dependency: rubygem(bigdecimal) >= 1.2.0 for package: ruby-2.0.0.598-25.el7_1.x86_64
---> Package rubygem-io-console.x86_64 0:0.4.2-25.el7_1 will be installed
---> Package rubygem-psych.x86_64 0:2.0.0-25.el7_1 will be installed
---> Package rubygem-rdoc.noarch 0:4.0.0-25.el7_1 will be installed
--> Processing Dependency: ruby(irb) = 2.0.0.598 for package: rubygem-rdoc-4.0.0-25.el7_1.noarch
--> Running transaction check
---> Package openstack-packstack.noarch 1:7.0.0-0.7.dev1661.gaf13b7e.el7 will be installed
--> Processing Dependency: python-docutils for package: 1:openstack-packstack-7.0.0-0.7.dev1661.gaf13b7e.el7.noarch
---> Package ruby-irb.noarch 0:2.0.0.598-25.el7_1 will be installed
---> Package rubygem-bigdecimal.x86_64 0:1.2.0-25.el7_1 will be installed
--> Finished Dependency Resolution
Error: Package: 1:openstack-packstack-7.0.0-0.7.dev1661.gaf13b7e.el7.noarch (openstack-liberty)
           Requires: python-docutils
**********************************************************************
Dependency resolving failed due to missing dependencies.
Some repositories on your system are disabled, but yum can enable them
and search for missing dependencies. This will require downloading
metadata for disabled repositories and may take some time and traffic.
**********************************************************************

rhel-7-server-eus-rhn-tools-rpms/7Server/x86_64                                                                                  | 3.8 kB  00:00:00    
rhel-7-server-eus-rhn-tools-rpms/7Server/x86_64/group                                                                            |  104 B  00:00:00    
rhel-7-server-eus-rhn-tools-rpms/7Server/x86_64/updateinfo                                                                       |  24 kB  00:00:00    
rhel-7-server-eus-rhn-tools-rpms/7Server/x86_64/primary_db                                                                       |  31 kB  00:00:00    
rhel-7-server-openstack-7.0-tools-rpms/7Server/x86_64                                                                            | 3.8 kB  00:00:00    
rhel-7-server-openstack-7.0-tools-rpms/7Server/x86_64/group                                                                      |  104 B  00:00:00    
rhel-7-server-openstack-7.0-tools-rpms/7Server/x86_64/updateinfo                                                                 |  76 kB  00:00:00    
rhel-7-server-openstack-7.0-tools-rpms/7Server/x86_64/primary_db                                                                 |  32 kB  00:00:00    
rhel-7-server-eus-rh-common-rpms/7Server/x86_64                                                                                  | 3.7 kB  00:00:00    
rhel-7-server-eus-rh-common-rpms/7Server/x86_64/group                                                                            |  104 B  00:00:00    
rhel-7-server-eus-rh-common-rpms/7Server/x86_64/updateinfo                                                                       |   91 B  00:00:00    
rhel-7-server-eus-rh-common-rpms/7Server/x86_64/primary_db                                                                       | 1.5 kB  00:00:00    
rhel-7-server-eus-satellite-tools-6.1-rpms/7Server/x86_64                                                                        | 3.8 kB  00:00:00    
rhel-7-server-eus-satellite-tools-6.1-rpms/7Server/x86_64/group                                                                  | 1.7 kB  00:00:00    
rhel-7-server-eus-satellite-tools-6.1-rpms/7Server/x86_64/updateinfo                                                             |  34 kB  00:00:00    
rhel-7-server-eus-satellite-tools-6.1-rpms/7Server/x86_64/primary_db                                                             |  34 kB  00:00:00    
rhel-ha-for-rhel-7-server-fastrack-rpms/x86_64                                                                                   | 2.5 kB  00:00:00    
rhel-ha-for-rhel-7-server-fastrack-rpms/x86_64/primary_db                                                                        | 1.2 kB  00:00:00    
rhel-7-server-v2vwin-1-rpms/7Server/x86_64                                                                                       | 2.9 kB  00:00:00    
rhel-7-server-v2vwin-1-rpms/7Server/x86_64/updateinfo                                                                            | 1.1 kB  00:00:00    
rhel-7-server-v2vwin-1-rpms/7Server/x86_64/primary_db                                                                            | 3.5 kB  00:00:00    
rh-gluster-3-client-for-rhel-7-server-rpms/7Server/x86_64                                                                        | 3.8 kB  00:00:00    
rh-gluster-3-client-for-rhel-7-server-rpms/7Server/x86_64/group                                                                  |  130 B  00:00:00    
rh-gluster-3-client-for-rhel-7-server-rpms/7Server/x86_64/updateinfo                                                             | 7.7 kB  00:00:00    
rh-gluster-3-client-for-rhel-7-server-rpms/7Server/x86_64/primary_db                                                             |  15 kB  00:00:00    
rhel-7-server-extras-rpms/x86_64                                                                                                 | 2.9 kB  00:00:00    
rhel-7-server-extras-rpms/x86_64/updateinfo                                                                                      |  35 kB  00:00:00    
rhel-7-server-extras-rpms/x86_64/primary_db                                                                                      |  68 kB  00:00:00    
rhel-7-server-eus-supplementary-rpms/7Server/x86_64                                                                              | 2.9 kB  00:00:00    
rhel-7-server-eus-supplementary-rpms/7Server/x86_64/updateinfo                                                                   | 5.3 kB  00:00:00    
rhel-7-server-eus-supplementary-rpms/7Server/x86_64/primary_db                                                                   |  80 kB  00:00:00    
rhel-server-rhscl-7-eus-rpms/7Server/x86_64                                                                                      | 2.9 kB  00:00:00    
https://cdn.redhat.com/content/eus/rhel/server/7/7Server/x86_64/rhscl/1/os/repodata/8ef08056443a777124f17d328ae519fdc98fdd72343bb70a7172656795c7176d-updateinfo.xml.gz: [Errno 14] HTTPS Error 404 - Not Found
Trying other mirror.
To address this issue please refer to the below knowledge base article

https://access.redhat.com/articles/1320623

If above article doesn't help to resolve this issue please open a ticket with Red Hat Support.

rhel-server-rhscl-7-eus-rpms/7 FAILED                                         
https://cdn.redhat.com/content/eus/rhel/server/7/7Server/x86_64/rhscl/1/os/repodata/75b08da25f22440831380ad08414ad4954fe4823-primary.sqlite.bz2: [Errno 14] HTTPS Error 404 - Not Found
Trying other mirror.
https://cdn.redhat.com/content/eus/rhel/server/7/7Server/x86_64/rhscl/1/os/repodata/75b08da25f22440831380ad08414ad4954fe4823-primary.sqlite.bz2: [Errno 14] HTTPS Error 404 - Not Found
Trying other mirror.
rhel-server-rhscl-7-rpms/7Server/x86_64                                                                                          | 3.1 kB  00:00:00    
rhel-server-rhscl-7-rpms/7Server/x86_64/updateinfo                                                                               | 363 kB  00:00:00    
rhel-server-rhscl-7-rpms/7Server/x86_64/primary_db                                                                               | 1.8 MB  00:00:00    
rhel-7-server-eus-optional-rpms/7Server/x86_64                                                                                   | 3.8 kB  00:00:00    
rhel-7-server-eus-optional-rpms/7Server/x86_64/group                                                                             |  104 B  00:00:00    
rhel-7-server-eus-optional-rpms/7Server/x86_64/updateinfo                                                                        | 560 kB  00:00:00    
rhel-7-server-eus-optional-rpms/7Server/x86_64/primary_db                                                                        | 3.1 MB  00:00:01    
rhel-7-server-rhn-tools-rpms/7Server/x86_64                                                                                      | 3.8 kB  00:00:00    
rhel-7-server-rhn-tools-rpms/7Server/x86_64/group                                                                                |  104 B  00:00:00    
rhel-7-server-rhn-tools-rpms/7Server/x86_64/updateinfo                                                                           |  24 kB  00:00:00    
rhel-7-server-rhn-tools-rpms/7Server/x86_64/primary_db                                                                           |  30 kB  00:00:00    
rhel-rs-for-rhel-7-server-fastrack-rpms/x86_64                                                                                   | 2.5 kB  00:00:00    
rhel-rs-for-rhel-7-server-fastrack-rpms/x86_64/primary_db                                                                        | 1.2 kB  00:00:00    
rhel-7-server-thirdparty-oracle-java-rpms/7Server/x86_64                                                                         | 3.8 kB  00:00:00    
rhel-7-server-thirdparty-oracle-java-rpms/7Server/x86_64/group_gz                                                                | 5.2 kB  00:00:00    
rhel-7-server-thirdparty-oracle-java-rpms/7Server/x86_64/updateinfo                                                              |  16 kB  00:00:00    
rhel-7-server-thirdparty-oracle-java-rpms/7Server/x86_64/primary_db                                                              | 159 kB  00:00:00    
rhel-7-server-fastrack-rpms/x86_64                                                                                               | 3.8 kB  00:00:00    
rhel-7-server-fastrack-rpms/x86_64/group                                                                                         |  104 B  00:00:00    
rhel-7-server-fastrack-rpms/x86_64/updateinfo                                                                                    |  31 kB  00:00:00    
rhel-7-server-fastrack-rpms/x86_64/primary_db                                                                                    | 153 kB  00:00:00    
rhel-7-server-rh-common-rpms/7Server/x86_64                                                                                      | 3.8 kB  00:00:00    
rhel-7-server-rh-common-rpms/7Server/x86_64/group                                                                                |  104 B  00:00:00    
rhel-7-server-rh-common-rpms/7Server/x86_64/updateinfo                                                                           |  47 kB  00:00:00    
rhel-7-server-rh-common-rpms/7Server/x86_64/primary_db                                                                           |  89 kB  00:00:00    
rhel-7-server-optional-fastrack-rpms/x86_64                                                                                      | 2.9 kB  00:00:00    
rhel-7-server-optional-fastrack-rpms/x86_64/updateinfo                                                                           | 8.2 kB  00:00:00    
rhel-7-server-optional-fastrack-rpms/x86_64/primary_db                                                                           |  51 kB  00:00:00    
rhel-7-server-satellite-tools-6.1-rpms/x86_64                                                                                    | 3.8 kB  00:00:00    
rhel-7-server-satellite-tools-6.1-rpms/x86_64/group                                                                              | 1.7 kB  00:00:00    
rhel-7-server-satellite-tools-6.1-rpms/x86_64/updateinfo                                                                         |  34 kB  00:00:00    
rhel-7-server-satellite-tools-6.1-rpms/x86_64/primary_db                                                                         |  34 kB  00:00:00    
rhel-atomic-host-rpms/x86_64                                                                                                     | 4.0 kB  00:00:00    
rhel-atomic-host-rpms/x86_64/group                                                                                               |  104 B  00:00:00    
rhel-atomic-host-rpms/x86_64/updateinfo                                                                                          |  15 kB  00:00:00    
rhel-atomic-host-rpms/x86_64/primary_db                                                                                          |  56 kB  00:00:00    
rhel-7-server-supplementary-rpms/7Server/x86_64                                                                                  | 3.8 kB  00:00:00    
rhel-7-server-supplementary-rpms/7Server/x86_64/group_gz                                                                         | 8.9 kB  00:00:00    
rhel-7-server-supplementary-rpms/7Server/x86_64/updateinfo                                                                       |  19 kB  00:00:00    
rhel-7-server-supplementary-rpms/7Server/x86_64/primary_db                                                                       | 106 kB  00:00:00    
rhel-7-server-optional-rpms/7Server/x86_64                                                                                       | 3.5 kB  00:00:00    
rhel-7-server-optional-rpms/7Server/x86_64/group_gz                                                                              | 6.2 kB  00:00:00    
rhel-7-server-optional-rpms/7Server/x86_64/updateinfo                                                                            | 792 kB  00:00:00    
rhel-7-server-optional-rpms/7Server/x86_64/primary_db                                                                            | 3.0 MB  00:00:01    
rhel-7-server-eus-supplementary-debuginfo/7Server/x86_64                                                                         | 2.5 kB  00:00:00    
rhel-7-server-eus-supplementary-debuginfo/7Server/x86_64/primary_db                                                              | 1.2 kB  00:00:00    
rhel-7-server-rhceph-1.3-tools-rpms/7Server/x86_64                                                                               | 3.8 kB  00:00:00    
rhel-7-server-rhceph-1.3-tools-rpms/7Server/x86_64/group                                                                         |  104 B  00:00:00    
rhel-7-server-rhceph-1.3-tools-rpms/7Server/x86_64/updateinfo                                                                    |  35 kB  00:00:00    
rhel-7-server-rhceph-1.3-tools-rpms/7Server/x86_64/primary_db                                                                    |  46 kB  00:00:00    
rhel-7-server-eus-thirdparty-oracle-java-rpms/7Server/x86_64                                                                     | 3.8 kB  00:00:00    
https://cdn.redhat.com/content/eus/rhel/server/7/7Server/x86_64/oracle-java/os/repodata/3e800f8eb4bfc89f8e320cda3dd709a8e0bef5f4884e3b622df63b17249e8242-comps.xml: [Errno 14] HTTPS Error 404 - Not Found
Trying other mirror.
rhel-7-server-eus-thirdparty-o FAILED                                         
https://cdn.redhat.com/content/eus/rhel/server/7/7Server/x86_64/oracle-java/os/repodata/c6ae45356b83c5a8997be192c69cd945ea3ac6f991a7eaba6c90a7f17d0728a7-primary.sqlite.bz2: [Errno 14] HTTPS Error 404 - Not Found
Trying other mirror.
https://cdn.redhat.com/content/eus/rhel/server/7/7Server/x86_64/oracle-java/os/repodata/c6ae45356b83c5a8997be192c69cd945ea3ac6f991a7eaba6c90a7f17d0728a7-primary.sqlite.bz2: [Errno 14] HTTPS Error 404 - Not Found
Trying other mirror.
rhel-sjis-for-rhel-7-server-eus-rpms/7Server/x86_64                                                                              | 4.0 kB  00:00:00    
rhel-sjis-for-rhel-7-server-eus-rpms/7Server/x86_64/group                                                                        |  104 B  00:00:00    
rhel-sjis-for-rhel-7-server-eus-rpms/7Server/x86_64/updateinfo                                                                   |   91 B  00:00:00    
rhel-sjis-for-rhel-7-server-eus-rpms/7Server/x86_64/primary_db                                                                   | 1.5 kB  00:00:00    
--> Running transaction check
---> Package openstack-packstack.noarch 1:7.0.0-0.7.dev1661.gaf13b7e.el7 will be installed
--> Processing Dependency: python-docutils for package: 1:openstack-packstack-7.0.0-0.7.dev1661.gaf13b7e.el7.noarch
--> Running transaction check
---> Package python-docutils.noarch 0:0.11-0.2.20130715svn7687.el7 will be installed
--> Processing Dependency: python-imaging for package: python-docutils-0.11-0.2.20130715svn7687.el7.noarch
--> Running transaction check
---> Package python-pillow.x86_64 0:2.0.0-19.gitd1c6db8.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

========================================================================================================================================================
 Package                               Arch              Version                                       Repository                                  Size
========================================================================================================================================================
Installing:
 openstack-packstack                   noarch            1:7.0.0-0.7.dev1661.gaf13b7e.el7              openstack-liberty                          232 k
Installing for dependencies:
 PyYAML                                x86_64            3.10-11.el7                                   rhel-7-server-eus-rpms                     153 k
 libyaml                               x86_64            0.1.4-11.el7_0                                rhel-7-server-eus-rpms                      55 k
 openstack-packstack-puppet            noarch            1:7.0.0-0.7.dev1661.gaf13b7e.el7              openstack-liberty                           17 k
 openstack-puppet-modules              noarch            1:7.0.0-1.el7                                 openstack-liberty                          1.7 M
 python-docutils                       noarch            0.11-0.2.20130715svn7687.el7                  rhel-7-server-eus-optional-rpms            1.5 M
 python-netaddr                        noarch            0.7.18-1.el7                                  openstack-liberty                          1.3 M
 python-pillow                         x86_64            2.0.0-19.gitd1c6db8.el7                       rhel-7-server-eus-rpms                     438 k
 ruby                                  x86_64            2.0.0.598-25.el7_1                            rhel-7-server-eus-rpms                      67 k
 ruby-irb                              noarch            2.0.0.598-25.el7_1                            rhel-7-server-eus-rpms                      88 k
 ruby-libs                             x86_64            2.0.0.598-25.el7_1                            rhel-7-server-eus-rpms                     2.8 M
 rubygem-bigdecimal                    x86_64            1.2.0-25.el7_1                                rhel-7-server-eus-rpms                      79 k
 rubygem-io-console                    x86_64            0.4.2-25.el7_1                                rhel-7-server-eus-rpms                      50 k
 rubygem-json                          x86_64            1.7.7-25.el7_1                                rhel-7-server-eus-rpms                      75 k
 rubygem-psych                         x86_64            2.0.0-25.el7_1                                rhel-7-server-eus-rpms                      77 k
 rubygem-rdoc                          noarch            4.0.0-25.el7_1                                rhel-7-server-eus-rpms                     318 k
 rubygems                              noarch            2.0.14-25.el7_1                               rhel-7-server-eus-rpms                     212 k

Transaction Summary
========================================================================================================================================================
Install  1 Package (+16 Dependent packages)

Total download size: 9.1 M
Installed size: 33 M
Downloading packages:
(1/17): libyaml-0.1.4-11.el7_0.x86_64.rpm                                                                                        |  55 kB  00:00:00    
warning: /var/cache/yum/x86_64/7Server/openstack-liberty/packages/openstack-packstack-puppet-7.0.0-0.7.dev1661.gaf13b7e.el7.noarch.rpm: Header V4 RSA/SHA1 Signature, key ID 764429e6: NOKEY
Public key for openstack-packstack-puppet-7.0.0-0.7.dev1661.gaf13b7e.el7.noarch.rpm is not installed
(2/17): openstack-packstack-puppet-7.0.0-0.7.dev1661.gaf13b7e.el7.noarch.rpm                                                     |  17 kB  00:00:00    
(3/17): openstack-packstack-7.0.0-0.7.dev1661.gaf13b7e.el7.noarch.rpm                                                            | 232 kB  00:00:00    
(4/17): PyYAML-3.10-11.el7.x86_64.rpm                                                                                            | 153 kB  00:00:00    
(5/17): ruby-2.0.0.598-25.el7_1.x86_64.rpm                                                                                       |  67 kB  00:00:00    
(6/17): python-pillow-2.0.0-19.gitd1c6db8.el7.x86_64.rpm                                                                         | 438 kB  00:00:00    
(7/17): ruby-irb-2.0.0.598-25.el7_1.noarch.rpm                                                                                   |  88 kB  00:00:00    
(8/17): rubygem-bigdecimal-1.2.0-25.el7_1.x86_64.rpm                                                                             |  79 kB  00:00:00    
(9/17): rubygem-io-console-0.4.2-25.el7_1.x86_64.rpm                                                                             |  50 kB  00:00:00    
(10/17): rubygem-json-1.7.7-25.el7_1.x86_64.rpm                                                                                  |  75 kB  00:00:00    
(11/17): rubygem-psych-2.0.0-25.el7_1.x86_64.rpm                                                                                 |  77 kB  00:00:00    
(12/17): python-netaddr-0.7.18-1.el7.noarch.rpm                                                                                  | 1.3 MB  00:00:02    
(13/17): python-docutils-0.11-0.2.20130715svn7687.el7.noarch.rpm                                                                 | 1.5 MB  00:00:02    
(14/17): openstack-puppet-modules-7.0.0-1.el7.noarch.rpm                                                                         | 1.7 MB  00:00:03    
(15/17): rubygem-rdoc-4.0.0-25.el7_1.noarch.rpm                                                                                  | 318 kB  00:00:00    
(16/17): rubygems-2.0.14-25.el7_1.noarch.rpm                                                                                     | 212 kB  00:00:00    
(17/17): ruby-libs-2.0.0.598-25.el7_1.x86_64.rpm                                                                                 | 2.8 MB  00:00:03    
--------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                   2.0 MB/s | 9.1 MB  00:00:04    
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-Cloud
Importing GPG key 0x764429E6:
 Userid     : "CentOS Cloud SIG (http://wiki.centos.org/SpecialInterestGroup/Cloud) <security@centos.org>"
 Fingerprint: 736a f511 6d9c 40e2 af6b 074b f9b9 fee7 7644 29e6
 Package    : rdo-release-liberty-2.noarch (@/rdo-release)
 From       : /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-Cloud
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : ruby-libs-2.0.0.598-25.el7_1.x86_64                                                                                                 1/17
  Installing : libyaml-0.1.4-11.el7_0.x86_64                                                                                                       2/17
  Installing : PyYAML-3.10-11.el7.x86_64                                                                                                           3/17
  Installing : ruby-irb-2.0.0.598-25.el7_1.noarch                                                                                                  4/17
  Installing : ruby-2.0.0.598-25.el7_1.x86_64                                                                                                      5/17
  Installing : rubygem-bigdecimal-1.2.0-25.el7_1.x86_64                                                                                            6/17
  Installing : rubygem-rdoc-4.0.0-25.el7_1.noarch                                                                                                  7/17
  Installing : rubygem-json-1.7.7-25.el7_1.x86_64                                                                                                  8/17
  Installing : rubygem-io-console-0.4.2-25.el7_1.x86_64                                                                                            9/17
  Installing : rubygems-2.0.14-25.el7_1.noarch                                                                                                    10/17
  Installing : rubygem-psych-2.0.0-25.el7_1.x86_64                                                                                                11/17
  Installing : 1:openstack-puppet-modules-7.0.0-1.el7.noarch                                                                                      12/17
  Installing : 1:openstack-packstack-puppet-7.0.0-0.7.dev1661.gaf13b7e.el7.noarch                                                                 13/17
  Installing : python-netaddr-0.7.18-1.el7.noarch                                                                                                 14/17
  Installing : python-pillow-2.0.0-19.gitd1c6db8.el7.x86_64                                                                                       15/17
  Installing : python-docutils-0.11-0.2.20130715svn7687.el7.noarch                                                                                16/17
  Installing : 1:openstack-packstack-7.0.0-0.7.dev1661.gaf13b7e.el7.noarch                                                                        17/17
rhel-7-server-supplementary-rpms/7Server/x86_64/productid                                                                        | 1.6 kB  00:00:00    
rhel-7-server-thirdparty-oracle-java-rpms/7Server/x86_64/productid                                                               | 1.7 kB  00:00:00    
rhel-atomic-host-rpms/x86_64/productid                                                                                           | 2.1 kB  00:00:00    
rhel-server-rhscl-7-rpms/7Server/x86_64/productid                                                                                | 1.7 kB  00:00:00    
rhel-sjis-for-rhel-7-server-eus-rpms/7Server/x86_64/productid                                                                    | 2.2 kB  00:00:00    
  Verifying  : libyaml-0.1.4-11.el7_0.x86_64                                                                                                       1/17
  Verifying  : python-pillow-2.0.0-19.gitd1c6db8.el7.x86_64                                                                                        2/17
  Verifying  : rubygem-rdoc-4.0.0-25.el7_1.noarch                                                                                                  3/17
  Verifying  : rubygems-2.0.14-25.el7_1.noarch                                                                                                     4/17
  Verifying  : 1:openstack-packstack-7.0.0-0.7.dev1661.gaf13b7e.el7.noarch                                                                         5/17
  Verifying  : python-netaddr-0.7.18-1.el7.noarch                                                                                                  6/17
  Verifying  : ruby-2.0.0.598-25.el7_1.x86_64                                                                                                      7/17
  Verifying  : rubygem-bigdecimal-1.2.0-25.el7_1.x86_64                                                                                            8/17
  Verifying  : 1:openstack-puppet-modules-7.0.0-1.el7.noarch                                                                                       9/17
  Verifying  : ruby-libs-2.0.0.598-25.el7_1.x86_64                                                                                                10/17
  Verifying  : rubygem-json-1.7.7-25.el7_1.x86_64                                                                                                 11/17
  Verifying  : PyYAML-3.10-11.el7.x86_64                                                                                                          12/17
  Verifying  : 1:openstack-packstack-puppet-7.0.0-0.7.dev1661.gaf13b7e.el7.noarch                                                                 13/17
  Verifying  : ruby-irb-2.0.0.598-25.el7_1.noarch                                                                                                 14/17
  Verifying  : rubygem-psych-2.0.0-25.el7_1.x86_64                                                                                                15/17
  Verifying  : python-docutils-0.11-0.2.20130715svn7687.el7.noarch                                                                                16/17
  Verifying  : rubygem-io-console-0.4.2-25.el7_1.x86_64                                                                                           17/17
*******************************************************************
Dependency resolving was successful thanks to enabling these repositories:
rhel-7-server-eus-optional-rpms
*******************************************************************


Installed:
  openstack-packstack.noarch 1:7.0.0-0.7.dev1661.gaf13b7e.el7                                                                                          

Dependency Installed:
  PyYAML.x86_64 0:3.10-11.el7                                                           libyaml.x86_64 0:0.1.4-11.el7_0                                
  openstack-packstack-puppet.noarch 1:7.0.0-0.7.dev1661.gaf13b7e.el7                    openstack-puppet-modules.noarch 1:7.0.0-1.el7                  
  python-docutils.noarch 0:0.11-0.2.20130715svn7687.el7                                 python-netaddr.noarch 0:0.7.18-1.el7                           
  python-pillow.x86_64 0:2.0.0-19.gitd1c6db8.el7                                        ruby.x86_64 0:2.0.0.598-25.el7_1                               
  ruby-irb.noarch 0:2.0.0.598-25.el7_1                                                  ruby-libs.x86_64 0:2.0.0.598-25.el7_1                          
  rubygem-bigdecimal.x86_64 0:1.2.0-25.el7_1                                            rubygem-io-console.x86_64 0:0.4.2-25.el7_1                     
  rubygem-json.x86_64 0:1.7.7-25.el7_1                                                  rubygem-psych.x86_64 0:2.0.0-25.el7_1                          
  rubygem-rdoc.noarch 0:4.0.0-25.el7_1                                                  rubygems.noarch 0:2.0.14-25.el7_1                              

Complete!
[openstack@nuc0 ~]$ sudo packstack --allinone
Welcome to the Packstack setup utility

The installation log file is available at: /var/tmp/packstack/20151230-132844-2sQwfZ/openstack-setup.log
Packstack changed given value  to required value /root/.ssh/id_rsa.pub

Installing:
Clean Up                                             [ DONE ]
Discovering ip protocol version                      [ DONE ]
Setting up ssh keys                                  [ DONE ]
Preparing servers                                    [ DONE ]
Pre installing Puppet and discovering hosts' details [ DONE ]
Adding pre install manifest entries                  [ DONE ]
Setting up CACERT                                    [ DONE ]
Adding AMQP manifest entries                         [ DONE ]
Adding MariaDB manifest entries                      [ DONE ]
Fixing Keystone LDAP config parameters to be undef if empty[ DONE ]
Adding Keystone manifest entries                     [ DONE ]
Adding Glance Keystone manifest entries              [ DONE ]
Adding Glance manifest entries                       [ DONE ]
Adding Cinder Keystone manifest entries              [ DONE ]
Checking if the Cinder server has a cinder-volumes vg[ DONE ]
Adding Cinder manifest entries                       [ DONE ]
Adding Nova API manifest entries                     [ DONE ]
Adding Nova Keystone manifest entries                [ DONE ]
Adding Nova Cert manifest entries                    [ DONE ]
Adding Nova Conductor manifest entries               [ DONE ]
Creating ssh keys for Nova migration                 [ DONE ]
Gathering ssh host keys for Nova migration           [ DONE ]
Adding Nova Compute manifest entries                 [ DONE ]
Adding Nova Scheduler manifest entries               [ DONE ]
Adding Nova VNC Proxy manifest entries               [ DONE ]
Adding OpenStack Network-related Nova manifest entries[ DONE ]
Adding Nova Common manifest entries                  [ DONE ]
Adding Neutron VPNaaS Agent manifest entries         [ DONE ]
Adding Neutron FWaaS Agent manifest entries          [ DONE ]
Adding Neutron LBaaS Agent manifest entries          [ DONE ]
Adding Neutron API manifest entries                  [ DONE ]
Adding Neutron Keystone manifest entries             [ DONE ]
Adding Neutron L3 manifest entries                   [ DONE ]
Adding Neutron L2 Agent manifest entries             [ DONE ]
Adding Neutron DHCP Agent manifest entries           [ DONE ]
Adding Neutron Metering Agent manifest entries       [ DONE ]
Adding Neutron Metadata Agent manifest entries       [ DONE ]
Checking if NetworkManager is enabled and running    [ DONE ]
Adding OpenStack Client manifest entries             [ DONE ]
Adding Horizon manifest entries                      [ DONE ]
Adding Swift Keystone manifest entries               [ DONE ]
Adding Swift builder manifest entries                [ DONE ]
Adding Swift proxy manifest entries                  [ DONE ]
Adding Swift storage manifest entries                [ DONE ]
Adding Swift common manifest entries                 [ DONE ]
Adding Provisioning Demo manifest entries            [ DONE ]
Adding Provisioning Demo bridge manifest entries     [ DONE ]
Adding Provisioning Glance manifest entries          [ DONE ]
Adding MongoDB manifest entries                      [ DONE ]
Adding Redis manifest entries                        [ DONE ]
Adding Ceilometer manifest entries                   [ DONE ]
Adding Ceilometer Keystone manifest entries          [ DONE ]
Adding Nagios server manifest entries                [ DONE ]
Adding Nagios host manifest entries                  [ DONE ]
Adding post install manifest entries                 [ DONE ]
Copying Puppet modules and manifests                 [ DONE ]
Applying 192.168.13.102_prescript.pp
192.168.13.102_prescript.pp:                         [ DONE ]         
Applying 192.168.13.102_amqp.pp
Applying 192.168.13.102_mariadb.pp
192.168.13.102_amqp.pp:                              [ DONE ]       
192.168.13.102_mariadb.pp:                           [ DONE ]       
Applying 192.168.13.102_keystone.pp
Applying 192.168.13.102_glance.pp
Applying 192.168.13.102_cinder.pp
192.168.13.102_keystone.pp:                          [ DONE ]        
192.168.13.102_glance.pp:                            [ DONE ]        
192.168.13.102_cinder.pp:                            [ DONE ]        
Applying 192.168.13.102_api_nova.pp
192.168.13.102_api_nova.pp:                          [ DONE ]        
Applying 192.168.13.102_nova.pp
192.168.13.102_nova.pp:                              [ DONE ]    
Applying 192.168.13.102_neutron.pp
192.168.13.102_neutron.pp:                           [ DONE ]       
Applying 192.168.13.102_osclient.pp
Applying 192.168.13.102_horizon.pp
192.168.13.102_osclient.pp:                          [ DONE ]        
192.168.13.102_horizon.pp:                           [ DONE ]        
Applying 192.168.13.102_ring_swift.pp
192.168.13.102_ring_swift.pp:                        [ DONE ]          
Applying 192.168.13.102_swift.pp
Applying 192.168.13.102_provision_demo.pp
192.168.13.102_swift.pp:                             [ DONE ]              
192.168.13.102_provision_demo.pp:                    [ DONE ]              
Applying 192.168.13.102_provision_demo_bridge.pp
192.168.13.102_provision_demo_bridge.pp:             [ DONE ]                     
Applying 192.168.13.102_provision_glance
192.168.13.102_provision_glance:                     [ DONE ]             
Applying 192.168.13.102_mongodb.pp
Applying 192.168.13.102_redis.pp
192.168.13.102_mongodb.pp:                           [ DONE ]       
192.168.13.102_redis.pp:                             [ DONE ]       
Applying 192.168.13.102_ceilometer.pp
192.168.13.102_ceilometer.pp:                        [ DONE ]          
Applying 192.168.13.102_nagios.pp
Applying 192.168.13.102_nagios_nrpe.pp
192.168.13.102_nagios.pp:                            [ DONE ]           
192.168.13.102_nagios_nrpe.pp:                       [ DONE ]           
Applying 192.168.13.102_postscript.pp
192.168.13.102_postscript.pp:                        [ DONE ]          
Applying Puppet manifests                            [ DONE ]
Finalizing                                           [ DONE ]

 **** Installation completed successfully ******

Additional information:
 * A new answerfile was created in: /root/packstack-answers-20151230-132845.txt
 * Time synchronization installation was skipped. Please note that unsynchronized time on server instances might be problem for some OpenStack components.
 * Warning: NetworkManager is active on 192.168.13.102. OpenStack networking currently does not work on systems that have the Network Manager service enabled.
 * File /root/keystonerc_admin has been created on OpenStack client host 192.168.13.102. To use the command line tools you need to source the file.
 * To access the OpenStack Dashboard browse to http://192.168.13.102/dashboard .
Please, find your login credentials stored in the keystonerc_admin in your home directory.
 * To use Nagios, browse to http://192.168.13.102/nagios username: nagiosadmin, password: 5462aceefa884a79
 * Because of the kernel update the host 192.168.13.102 requires reboot.
 * The installation log file is available at: /var/tmp/packstack/20151230-132844-2sQwfZ/openstack-setup.log
 * The generated manifests are available at: /var/tmp/packstack/20151230-132844-2sQwfZ/manifests
[openstack@nuc0 ~]$ sudo cat /root/keystonerc_admin
[sudo] password for openstack:
unset OS_SERVICE_TOKEN
export OS_USERNAME=admin
export OS_PASSWORD=1a89f94c09fc419a
export OS_AUTH_URL=http://192.168.13.102:5000/v2.0
export PS1='[\u@\h \W(keystone_admin)]\$ '

export OS_TENANT_NAME=admin
export OS_REGION_NAME=RegionOne


install heat

https://www.rdoproject.org/install/deploy-heat-and-launch-your-first-application/

[root@nuc0 ~(keystone_admin)]# heat stack-list
publicURL endpoint for orchestration service in RegionOne region not found
[root@nuc0 ~(keystone_admin)]# exit
logout
[root@nuc0 openstack]# exit
exit
[openstack@nuc0 ~]$ sudo yum install "openstack-heat-*" python-heatclient
[sudo] password for openstack:
Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager
Package python-heatclient-0.8.0-1.el7.noarch already installed and latest version
Resolving Dependencies
--> Running transaction check
---> Package openstack-heat-api.noarch 1:5.0.0-1.el7 will be installed
---> Package openstack-heat-api-cfn.noarch 1:5.0.0-1.el7 will be installed
---> Package openstack-heat-api-cloudwatch.noarch 1:5.0.0-1.el7 will be installed
---> Package openstack-heat-common.noarch 1:5.0.0-1.el7 will be installed
--> Processing Dependency: python-oslo-cache for package: 1:openstack-heat-common-5.0.0-1.el7.noarch
---> Package openstack-heat-engine.noarch 1:5.0.0-1.el7 will be installed
---> Package openstack-heat-templates.noarch 0:0-0.1.20151019.el7 will be installed
--> Running transaction check
---> Package python-oslo-cache.noarch 0:0.7.0-1.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

==============================================================================================================================
 Package                                  Arch              Version                        Repository                    Size
==============================================================================================================================
Installing:
 openstack-heat-api                       noarch            1:5.0.0-1.el7                  openstack-liberty             13 k
 openstack-heat-api-cfn                   noarch            1:5.0.0-1.el7                  openstack-liberty             13 k
 openstack-heat-api-cloudwatch            noarch            1:5.0.0-1.el7                  openstack-liberty             13 k
 openstack-heat-common                    noarch            1:5.0.0-1.el7                  openstack-liberty            1.1 M
 openstack-heat-engine                    noarch            1:5.0.0-1.el7                  openstack-liberty             13 k
 openstack-heat-templates                 noarch            0-0.1.20151019.el7             openstack-liberty             71 k
Installing for dependencies:
 python-oslo-cache                        noarch            0.7.0-1.el7                    openstack-liberty             63 k

Transaction Summary
==============================================================================================================================
Install  6 Packages (+1 Dependent package)

Total download size: 1.3 M
Installed size: 5.4 M
Is this ok [y/d/N]: y
Downloading packages:
(1/7): openstack-heat-api-cfn-5.0.0-1.el7.noarch.rpm                                                   |  13 kB  00:00:00
(2/7): openstack-heat-api-cloudwatch-5.0.0-1.el7.noarch.rpm                                            |  13 kB  00:00:00
(3/7): openstack-heat-api-5.0.0-1.el7.noarch.rpm                                                       |  13 kB  00:00:00
(4/7): openstack-heat-engine-5.0.0-1.el7.noarch.rpm                                                    |  13 kB  00:00:00
(5/7): openstack-heat-templates-0-0.1.20151019.el7.noarch.rpm                                          |  71 kB  00:00:00
(6/7): openstack-heat-common-5.0.0-1.el7.noarch.rpm                                                    | 1.1 MB  00:00:00
(7/7): python-oslo-cache-0.7.0-1.el7.noarch.rpm                                                        |  63 kB  00:00:00
------------------------------------------------------------------------------------------------------------------------------
Total                                                                                         954 kB/s | 1.3 MB  00:00:01
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : python-oslo-cache-0.7.0-1.el7.noarch                                                                       1/7
  Installing : 1:openstack-heat-common-5.0.0-1.el7.noarch                                                                 2/7
  Installing : 1:openstack-heat-api-cfn-5.0.0-1.el7.noarch                                                                3/7
  Installing : 1:openstack-heat-api-cloudwatch-5.0.0-1.el7.noarch                                                         4/7
  Installing : 1:openstack-heat-api-5.0.0-1.el7.noarch                                                                    5/7
  Installing : 1:openstack-heat-engine-5.0.0-1.el7.noarch                                                                 6/7
  Installing : openstack-heat-templates-0-0.1.20151019.el7.noarch                                                         7/7
  Verifying  : 1:openstack-heat-api-cfn-5.0.0-1.el7.noarch                                                                1/7
  Verifying  : 1:openstack-heat-api-cloudwatch-5.0.0-1.el7.noarch                                                         2/7
  Verifying  : 1:openstack-heat-api-5.0.0-1.el7.noarch                                                                    3/7
  Verifying  : 1:openstack-heat-common-5.0.0-1.el7.noarch                                                                 4/7
  Verifying  : openstack-heat-templates-0-0.1.20151019.el7.noarch                                                         5/7
  Verifying  : 1:openstack-heat-engine-5.0.0-1.el7.noarch                                                                 6/7
  Verifying  : python-oslo-cache-0.7.0-1.el7.noarch                                                                       7/7

Installed:
  openstack-heat-api.noarch 1:5.0.0-1.el7                      openstack-heat-api-cfn.noarch 1:5.0.0-1.el7
  openstack-heat-api-cloudwatch.noarch 1:5.0.0-1.el7           openstack-heat-common.noarch 1:5.0.0-1.el7
  openstack-heat-engine.noarch 1:5.0.0-1.el7                   openstack-heat-templates.noarch 0:0-0.1.20151019.el7

Dependency Installed:
  python-oslo-cache.noarch 0:0.7.0-1.el7

Complete!

[root@biometric91 ~]# openstack-status
== Nova services ==
openstack-nova-api:                     active
openstack-nova-cert:                    active
openstack-nova-compute:                 active
openstack-nova-network:                 inactive  (disabled on boot)
openstack-nova-scheduler:               active
openstack-nova-conductor:               active
== Glance services ==
openstack-glance-api:                   active
openstack-glance-registry:              active
== Keystone service ==
openstack-keystone:                     inactive  (disabled on boot)
== Horizon service ==
openstack-dashboard:                    active
== neutron services ==
neutron-server:                         active
neutron-dhcp-agent:                     active
neutron-l3-agent:                       active
neutron-metadata-agent:                 active
neutron-openvswitch-agent:              active
== Swift services ==
openstack-swift-proxy:                  active
openstack-swift-account:                active
openstack-swift-container:              active
openstack-swift-object:                 active
== Cinder services ==
openstack-cinder-api:                   active
openstack-cinder-scheduler:             active
openstack-cinder-volume:                active
openstack-cinder-backup:                active
== Ceilometer services ==
openstack-ceilometer-api:               active
openstack-ceilometer-central:           active
openstack-ceilometer-compute:           active
openstack-ceilometer-collector:         active
openstack-ceilometer-alarm-notifier:    active
openstack-ceilometer-alarm-evaluator:   active
openstack-ceilometer-notification:      active
== Support services ==
mysqld:                                 inactive  (disabled on boot)
openvswitch:                            active
dbus:                                   active
target:                                 active
rabbitmq-server:                        active
memcached:                              active


Ubuntu Canonical MAAS

http://ronaldbradford.com/blog/installing-ubuntu-openstack-2015-06-01/
sudo apt-add-repository -y ppa:cloud-installer/stable
sudo apt-get update
sudo apt-get install -y openstack
sudo openstack-install --version
sudo openstack-install
works but no web access without
openstack@biomos14:~$ sudo iptables -t nat -A PREROUTING -p tcp -i em1 --dport 80 -j DNAT --to-destination 10.0.6.4:80
openstack@biomos14:~$ sudo iptables -A FORWARD -p tcp -d 10.0.6.4 --dport 80 -m state --state NEW,ESTABLISHED,RELATED -j ACCEPT

add heat via
http://openstack.astokes.org/
https://wiki.ubuntu.com/OpenStack/Installer/using-juju

   38  openstack-juju status
   39  openstack-juju deploy heat


restarting
https://help.ubuntu.com/lts/clouddocs/installer/en/single-install.html
does not work because of missing bridge

openstack@biomos14:~$ sudo lxc-start -n openstack-single-openstack
lxc-start: conf.c: instantiate_veth: 3105 failed to attach 'vethVED3WO' to the bridge 'lxcbr0': No such device

Above runs lxc vms

fails on
Adding new user `rabbitmq' (UID 111) with group `rabbitmq' ...
Not creating home directory `/var/lib/rabbitmq'.
 * Starting message broker rabbitmq-server
 * FAILED - check /var/log/rabbitmq/startup_\{log, _err\}
   ...fail!
invoke-rc.d: initscript rabbitmq-server, action "start" failed.
dpkg: error processing package rabbitmq-server (--configure):
 subprocess installed post-installation script returned error exit status 1
Processing triggers for libc-bin (2.19-0ubuntu6.6) ...
Processing triggers for ureadahead (0.100.0-16) ...
Errors were encountered while processing:
 rabbitmq-server
E: Sub-process /usr/bin/dpkg returned an error code (1)
Error None
Failed to execute command apt-get install rabbitmq-server -y
100
Traceback (most recent call last):
  File "cloudgear.py", line 404, in <module>
    install_rabbitmq()
  File "cloudgear.py", line 135, in install_rabbitmq
    execute("apt-get install rabbitmq-server -y", True)
  File "cloudgear.py", line 100, in execute
    raise Exception(output)
Exception

on 
 apt-get install rabbitmq-server -y
removing
root@biomos14:~/cloudgear#  apt-get remove rabbitmq-server
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  erlang-asn1 erlang-base erlang-corba erlang-crypto erlang-diameter
  erlang-edoc erlang-eldap erlang-erl-docgen erlang-eunit erlang-ic
  erlang-inets erlang-mnesia erlang-nox erlang-odbc erlang-os-mon
  erlang-parsetools erlang-percept erlang-public-key erlang-runtime-tools
  erlang-snmp erlang-ssh erlang-ssl erlang-syntax-tools erlang-tools
  erlang-webtool erlang-xmerl libodbc1 libsctp1 lksctp-tools
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
  rabbitmq-server
0 upgraded, 0 newly installed, 1 to remove and 88 not upgraded.
1 not fully installed or removed.
After this operation, 4,867 kB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 80922 files and directories currently installed.)
Removing rabbitmq-server (3.2.4-1) ...
 * Stopping message broker rabbitmq-server                                                                                                        * message broker already stopped
                                                                                
root@biomos14:~/cloudgear# service rabbitmq-server restart
 * Restarting message broker rabbitmq-server                                                                                              [fail]


Name
Service
Host
Status
image-streamproduct-streams10.0.6.110Enabled
novacompute10.0.6.245Enabled
glanceimage10.0.6.42Enabled
keystoneidentity (native backend)10.0.6.206Enabled
quantumnetwork10.0.6.145Enabled
Displaying 5 items

Devstack Procedure

Get some hardware - 1 box required here (i7-5820K 4500MHz, 64G RAM, 256g SSD (raid0 drives not recognized), 2 NICs)
Install Ubuntu 14.04 - http://www.ubuntu.com/download/server
login as: openstack
openstack@138.120.143.140's password:
Welcome to Ubuntu 14.04.3 LTS (GNU/Linux 3.19.0-25-generic x86_64)
* Documentation: https://help.ubuntu.com/
System information as of Tue Dec 22 11:11:28 EST 2015
System load: 1.5 Processes: 222
Usage of /: 0.4% of 202.96GB Users logged in: 0
Memory usage: 0% IP address for em1: 138.120.143.140
Swap usage: 0% IP address for eth0: 138.120.140.185
Login: openstack:mainstreet
openstack@biomos00:~$ ifconfig
em1 Link encap:Ethernet HWaddr f0:79:59:e0:09:c4
inet addr:138.120.143.140 Bcast:138.120.143.255 Mask:255.255.252.0

Configure Networks

get interfaces

openstack@biomos00:~$ ip link show
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: em1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT group default qlen 1000
link/ether f0:79:59:e0:09:c4 brd ff:ff:ff:ff:ff:ff
3: eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
link/ether ec:22:80:a3:49:88 brd ff:ff:ff:ff:ff:ff

enable 2nd interface (eth0)

>sudo vi /etc/network/interfaces
+auto eth0
+iface eth0 inet dhcp

restart networking services

>openstack@biomos00:~$ sudo reboot now
openstack@biomos00:~$ ifconfig
em1 Link encap:Ethernet HWaddr f0:79:59:e0:09:c4
inet addr:138.120.143.140 Bcast:138.120.143.255 Mask:255.255.252.0
eth0 Link encap:Ethernet HWaddr ec:22:80:a3:49:88
inet addr:138.120.140.185 Bcast:138.120.143.255 Mask:255.255.252.0
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0

Verify proxy

openstack@biomos00:~$ vi ~/.bashrc
export no_proxy=localhost,127.0.0.1
export http_proxy=http://global.proxy
export https_proxy=http://global.proxy

openstack@biomos00:~$ sudo vi /etc/apt/apt.conf
[sudo] password for openstack:
Acquire::http::Proxy "http://global.proxy";

update and install git

openstack@biomos00:~$ sudo apt-get update
Fetched 35.7 MB in 26s (1,345 kB/s)
Reading package lists... Done
openstack@biomos00:~$ sudo apt-get install git

get the devstack repo

openstack@biomos00:~$ git clone https://github.com/openstack-dev/devstack
Cloning into 'devstack'...
remote: Counting objects: 31195, done.

Change ownership and permissions


openstack@biomos00:~$ sudo chown -R openstack devstack
openstack@biomos00:~$ sudo chmod 770 devstack
openstack@biomos00:~$ cd devstack
You will get the following inside our firewall because we glock port 9418 for git://
fatal: unable to access 'https://github.com/openstack-dev/devstack/': Received HTTP code 503 from proxy after CONNECT

modify git to use https:// to avoid the firewall

openstack@biomos00:~/devstack$ sudo vi stackrc
#GIT_BASE=${GIT_BASE:-git://git.openstack.org}
GIT_BASE=${GIT_BASE:-https://git.openstack.org}

Install devstack 

use "admin" for all the passwords

openstack@biomos00:~/devstack$ ./stack.sh
Duration 45 min


openstack@biomos300ds:~$ history
    1  sudo apt-get update
    2  sudo apt-get install git
    3  git clone https://git.openstack.org/openstack-dev/devstack
    4  ls
    5  chmod -R 770 devstack
    6  sudo chown -R openstack devstack

   12  cp samples/local.conf .
   13  sudo vi local.conf


SERVICE_TOKEN=azertytoken
ADMIN_PASSWORD=nomoresecrete
DATABASE_PASSWORD=stackdb
RABBIT_PASSWORD=stackqueue
SERVICE_PASSWORD=$ADMIN_PASSWORD

Total Pageviews

Followers