[Rdo-list] liberty - failed to install Neutron

Kaul, Yaniv Yaniv.Kaul at emc.com
Mon Aug 24 10:01:26 UTC 2015


> -----Original Message-----
> From: Ihar Hrachyshka [mailto:ihrachys at redhat.com]
> Sent: Monday, August 24, 2015 10:15 AM
> To: Assaf Muller; Kaul, Yaniv; Jakub Libosvar
> Cc: rdo-list at redhat.com
> Subject: Re: [Rdo-list] liberty - failed to install Neutron
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
> 
> What's the python-alembic version? We probably need to bump it to at least
> 0.8.0 in packaging and in repositories for liberty.
> 
> Ihar

[root at lgdrm996 yum.repos.d]# rpm -q python-alembic 
python-alembic-0.7.4-2.el7.noarch

Y.

> 
> On 08/24/2015 12:30 AM, Assaf Muller wrote:
> > Thanks Yaniv. Adding Jakub and Ihar.
> >
> > On Sun, Aug 23, 2015 at 8:09 AM, Kaul, Yaniv <Yaniv.Kaul at emc.com
> > <mailto:Yaniv.Kaul at emc.com>> wrote:
> >
> > Via packstack - same answer file works well for Kilo (and I believe it
> > did work for me last week or so for Liberty!)____
> >
> > __ __
> >
> > /var/tmp/packstack/20150823-142957-
> FXHwRF/manifests/10.102.42.90_neutr
> on.pp.log
> >
> >
> :____
> >
> > C[mNotice:
> > /Stage[main]/Neutron::Agents::Metadata/Neutron_metadata_agent_config[D
> EFAULT/admin_password]/value:
> >
> >
> value changed '[old secret redacted]' to '[new secret
> > redacted]'ESC[0m____
> >
> > ESC[mNotice:
> > /Stage[main]/Neutron::Agents::Dhcp/Service[neutron-dhcp-service]:
> > Triggered 'refresh' from 2 eventsESC[0m____
> >
> > ESC[mNotice: /Stage[main]/Neutron::Agents::L3/Service[neutron-l3]:
> > Triggered 'refresh' from 2 eventsESC[0m____
> >
> > ESC[mNotice:
> > /Stage[main]/Neutron::Agents::Metadata/Service[neutron-metadata]:
> > Triggered 'refresh' from 4 eventsESC[0m____
> >
> > ESC[mNotice:
> > /Stage[main]/Neutron::Db::Sync/Exec[neutron-db-sync]/returns: No
> > handlers could be found for logger "neutron.quota"ESC[0m____
> >
> > ESC[mNotice:
> > /Stage[main]/Neutron::Db::Sync/Exec[neutron-db-sync]/returns: INFO
> > [alembic.migration] Context impl MySQLImpl.ESC[0m____
> >
> > ESC[mNotice:
> > /Stage[main]/Neutron::Db::Sync/Exec[neutron-db-sync]/returns: INFO
> > [alembic.migration] Will assume non-transactional DDL.ESC[0m____
> >
> > ESC[mNotice:
> > /Stage[main]/Neutron::Db::Sync/Exec[neutron-db-sync]/returns: INFO
> > [alembic.migration] Context impl MySQLImpl.ESC[0m____
> >
> > ESC[mNotice:
> > /Stage[main]/Neutron::Db::Sync/Exec[neutron-db-sync]/returns: INFO
> > [alembic.migration] Will assume non-transactional DDL.ESC[0m____
> >
> > ESC[mNotice:
> > /Stage[main]/Neutron::Db::Sync/Exec[neutron-db-sync]/returns: INFO
> > [alembic.migration] Running upgrade juno -> 44621190bc02,
> > add_uniqueconstraint_ipavailability_rangesESC[0m____
> >
> > ESC[mNotice:
> > /Stage[main]/Neutron::Db::Sync/Exec[neutron-db-sync]/returns:
> > Running upgrade for neutron ...ESC[0m____
> >
> > ESC[mNotice:
> > /Stage[main]/Neutron::Db::Sync/Exec[neutron-db-sync]/returns:
> > Traceback (most recent call last):ESC[0m____
> >
> > ESC[mNotice:
> > /Stage[main]/Neutron::Db::Sync/Exec[neutron-db-sync]/returns:
> > File "/usr/bin/neutron-db-manage", line 10, in <module>ESC[0m____
> >
> > ESC[mNotice:
> > /Stage[main]/Neutron::Db::Sync/Exec[neutron-db-sync]/returns:
> > sys.exit(main())ESC[0m____
> >
> > ESC[mNotice:
> > /Stage[main]/Neutron::Db::Sync/Exec[neutron-db-sync]/returns:
> > File
> > "/usr/lib/python2.7/site-packages/neutron/db/migration/cli.py",
> > line 519, in mainESC[0m____
> >
> > ESC[mNotice:
> > /Stage[main]/Neutron::Db::Sync/Exec[neutron-db-sync]/returns:
> > CONF.command.func(config, CONF.command.name
> > <http://CONF.command.name>)ESC[0m____
> >
> > ESC[mNotice:
> > /Stage[main]/Neutron::Db::Sync/Exec[neutron-db-sync]/returns:
> > File
> > "/usr/lib/python2.7/site-packages/neutron/db/migration/cli.py",
> > line 152, in do_upgradeESC[0m____
> >
> > ESC[mNotice:
> > /Stage[main]/Neutron::Db::Sync/Exec[neutron-db-sync]/returns:
> > do_alembic_command(config, cmd, revision,
> > sql=CONF.command.sql)ESC[0m____
> >
> > ESC[mNotice:
> > /Stage[main]/Neutron::Db::Sync/Exec[neutron-db-sync]/returns:
> > File
> > "/usr/lib/python2.7/site-packages/neutron/db/migration/cli.py",
> > line 106, in do_alembic_commandESC[0m____
> >
> > ESC[mNotice:
> > /Stage[main]/Neutron::Db::Sync/Exec[neutron-db-sync]/returns:
> > getattr(alembic_command, cmd)(config, *args, **kwargs)ESC[0m____
> >
> > ESC[mNotice:
> > /Stage[main]/Neutron::Db::Sync/Exec[neutron-db-sync]/returns:
> > File "/usr/lib/python2.7/site-packages/alembic/command.py", line 165,
> > in upgradeESC[0m____
> >
> > ESC[mNotice:
> > /Stage[main]/Neutron::Db::Sync/Exec[neutron-db-sync]/returns:
> > script.run_env()ESC[0m____
> >
> > ESC[mNotice:
> > /Stage[main]/Neutron::Db::Sync/Exec[neutron-db-sync]/returns:
> > File "/usr/lib/python2.7/site-packages/alembic/script.py", line 382,
> > in run_envESC[0m____
> >
> > ESC[mNotice:
> > /Stage[main]/Neutron::Db::Sync/Exec[neutron-db-sync]/returns:
> > util.load_python_file(self.dir, 'env.py')ESC[0m____
> >
> > ESC[mNotice:
> > /Stage[main]/Neutron::Db::Sync/Exec[neutron-db-sync]/returns:
> > File "/usr/lib/python2.7/site-packages/alembic/util.py", line 242, in
> > load_python_fileESC[0m____
> >
> > ESC[mNotice:
> > /Stage[main]/Neutron::Db::Sync/Exec[neutron-db-sync]/returns:
> > module = load_module_py(module_id, path)ESC[0m____
> >
> > ESC[mNotice:
> > /Stage[main]/Neutron::Db::Sync/Exec[neutron-db-sync]/returns:
> > File "/usr/lib/python2.7/site-packages/alembic/compat.py", line 79, in
> > load_module_pyESC[0m____
> >
> > ESC[mNotice:
> > /Stage[main]/Neutron::Db::Sync/Exec[neutron-db-sync]/returns: mod =
> > imp.load_source(module_id, path, fp)ESC[0m____
> >
> > ESC[mNotice:
> > /Stage[main]/Neutron::Db::Sync/Exec[neutron-db-sync]/returns:
> > File
> > "/usr/lib/python2.7/site-packages/neutron/db/migration/alembic_migrati
> ons/env.py",
> >
> >
> line 126, in <module>ESC[0m____
> >
> > ESC[mNotice:
> > /Stage[main]/Neutron::Db::Sync/Exec[neutron-db-sync]/returns:
> > run_migrations_online()ESC[0m____
> >
> > ESC[mNotice:
> > /Stage[main]/Neutron::Db::Sync/Exec[neutron-db-sync]/returns:
> > File
> > "/usr/lib/python2.7/site-packages/neutron/db/migration/alembic_migrati
> ons/env.py",
> >
> >
> line 117, in run_migrations_onlineESC[0m____
> >
> > ESC[mNotice:
> > /Stage[main]/Neutron::Db::Sync/Exec[neutron-db-sync]/returns:
> > context.run_migrations()ESC[0m____
> >
> > ESC[mNotice:
> > /Stage[main]/Neutron::Db::Sync/Exec[neutron-db-sync]/returns:
> > File "<string>", line 7, in run_migrationsESC[0m____
> >
> > ESC[mNotice:
> > /Stage[main]/Neutron::Db::Sync/Exec[neutron-db-sync]/returns:
> > File "/usr/lib/python2.7/site-packages/alembic/environment.py",
> > line 742, in run_migrationsESC[0m____
> >
> > ESC[mNotice:
> > /Stage[main]/Neutron::Db::Sync/Exec[neutron-db-sync]/returns:
> > self.get_context().run_migrations(**kw)ESC[0m____
> >
> > ESC[mNotice:
> > /Stage[main]/Neutron::Db::Sync/Exec[neutron-db-sync]/returns:
> > File "/usr/lib/python2.7/site-packages/alembic/migration.py", line
> > 305, in run_migrationsESC[0m____
> >
> > ESC[mNotice:
> > /Stage[main]/Neutron::Db::Sync/Exec[neutron-db-sync]/returns:
> > step.migration_fn(**kw)ESC[0m____
> >
> > ESC[mNotice:
> > /Stage[main]/Neutron::Db::Sync/Exec[neutron-db-sync]/returns:
> > File
> > "/usr/lib/python2.7/site-packages/neutron/db/migration/alembic_migrati
> ons/versions/44621190bc02_add_uniqueconstraint_ipavailability_ranges.py"
> ,
> >
> >
> line 40, in upgradeESC[0m____
> >
> > ESC[mNotice:
> > /Stage[main]/Neutron::Db::Sync/Exec[neutron-db-sync]/returns:
> > columns=['first_ip', 'allocation_pool_id']ESC[0m____
> >
> > ESC[mNotice:
> > /Stage[main]/Neutron::Db::Sync/Exec[neutron-db-sync]/returns:
> > TypeError: create_unique_constraint() takes at least 3 arguments
> > (0 given)ESC[0m____
> >
> > ESC[1;31mError:
> > /Stage[main]/Neutron::Db::Sync/Exec[neutron-db-sync]: Failed to call
> > refresh: neutron-db-manage --config-file /etc/neutron/neutron.conf
> > --config-file /etc/neutron/plugin.ini upgrade head returned 1 instead
> > of one of [0]ESC[0m____
> >
> > ESC[1;31mError:
> > /Stage[main]/Neutron::Db::Sync/Exec[neutron-db-sync]:
> > neutron-db-manage --config-file /etc/neutron/neutron.conf
> > --config-file /etc/neutron/plugin.ini upgrade head returned 1 instead
> > of one of [0]ESC[0m____
> >
> > __ __
> >
> > __ __
> >
> > __ __
> >
> > [root at lgdrm996 yum.repos.d]# cat rdo-testing.repo ____
> >
> > [openstack-kilo-testing]____
> >
> > name=OpenStack Kilo Testing____
> >
> > baseurl=http://repos.fedorapeople.org/repos/openstack/openstack-kilo/t
> esting/el7/____
> >
> >  skip_if_unavailable=0____
> >
> > gpgcheck=0____
> >
> > enabled=0____
> >
> > [root at lgdrm996 yum.repos.d]# cat rdo-release.repo ____
> >
> > [openstack-kilo]____
> >
> > name=OpenStack Kilo Repository____
> >
> > baseurl=http://repos.fedorapeople.org/repos/openstack/openstack-kilo/e
> l7/____
> >
> >  skip_if_unavailable=0____
> >
> > enabled=1____
> >
> > gpgcheck=1____
> >
> > gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-RDO-kilo____
> >
> > [root at lgdrm996 yum.repos.d]# cat delorean.repo ____
> >
> > [delorean]____
> >
> > name=delorean-openstack-cinder-
> f6dafdaa2423cc50d0bbf1f376626e240ce1a76
> 1____
> >
> >
> > baseurl=http://trunk.rdoproject.org/centos7/f6/da/f6dafdaa2423cc50d0bb
> f1f376626e240ce1a761_1bcc81bc____
> >
> >  enabled=1____
> >
> > gpgcheck=0____
> >
> >
> > _______________________________________________ Rdo-list mailing list
> > Rdo-list at redhat.com <mailto:Rdo-list at redhat.com>
> > https://www.redhat.com/mailman/listinfo/rdo-list
> >
> > To unsubscribe: rdo-list-unsubscribe at redhat.com
> > <mailto:rdo-list-unsubscribe at redhat.com>
> >
> >
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2
> 
> iQEcBAEBCAAGBQJV2sRhAAoJEC5aWaUY1u57ONYIALnvGkOa/ALHwNU+BiyCR
> 31K
> 27L/RGLOWLoAWUmUCagOgvO5ljUi40eBSJSpNjHDlixj85ouPnhTXitB7Ionxl+t
> OctXEqToYWSE8yv2IpwVNkyChhLE3MY690IAzHXxslnR/T8BGjYwn7ALwvj0El4n
> TsnSAD18itlcjo2HZOwJ1Em9UcIiVDMdTfOt6nr24FdUY3gzI2jFP3FOOeVNxxHU
> oPKnjt1JjGgia0wf4UZJvTMdDuVQaJ249i1ohl9Er9Kt7RfDnIioMVWaj9D11LZ7
> jylZamdBdGLiCrbutxqfQDGx1l5QuiLYEvyW6Iw5KTwNtd4ly4IyUwjN9o7kZrk=
> =Fg73
> -----END PGP SIGNATURE-----




More information about the dev mailing list