Bug 622017
Summary: | on-premises import error: PropertyValueException: no t-null property references a null or transient value | ||||||
---|---|---|---|---|---|---|---|
Product: | [Community] Candlepin | Reporter: | wes hayutin <whayutin> | ||||
Component: | candlepin | Assignee: | Devan Goodwin <dgoodwin> | ||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Katello QA List <katello-qa-list> | ||||
Severity: | high | Docs Contact: | |||||
Priority: | high | ||||||
Version: | 0.5 | CC: | kbanerje | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Solaris | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2019-09-24 14:17:33 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 621850 | ||||||
Attachments: |
|
Description
wes hayutin
2010-08-06 18:59:44 UTC
Fixed in candlepin.git: c0097097378fb196708a2561c5d2726f2b13d2f0 This fix is only required for the "downstream" Candlepin server, so technically this can be tested before a full re-deploy is done in the QA environment, you just need to update the git source for your downstream CP and re-deploy. [root@localhost ~]# export FORCECERT="" [root@localhost ~]# export IMPORTDIR="" [root@localhost ~]# export GENDB=1 [root@localhost ~]# ls anaconda-ks.cfg entitlement_integration candlepin export.zip candlepin-upstream-ca.crt install.log cert-gen install.log.syslog CERTS subscription-manager cp.conf subscription-manager-0.68-1.el6.i686.rpm cp_product_utils TEST_CERTS diff.txt [root@localhost ~]# cp candlepin-upstream-ca.crt /etc/candlepin/certs/ candlepin-ca.crt candlepin-upstream-ca.crt candlepin-ca.key keystore candlepin-ca-password.txt old/ candlepin-ca-pub.key [root@localhost ~]# cp candlepin-upstream-ca.crt /etc/candlepin/certs/ cp: overwrite `/etc/candlepin/certs/candlepin-upstream-ca.crt'? y cp: cannot create regular file `/etc/candlepin/certs/candlepin-upstream-ca.crt': Permission denied [root@localhost ~]# md5sum /etc/candlepin/certs/candlepin-upstream-ca.crt de5ef50453a48a53524aff9bb9af2fcd /etc/candlepin/certs/candlepin-upstream-ca.crt [root@localhost ~]# Backing up current server.xml ... Updating tomcat configuration in /etc/tomcat6... done! Starting tomcat6: [ OK ] Initializing Candlepin... Initialized! XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX Please point IMPORTDIR to the location of the product data XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX [root@localhost proxy]# [root@localhost src]# ./subscription-manager-cli register --username=xeops --pass=redhat --type=candlepin 0185848b-79c5-474f-a2a6-f829f6cae429 xeops [root@localhost src]# ./subscription-manager-cli list --available 0185848b-79c5-474f-a2a6-f829f6cae429 +-------------------------------------------+ Available Subscriptions +-------------------------------------------+ ProductName: Red Hat Enterprise Linux Advanced Platform, Premium (Unlimited Sockets) w/ 24 x 7 Phone/Web Support ProductId: SYS0373 PoolId: 608 Quantity: 11 Expires: 2011-08-01 ProductName: Red Hat Enterprise Linux Advanced Platform, Standard (Unlimited Sockets) ProductId: SYS0372 PoolId: 609 Quantity: 1 Expires: 2010-12-31 ProductName: JBoss jBPM Framework (for up to 4 CPUs), Premium (w/ 24 x 7 Phone/Web Support) ProductId: SYS0415 PoolId: 610 Quantity: 1 Expires: 2012-02-05 ProductName: Red Hat Enterprise Linux Advanced Platform, Standard (Unlimited Sockets) ProductId: SYS0372 PoolId: 611 Quantity: 0 Expires: 2010-12-31 ProductName: RHN Provisioning + Management ProductId: SYS0081 PoolId: 612 Quantity: 0 Expires: 2010-12-31 ProductName: Red Hat Desktop Extension Pack ProductId: MCT0475 PoolId: 613 Quantity: 50 Expires: 2011-07-13 [root@localhost src]# ./subscription-manager-cli subscribe --pool=608 [root@localhost src]# ./subscription-manager-cli subscribe --pool=609 --pool=610 [root@localhost src]# ls /etc/pki/entitlement/product/ 1643(1).pem 1643.pem 1644.pem 1645.pem [root@localhost src]# unzip -t /tmp/export810.zip Archive: /tmp/export810.zip signed Candlepin export for 0185848b-79c5-474f-a2a6-f829f6cae429 testing: consumer_export.zip OK testing: signature OK No errors detected in compressed data of /tmp/export810.zip. [root@localhost src]# [root@localhost src]# unzip /tmp/consumer_export.zip Archive: /tmp/consumer_export.zip Candlepin export for 07fe3019-092a-4679-87c7-5953374ead74 inflating: export/consumer.json inflating: export/entitlement_certificates/1378.pem inflating: export/entitlement_certificates/1380.pem inflating: export/entitlement_certificates/1379.pem inflating: export/entitlements/595.json inflating: export/entitlements/594.json inflating: export/entitlements/593.json inflating: export/meta.json inflating: export/products/22.json inflating: export/products/29.json inflating: export/products/28.json inflating: export/products/SYS0373.json inflating: export/products/SYS0415.json inflating: export/products/SYS0372.json inflating: export/rules/rules.js inflating: export/consumer_types/system.json inflating: export/consumer_types/person.json inflating: export/consumer_types/candlepin.json inflating: export/consumer_types/domain.json [root@localhost src]# [root@localhost tmp]# curl -u admin:admin -k -F export= https://localhost:8443/candlepin/owners/1/import [root@localhost tmp]# su - postgress Created attachment 437878 [details]
catalina.out
Group move of VERIFIED Candlepin component bugs to RELEASE_PENDING |